[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 - LARQ - 2012-07-25 Great script. Thanks. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - tcdiem - 2012-07-29 First of all .. really thanks for this plugin .. but I've run into some issues I would like to listen to music from both my living room and office/studio at the same time, so I don't need to crank up the volume of one of the sides to listen on the other (not neighbor friendly). Often I work from home and would like to roam around keeping the music flowing . 0. I have noticed that (for whatever reason) squeezeslave -L doesn't list my HDMI output, but xbmc (nightly with AE) lists it on system->settings->audio. I was running squeezeslave under X with the same user as the X user (same as I start xbmc normally). 1. I couldn't get any audio to playback, using the skin from your repository, I can connect to the server, the current playing music information comes up but on the server, the music progress is ticking but on the xbmc screen its not. Same happened with xbmc running on windows and linux . From that point, I've tried to run squeezeslave on the cmdline. 2. cmdline works flawlessly .. which would kinda serve my purposes (since I would have to control via the logitech media server and not possible to simply work from the xbmc "music" thing), then I'm not sure if the remaining of my issues is related with this thread, although I'm using the squeezeslave application that is distributed via xqueeze. 3. on Raspberry PI (running openelec build 11674) I have the following error when trying to run squeezeslave : Code: root ~/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-311-armel-lnx26 # ./squeezeslave -m00:00:00:02:03:04 192.168.192.8 Do you have any idea regarding the rPI issue or any suggestion (or how can I get more info) for why the xbmc plugin apparently doesn't play ? Just as a note to someone looking for a solution similar to "my problem" - multiroom audio : As mentioned, the syncronization isn't suitable for same room environments, didn't spend time investigating the reasons, but the audio sometimes starts syncronized and drift slightly away, sometimes catches up, sometimes not .. but although the difference was always something under 0.2s, on extreme, it makes a bit uncomfortable if you can hear both streams well. In my case i have a corridor between both rooms, so if the volume is on a nice level and you can't hear well on the corridor, you don't notice it. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-07-29 0. This is because of aggressive AE behaviour - it exclusively locks the audio device, even when xbmc itself is not playing audio, when it should release it (at least when media isn't playing and GUI sounds are off) - Disable exclusive mode. I am presuming this is your issue, that's what happens with Frodo on Windows, I haven't tried with Linux yet myself. Nothing mych I can do about it, I have raised the issue several times with teh AE people but no response yet. I presume that before release they will tidy this up and as release gets closer I will certainly push hard for this as this will cause a LOT of issues without outside-of-xbmc behaviour. 1. see 0 - this has absolutely zero to do with skins, of course. All Xsqueeze does is launch an external player via python but just as if it is from the command line. You can check the actual command line statement used in the xbmc.log file, and of course with the extra switches setting in XSqueeze you can basically do any command line you like. 2. I presume you mean it works from the commandline when XBMC isn't running - see 0 3. I haven't done much with the Pi myself - Paul Webster in this thread seems bit of an expert. But my guess is OE Pi does not include the required alsa stuff. It works moderately ok with Raspbmc, but alsa on the Pi is thoroughy alpha quality so far. 4. Sync - Are you actually measuring this somehow? I've not heard anything that feels like 200 ms of difference...but if you're mixing different platforms with distinctly different architectures, then I am not that surprised. There are controls in both squeezeslave and LMS you can explore to improve things. But yeah, as I said, it's basically fine for room to room sync, but in room sync you'd really want identical systems and even then with software players it's basically impossible for it to be perfect....because there are buffers involved. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - tcdiem - 2012-07-29 (2012-07-29, 07:10)bossanova808 Wrote: 0. This is because of aggressive AE behaviour - it exclusively locks the audio device, even when xbmc itself is not playing audio, when it should release it (at least when media isn't playing and GUI sounds are off) - Disable exclusive mode. I am presuming this is your issue, that's what happens with Frodo on Windows, I haven't tried with Linux yet myself. Nothing mych I can do about it, I have raised the issue several times with teh AE people but no response yet. I presume that before release they will tidy this up and as release gets closer I will certainly push hard for this as this will cause a LOT of issues without outside-of-xbmc behaviour. I kinda understand that AE is using exclusive lock, since this is the same from few years back (and multiple platforms, not linux only) to do audio passthrough ... I was trying to see if there's a way to play into AE but apparently that isn't possible, not in a overnight hack (2012-07-29, 07:10)bossanova808 Wrote: 3. I haven't done much with the Pi myself - Paul Webster in this thread seems bit of an expert. But my guess is OE Pi does not include the required alsa stuff. It works moderately ok with Raspbmc, but alsa on the Pi is thoroughy alpha quality so far.Not sure if you are aware that in http://code.google.com/p/squeezeslave/downloads/list there's also the armhf binaries available (not only armel). Most currently builds of OpenELEC, raspbian and so on uses the hardfloat opposed to armel. Since I've trashed already my openelec SD card to install raspbian, I cannot test it on openelec. At least on raspbian squeezeslave works flawlessly (well .. apart from some random lockups ). Regarding sync, no bulletproof way of measuring it, if a music is about 120-140 bpm, its one beat per 0.5s. If the audio is out of sync for approximately half a beat, I've guessed its close to 0.2s. Now that I've got squeezeslave to work on raspberry pi, I will try to use and and comment later on my experience. If it works nicely, I will try to setup some build environment for xbmc and its libraries for the rpi, which might take a bit long to build. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-07-30 Exclusive lock is fine - but not when you're not playing audio and gui sounds are off (well, if you ask me) - hogging the audio device even when not playing back will definitely make XBMC less friendly on a lot of platforms where XBMC isn't the only thing being used....so I still presume they will look at this.... But no, no audio is done via XBMC/AE. You could just hand off the stream that LMS provides I guess, but it wouldn't overall work nearly as well. The general point of this is reasonable syncing (otherwise you'd jsut use the XBMC music system, right) - and Squeezeslave is the best way to do that. I have seen the stuff about the Pi & hardfloat but don't really know anything about it - those squeezeslave builds only just recently went up - honestly I can't be bothered right now until someone actually produces a fairly ready-to-go release. The code is on googlecode, though, so you can certainly do a pull request for Pi stuff if you fancy fixing it up...but once there is a fairly solid release, I will probably look at it again depending on my real-world schedule...which is a bit nuts lately. Experiencing issues with XSqueeze on Raspbmc - nijk - 2012-08-23 I was hoping that someone might be able to help me out here. I'm trying to get Xsqueeze working on my RaspBMC install. I've installed the Xsqueeze Add-on on three different RaspBMC installs on different SD cards. On each I have the same problem: When I run the add-on I get the message 'Failed to create Squeezeslave process' it then provides a message about chmod +x the binaries I have chmod'ed the binaries which has made no difference (in fact I believe that they already had the correct permissions as the xbmc.log file suggests this) I have tried to execute the 1.2-311-armel-lnx26 squeezeslave binary with sudo ./squeezeslave but I receive the message 'sudo: unable to execute ./squeezeslave: No such file or directory' I have also tried to install squeezeslave manually on the Raspberry Pi and encountered the same issues. It feels as though I've missed an important step somewhere along the way. I am happy to provide my log file should that be of any help. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-08-24 I think I need to put the new hard float binary in there for you as the Raspberry platforms have moved to this format I think. In the meantime if you copy this in place of the other, it should work I'd say. I haven't had much time lately but I'll try and look at this soon. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - nijk - 2012-08-24 Thanks for the amazingly fast response I'm not sure what you meant by "In the meantime if you copy this in place of the other, it should work I'd say." One thing I did notice was that I am able to execute the oss-static version, from which I get can find my server <code>sudo ./squeezeslave-oss-static -I</code> However I am still having issues with most other commands, using server IP or the flag -L all result in: PortAudio error4: Host error. Could not open any audio devices. RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-08-24 I mean use this hard float binary instead of the included one: https://code.google.com/p/squeezeslave/downloads/list (direct link is http://squeezeslave.googlecode.com/files/squeezeslave-1.2-367-armhf-lnx31.tar.gz ) For more general squeezslave questions, I am not really the person to ask - I'd ask here : http://forums.slimdevices.com/showthread.php?93607 You also need alsa to be set up, see back a bit in this thread for Paul Webster's notes on that. (and honestly I have plugged my Pi in once and got super bored super quick I am afraid - might be a while before I have motivation to re-visit...) RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - illiac4 - 2012-08-24 Hi! I'm building XBMC support for O2 Joggler. This is touch screen device. Is it possible to add button to view the player something like original player has so that the users can directly use buttons on the screen to naviagate? RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-08-24 Code up a window.xml and it should be possible. Look in the addon skin folder to start you off, but jsut add buttons and call appropriate things I guess...what buttons do you mean? RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - illiac4 - 2012-08-24 Something like this: http://www.whathifi.com/forum/computer-based-music/o2-joggler-perfect-squeezebox-touch-alternative-and-tablet-pc http://www.google.si/imgres?um=1&hl=sl&client=firefox-a&sa=N&rls=org.mozilla:en-US:official&biw=1645&bih=878&tbm=isch&tbnid=TmmrJXABZG3wIM:&imgrefurl=http://www.avforums.com/forums/home-cinema-building-diy/1598455-new-house-build-media-room.html&docid=LFSvqVg6H9XFEM&imgurl=http://www.avforums.com/forums/attachments/home-cinema-building-diy/298138d1331214598-new-house-build-media-room-squeeze1.jpg&w=980&h=735&ei=hSA3UIzxAtSO4gTrkoGIBg&zoom=1&iact=hc&vpx=1345&vpy=257&dur=410&hovh=194&hovw=259&tx=175&ty=131&sig=113983998767413588184&page=2&tbnh=159&tbnw=215&start=24&ndsp=33&ved=1t:429,r:25,s:24 RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-08-24 Yeah that's emulating a Touch unit - if you fancy hooking up all the Lua stuff, good luck to you Short version is no, not quite like that. But some basic touch buttons would in theory be possible....I dunno when I will have time to work on it though, and I don't ever use XBMC on touch devices really...I do have an iPad but I never use it, it was a gift. I find it pretty annoying to be honest RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - illiac4 - 2012-08-24 Ok tnx. If and when you have time it will be nice. I have looked into post of original developer of SqueezePlay and he hates Lua too and uses just skin. http://www.jogglerwiki.com/forum/viewtopic.php?t=533#p9025 RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - illiac4 - 2012-08-24 I have tested you player and it works really good from iPad and running on Joggler. Also iPad finds them instantly as soon as the plugin is started. It is fast and responsive. It works also from android Logitech Squeezebox controller However it would be nice to have on screen buttons. ATM it is impossible to exit the plugin because there is no x on screen |