Installing Squeezeslave
Posted: Mon Jan 18, 2010 1:30 pm
by sc4s2cg
ETA: for results and conclusions, including workaround, please post 4 on this page.
Hello,
I am attempting to install squeezeslave on Fedora 12, in order to be able to control sqeezebox with the itouch. Squeezeslave is an alternative to softsqueeze for Linux.
I am using this thread to document, hopefully somebody will be able to help when I get stuck.
The download link to squeezeslave is here
http://sourceforge.net/projects/softsqu ... ve-0.9.95/
[*]I was unable to figure out how to install the files. There are no installation instructions or .install/.make files.
Instructions for installing squeezeslave can be found here:
http://wiki.slimdevices.com/index.php/S ... ical_build
[*]After following the Typical build instructions, the following error came back upon running make -f makefile.linux26-alsa
[*]lm
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make: *** [bin/squeezeslave] Error 1
[*]The entire log (as much as was saved on the Terminal screen) can be found here:
http://paste.amahi.org/m4143a266
If anyone has any experience, this newbie would love some help.

Re: Installing Squeezeslave
Posted: Tue Jan 19, 2010 7:17 am
by sc4s2cg
Update:
Installation was a success...for a while.
Despite the error, I was able to control my songs via the iTouch through the server. The iPeng app actually detected squeezeslave and was able to play. This worked last night too, and now until just 5 minutes ago. Now, it tells me that the player could not be found.
I'm wondering why and how squeezeslave turned off....
Re: Installing Squeezeslave
Posted: Tue Jan 19, 2010 7:58 am
by sc4s2cg
Squeezeslave is functioning once more...although I'm not sure what I did to make it work so..
So I'll list everything I did:
- I reinstalled using the wiki above. That didn't seem to help much, player still couldn't be found.
- I logged in as root, physically through the GUI, and double clicked on all the files I downloaded from SourceForge yesterday (link above). Double clicking did nothing, at least no windows or anything popped up, but the I tried iPeng again and can control the music again.
I assume it's because I logged in as root, not because of double clicking. But we'll see through the test of time.
ETA: 5 minutes after logging out of root squeezeslave "Player could not be found" in iPeng on iTouch. Testing root theory now.
Re: Installing Squeezeslave
Posted: Tue Jan 19, 2010 8:05 am
by sc4s2cg
After logging in to root, player still couldn't be found.
Double clicked as above, and it could, although I'm suspecting this is just coincidence. Although squeezeslave was found, no music played. 2 minutes later it couldn't be found again.
Edit 1: it crashed again. Player could not be found. I narrowed the options down to whenever I play a radio station, it crashes. So no streaming of radio stations on Fedora via squeezeslave, although streaming radio on the laptop via softsqueeze and squeezecenter is fine. Playing music by itself (not via radio stream, but actual music files in the music folder) seems to be fine...
Edit 2: I'll copy paste what I posted in live chat, the results of a tiny test:
[10:13] <Peti3> Testing. Playing a music file (A Fine Frenzy) and then Juventusz Radio.
[10:14] <Peti3> Juventusz wouldn't produce sound, didn't work.
[10:15] <Peti3> After clicking Slager Radio, squeezeslave immediately couldn't be found.
[10:16] <Peti3> Funny, after restarting squeezeslave again (by dbl clicking) Slager Radio worked...maybe Juventusz file is corrupt?
Timing how long Slager Radio will play, switching to Danubiusz in 5 minutes, then Juventusz.
Edit 3: Further test results:
[10:18] <Peti3> Slager seems fine, switching to Danubiusz in 5 min.
[10:23] <Peti3> Switching to Danubiusz, Slager was perfect, no crashes so far
[10:24] <Peti3> Danubiusz crashed immediately
[10:25] <Peti3> Restarted squeezeslave, Danubiusz works fine...
Edit 4: More testing, conclusion:
[10:34] <Peti3_> Switching to Slager.
[10:35] <Peti3_> Crashed.
[10:35] <Peti3_> Restarting, Going to try Juventusz this time
[10:38] <Peti3_> Juventusz had no sound...
[10:39] <Peti3_> So I found too bandages: skip Juventusz and do not switch between radio stations. To restart squeezeslave, you have to double click "squeezeslave-lnx26" file (once everything is extracted from the SourceForge link above).
Edit 4: Final-final, accidentally found out that if sound stops after Juventusz, and we clear the playlist on iPeng, then go back into the Slager station sound comes. Before, after Juventusz, all sound stops. Even if I go straight to a tangible music file on the server, it won't play sound. So just clear the playlist and your good to go.
See below for Final Conclusions and other final info.
Re: Installing Squeezeslave
Posted: Tue Jan 19, 2010 9:27 am
by sc4s2cg
Decided to make this a new post for better readability. That way people won't give up when they see the long post above.
Final conclusion + bugs: (for today at least, have a class in 2 hours, don't know when I'll have time to fool around again)
- Whatever you do, if squeezeslave is installed on Fedora 12, do not attempt to play Juventusz Radio via iPeng app on the iTouch. It will just crash squeezeslave
- If you do play Juventusz, and all sound disappears but squeezeslave is still working, clear the playlist in iPeng and play a new song. Sound should work.
- AFAIK, switching between radio stations is a no-no, it crashes squeezeslave. Many times immediately.
- Music files on the server itself should be functioning correctly, at least the ones I have. Don't have time to check what file types were played as of now.
- Installing squeezeslave will not enable SqueezeBox server to stream music onto a separate PC/Laptop. It is strictly to play music on the server itself. So it is a music player. Advantages: able to control music via the iPeng app on the iPod Touch.
- Installing squeezeslave will not disable SqueezeBox server to stream musin onto a separate PC/Laptop. As long as you have SqueezePlay installed on your windows/mac machine, you can stream music (and radio) without issues to your device and have the music be played on the speakers of the device. If you want to play something through http://squeeze, you will need SqueezePlay. In the top right hand, select SqueezePlay (or whatever you named your device). To be able to control squeezeslave via the iPod Touch *or* the http://squeeze link, select "squeezeslave" in the top right hand corner at the link and "squeezeslave" in the iPod Touch. That will play the music on the server, and whatever speaker(s)/Receivers are connected.
Final notes:
- Juventusz Radio file type is unknown to me, but here is the exact linkfor anyone interested (downloaded via Squeezebox Server, there is a Radio button there. This is the radio that didn't work.)
- Danubiusz Radio file type is a .mp3.m3u stream file (got this file from online, downloaded it myself)
- Slager Radio gile type is also unknown to me, but here is the exact link for anyone interested (downloaded via Squeezebox Server, there is a Radio button there. This is the radio that didn't work.)
- You must be logged in on the server itself, that is via the login GUI in Fedora 12, for squeezeslave to work. If you log out, make sure that you "switch user" or "lock screen" instead.
Good luck to anyone venturing out into the world of squeezeslave, let me know how it goes. I might come back to fiddle around and search the web, but being a newbie this will take a while. That along with college, etc. may prevent me. So feel free to take over.
