(2012-12-06, 18:34)StefanK Wrote: I know I was supposed to try running squeezeslave separately - but - Can either of you tell me exactly how to execute the run squeezeslave command in RPI Openelec / putty? I keep getting "unknown command".
Thanks for any help, I am still on a steep learning curve...
Hi Stefan
You'll need to change directory to where the squeezeslave binary is (in your addons/script.xsqueeze directory, but you'll have to find that as it varies depending on your distro). Then once in there you run it as ./squeezeslave-version -commands, basically. The
squeezeslave wiki is useful. You're getting command not found at the moment because the squeezeslave binary isn't in the searched path for executables...hence you needing to move tot he right place, then use ./squeezesalve to tell it to run the local binary.
@
nigma2k
Can you post your entire log via pastebin (log snippets are actually against the forum rules here!).
Can you try running the same command from the command line and seeing what output you get:
/home/xbmc/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-376-lnx26/squeezeslave-lnx26-1.2-376', '-m00:00:00:00:00:02', '-o10', 'media.home'
(without the quotes on the args).
My guess is this is yet another python process open issue - that's the messy cross platform stuff. I have tested on OsX and Openeelc and they both work, but I don't have anything to put xbmcuntu on....
If you know any Python I can point you at where it will be going wrong for you to muck about... basically it's lines 266 to 276 of default.py:
Code:
log ("Attempting to start Squeezelave: " + str(exe))
try:
#need this to stop windows opening a console window
if constants.SYSTEM.startswith("win"):
slaveProcess = subprocess.Popen(exe, creationflags=0x08000000, shell=False)
else:
slaveProcess = subprocess.Popen(exe, shell=False)
except Exception as inst:
log("Failed creating squeezeslave process", inst)
notify(LANGUAGE(19610),LANGUAGE(19611))
cleanup(andexit=True)
Another thing to try - can you manually telnet to media.home:9090 and issue LMS CLI commands?
I don't think there is a general ubuntu issue, I presume others are using it on that platform, but I don't know for sure..........anyone?