[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC (/showthread.php?tid=122199)
- pkscuot - 2012-03-08 15:52
bossanova808 Wrote:Ok platform detection OSX works, but apparently I still can't start a process on that platform...grrr...
I made the following changes to constants.py:
Added stat module:
Then on line 173 I changed the chmod stuff to:
os.chmod(EXE, stat.S_IRWXU | stat.S_IRGRP | stat.S_IXGRP | stat.S_IROTH | stat.S_IXOTH)
At least on my OSX machine that properly sets the bits to rwxr-xr-x and lets XSqueeze run without manually changing anything.
P.S. I don't know if this was you or me, but my included skin file doesn't have the 720p directory. Without it you both have to rename the folder and move the XSqueezeNowPlaying.xml file into a newly created 720p directory in the skin directory.
- bossanova808 - 2012-03-09 01:12
hmm, the chmodding was actually working ok for me...or at least, reporting success (i.e. not raising an exception). Are you saying with the above chmod it all works?
It was actually the call for squeezeslave to POpen that was failing for me. I used to use call(), and I think that worked - it's just I need to grab the output when detecting audio outputs/servers....so maybe I can change it back to call for running main()
..but if it's jsut a wierd chmod thing that would be better. You could actually play music on the Mac with just those changes?
- bossanova808 - 2012-03-09 01:19
Good point re: skin file, I have put it in a 720p folder now.
- bossanova808 - 2012-03-09 01:26
hmmm thinking about that more, I found os.chmod failed on various flavours of linux so I moved to os.system...
I really need to sort out my mac setup...
- pkscuot - 2012-03-09 03:46
bossanova808 Wrote:hmm, the chmodding was actually working ok for me...or at least, reporting success (i.e. not raising an exception). Are you saying with the above chmod it all works?
With this change I can launch XSqueeze and then play stuff with no other manual changes. With the code as shipped the OSX executable was still showing rw-r--r-- even after I tried to launch XSqueeze. So python might not have been throwing an exception, but it definitely wasn't doing the chmod. That's probably why the POpen was failing.
I find with both OSX and Windows I sometimes have to try two or three different python way of doing things before I find one that works on all platforms.
- bossanova808 - 2012-03-09 03:53
hmmm ok I will have to to different chmods for different systems then, I think, but that's no biggie I guess.
Thanks again - the weird errors coming back from POpen were not giving me much of a clue the chmod was failing and I am most of the time working blind on the Mac side of things....
Does the server discovery bit work as well? I am guessing it will...
RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - nikolai - 2012-03-12 19:58
Hello and thank you for your addon
I have the problem that squeezeslave will not start, nor out of Ubuntu, when I go into the addon folder / resources / bin / squeezeslave-XXXXX / squeezeslave SYSTEM directory I get the message "Command not found"
Do any of you have an idea for what my problem may be.
P.S. For me to see, the XBMC not made any error log, so that's why I did not attach any
RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-13 00:49
XBMC *always* makes a log, you just need to find it - http://wiki.xbmc.org/index.php?title=Log_file - and then post it (pastebin.com). XBMC won't start without access to the log file....
Can you actually see the binary in that folder /addon/resources/bin/squeezeslave-version-lnx26/ ? Maybe something went wrong with the addon extraction??
RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - sdsnyr94 - 2012-03-13 15:04
When you are getting the "Command not found" message, are you just typing "squeezeslave-xxx"? If so, try:
You should get no errors... actually you will get no response at all... but that would mean it's functional.
Also, from within Xsqueeze, did you go through the setup and select your LMS system? And did you remember to hit "OK", and not just the back button after you change your settings. (It will not save your settings unless you choose OK)
RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - SparkyHT - 2012-03-17 01:05
I can't seem to install it in Crystalbuntu. I go to addons>program addons>XSqueeze, select "install" and the download/install never begins. I rebooted after installing the repo. Not sure what else I can do.