[ARCHIVED - WON'T UPDATE] XSqueeze - Squeezebox player for XBMC - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [ARCHIVED - WON'T UPDATE] XSqueeze - Squeezebox player for XBMC (/showthread.php?tid=122199) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - mark3206 - 2016-11-27 Hi, I'll be upfront. I'm new to Xsqueeze and LMS but I do have LMS working with 3 other non-kodi players. I've got an RPi3 with with an addon sound card (hifiberry digi+) and a fresh install of libreELEC/kodi. Its taken quite a number of hours to get to the point where I have xsqueezelite working from the command line (with exactly the same parameters that XSqueeze suggested in the debug log). But unfortunately I can't get XSqueeze working correctly from the Confluence Skin. If I add a delay in the troubleshooting screen for the player startup, xsqueezelite starts up and sound comes through, however once the delay has been reached, it shuts down. If I look at the debug log I see: Code: 22:09:22 98.385109 T:1756435360 DEBUG: ### XSqueeze - 1.2.4 ### Connected to: 00:00:00:00:00:01 I have:
I've run out of steam tonight so would really appreciate any pointers if someone has seen this issue before, and apologies in advance if this is a common problem with a simple/obvious answer. The full debug log can be found at https://paste.ubuntu.com/23542468/ Thanks RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-11-28 @mark3206 Well that's an odd one - your playlist from the server is not returning track durations its seems. Are you playing something odd? Maybe try with local music if you haven't (e..g you're using radio/streaming). That's really weird though, I've can't recall ever seeing an issue there from anyone else. Ok I have created a possible fix - you need to replace player.py in script.module.XSqueezeCommon/lib/pylms with this one: http://pastebin.com/fRCEhj6z ...that will just use 0.0 as a dummy value if no duration comes back. Can you test it and let me know? RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-11-28 @NickW Wiki now updated, thanks! RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - nick w - 2016-11-28 Super. Great work! RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - mark3206 - 2016-11-28 Hi, bossanova808 wrote: > Well that's an odd one - your playlist from the server is not returning track durations its seems. Are you playing something odd? Maybe try with local music if you haven't (e..g you're using radio/streaming). That's really weird though, I've can't recall ever seeing an issue there from anyone else. I'm playing local music and there is nothing weird with the music :-) > Ok I have created a possible fix - you need to replace player.py in script.module.XSqueezeCommon/lib/pylms with this one: http://pastebin.com/fRCEhj6z > > ...that will just use 0.0 as a dummy value if no duration comes back. > > Can you test it and let me know? Yeh, your fix worked. After a few seconds the player screen came up and filled in the LHS correctly with track, artist etc and all the track durations etc. Got nothing on the RHS of the player screen but that may be my LMS or XSqueeze config? Anyway, I'm smiling. Thanks very much. I will try setting up a different LMS server and I'll restore your original code to see if that makes a difference, but I probably can't get to that until the weekend. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - mark3206 - 2016-12-03 I've setup up a second LMS and tried connecting to it with the the original code and then the "fix" code. The original code didn't work but the "fix" code did. The LMS servers have both been running the latest nightly builds, the first was a Windows machine and the second was a pi2 running raspbian. I haven't yet tried a second kodi. I might give that a go tomorrow. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - streampunk - 2016-12-13 Hello everybody, I'm relatively new to Kodi, but already got the fever. I come from piCoreplayer where LMS and Squeezelite player reside on the same machine. So I tried to achieve this with Kodi on a Raspi 3 with the latest LibreElec, too, using XSqueeze (thanks so much for this plugin, Bossanova!) and LMS inside Docker. Before, I used Kodi/XSqueeze with the LMS running on another Raspi in my network. In spite of beeing rather a Linux noob, I was pretty successful and got LMS running inside Docker on the Kodi machine. LMS scans the media folder, and I can connect to it from other machines and apps (iPeng...). My problem is, however, that after changing the LMS server to the local machine, XSqueeze won't start any longer, claiming that it can't connect to the server. When configuring XSqueeze using LMS auto discovery, libreelec2-service is found and the IP of the machine running Kodi/Xsqueeze and the Docker LMS is filled in correctly. I've also tried using 127.0.0.1 instead, but the problem is the same. LMS is running: Code: LibreELEC2:~ # docker ps Code: 23:05:09 16973.787109 T:1787556768 NOTICE: ### XSqueeze - 1.2.4 ### XSqueeze (Author: bossanova808) Starting ... Code: [Unit] I'm not sure whether this might be a question of rights/owners conflicts between Kodi/XSqueeze and the Docker image and, even worse: if so, I'd have no clue on how to fix it. So I was hoping that Bossanova could give me a helping hand...? I've read in this thread that sb. has achieved it, but unfortunately he didn't say how... Best regards Martin RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - streampunk - 2016-12-13 hmmm, I think I found the error - --publish=9090:9090 was missing. Can't check it as I'm not @Home at the moment, but at least Kodi (incl. XSqueeze autostart) now reboots without errors. Will report this evening Regards Martin RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - streampunk - 2016-12-13 Well, it wasn't the solution, even if Xsqueeze started once without complaining. But after rebooting the Raspi, everything stays the same as described in my post above... Any idea what I could try? RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-12-14 Hmmm, I don't really know anything about Docker. Main thing is XSqueeze uses the old CLI for it's connection, so you just need to check that ports etc are open for that. The default port for that is 9090. You also need to make sure that 9000 is open IIRC, and some kodi services can stomp on that. BTW I would use 7.9 if you can...lots of fixes since the 7.8 days... RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-12-14 @mark3206 Well something is odd or different about your setup vs. the normal, as it's well tested and if the fix works it's your server not returning a duration at at least one point when it should. The RHS is basically an embedded artist.slideshow so you need that addon running successfully for that to show up. I'm kinda hesitant to push a fix no one else seems to need, without understanding it better. I'll try updating my LMS to the very latest nightly at home and trying it there...but it's worked for years this way, so seems a bit odd/random. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - streampunk - 2016-12-14 (2016-12-14, 04:44)bossanova808 Wrote: Hmmm, I don't really know anything about Docker. Main thing is XSqueeze uses the old CLI for it's connection, so you just need to check that ports etc are open for that.It seems that there is quite a bunch of problems which are difficult to trace down (at least for me):
Regards Martin RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - streampunk - 2016-12-17 Hi, I'm trying to get Squeezelite audio to my bluetooth speaker. System sounds and sound from other Kodi sources (e.g. Mediathek videos) are already working. And I'm sure that a couple of weeks ago when I first installed Libreelec with Xsqueeze, I had BT audo working for Squeezelite, too. I remember that in the Xsqueeze settings, when selecting audio device discovery, Bluetooth was scrolling along with the Alsa devices. As far as I understand, for using BT with Xsqueeze you have to achieve some kind of Alsa<> PulseAudio bridge. But I wasn't able to find information on how to achieve this. Has anybody achieved this (and if so, how?) Best regards Martin RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-12-17 @streampunk - My advice is to drop to the commandline and get it working manually there with squeezelite. Then transfer the same settings back to XSqueeze... RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - streampunk - 2016-12-23 Well, if've been trying for many hours during the last days, and I can fully confirm what can be read in many forums: trying to get Bluetooth audio to work (aka "The blue circle of hell") seems fairly impossible at this moment. I've seen the will of so many brave (and experienced) men broken that I've decided to give up until sb. with much better knowledge of Debian/Raspi finds a solution and is willing to share it. While Bluetooth audio does work with all (?) other Kodi apps, it seems virtually impossible to get it working with XSqueeze. The reasons seems to be that "BlueZ 5 dropped support for alsa [1], so the solution for now (until someone updates some bluez-alsa project for BlueZ 5) is to use PulseAudio." (from https://github.com/ev3dev/ev3dev/issues/198). And XSqueeze needs, as far as I understand, that the Bluetooth device shows up as an Alsa device. I have to admit that I didn't manage to get Bluetooth to work with Squeezelite at command line level either, inspite of a correct pairing an connecting. As a round up, I invested 10 Euros in Max2Play's extended version because I wanted to se the working Bluetooth solution for the integrated Squeezelite player they claim to have. But not even the scanning of available Bluetooth devices is working until now, ending up with a dry advice "Use BluetoothCTL Manager". If anybody has some advice or is willing to share experiences, please let me know. As BT audio (pulseaudio) does work with Kodi Video, Music etc. in Libreelec, there should be a way. Best regards Martin |