User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Jan 22, 2014 12:14 pm

Ah, good to see it's working now. Thanks for the feedback, good to know those settings also effect synchronisation.
my Raspberry Pi page: http://raspberry.gerrelt.nl

MaximumG
Posts: 2
Joined: Sun Jan 26, 2014 10:49 pm

Re: Squeezelite up and running on Raspian Wheezy Hard Float

Sun Jan 26, 2014 10:59 pm

raymonvdm wrote:You really saved my day :D

I was struggling with this for several days (since rebooting and apt-get upgrade) and now it it fixed adding -a 80 which was not needed in the past.

Yes, me too! I think this would be worth inserting in the instructions. Seems like a common problem that may have cropped up as a result of a change to Raspbian (https://code.google.com/p/squeezelite/i ... tail?id=28).

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Mon Jan 27, 2014 7:54 pm

I've added it to the instructions, thanks for the feedback!
my Raspberry Pi page: http://raspberry.gerrelt.nl

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Tue Jan 28, 2014 8:09 pm

highwillo wrote:Hi, I stumbled upon the same problem about the auto booting. raspbmc uses upstart...
I've now included the upstart instructions for RaspBMC in the tutorial. thank you for your help, highwillo!
my Raspberry Pi page: http://raspberry.gerrelt.nl

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 05, 2014 12:24 pm

I have made a webpage for this tutorial, see: http://www.gerrelt.nl/RaspberryPi/wordp ... -raspbian/
I will try to add the changes to both this topic and the webpage, until it becomes too much work..

Please post questions here in this topic, and not in the comment section on the site.
my Raspberry Pi page: http://raspberry.gerrelt.nl

ikke4
Posts: 27
Joined: Thu Jan 02, 2014 4:18 pm

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 05, 2014 4:50 pm

Hi Gerrelt,

i'm new to this forum and have searched all over for my quest to make de RPI a media server for mij logitech ue smart radio... will squeezelite do? can i use squeezelite as a mediaserver for the ue smart radio..

i hope to hear from you..

greetingz Jochem

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 05, 2014 5:40 pm

Hi Jochem,

I am not really sure. The UE smart radio is the successor of the Squeezebox, and Squeezelite is a software version of the Squeezebox.
But, after a bit of googling I think it will work. But you would have to register your Logitech Media Server on logitech's website http://mysqueezebox.com.
As I said, I am not 100% sure..

But if you want to install the LMS server on your raspberry, you should use the Allthingspi tutorial:
http://allthingspi.webspace.virginmedia.com/lms.php
(stop at "Squeezeslave" you don't need it because you have a UE smart radio)

Or use my tutorial (that uses the allthingspi turorial):

http://www.gerrelt.nl/RaspberryPi/wordp ... r-for-bbq/

Or you could use Squeezeplug:

http://www.raspberrypi.org/phpBB3/viewt ... 35&t=66023

If you do it, you can also install squeezelite on the Raspberry, and have a second radio. But, I believe, you cannot synchronize it with the UE Smart radio.

Greetings,
Gerrelt.
my Raspberry Pi page: http://raspberry.gerrelt.nl

User avatar
Keeze
Posts: 11
Joined: Sun Aug 18, 2013 2:23 pm
Location: Netherlands

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 05, 2014 5:50 pm

ikke4 wrote:Hi Gerrelt,

i'm new to this forum and have searched all over for my quest to make de RPI a media server for mij logitech ue smart radio... will squeezelite do? can i use squeezelite as a mediaserver for the ue smart radio..

i hope to hear from you..

greetingz Jochem
Hi Jochem,

Squeezelite is a Squeezebox client, not the serverpart of the squeezebox ecosystem. You need Logitech Media Server / LMS / Squeezeboxserver for that purpose, which can be found here: http://www.mysqueezebox.com/download

Note that when you want to use Squeezebox server with your Ultimate Ears Radio you have to upgrade the UE to support squeezebox while out of the box it only supports Logitech UE Music Library afaik. Check: http://www.uesmartradio.com/public/migration

Cheers,
Kees

User avatar
Keeze
Posts: 11
Joined: Sun Aug 18, 2013 2:23 pm
Location: Netherlands

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 05, 2014 5:57 pm

Gerrelt wrote:I have made a webpage for this tutorial, see: http://www.gerrelt.nl/RaspberryPi/wordp ... -raspbian/
I will try to add the changes to both this topic and the webpage, until it becomes too much work..

Please post questions here in this topic, and not in the comment section on the site.
Hi Gerrelt,

Great tutorial. I have used it several times already! I made one addition (a symbolic link to the Squeezelite executable for easy use). I made a small blogpost (Dutch) with an exerpt of your manual with a link to this forumarticle. May I reffer it to your personal blogpost?

Great work!

Cheers,
Kees

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 05, 2014 6:09 pm

@Keeze: thanks for your reply, I missed that he confused squeezelite with the LMS server.

@Jochem: Listen like Keeze said, squeezelite is the software version of the Squeezebox player, the server is called LMS server.
my Raspberry Pi page: http://raspberry.gerrelt.nl

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 05, 2014 6:10 pm

Keeze wrote: Great tutorial. I have used it several times already! I made one addition (a symbolic link to the Squeezelite executable for easy use). I made a small blogpost (Dutch) with an exerpt of your manual with a link to this forumarticle. May I reffer it to your personal blogpost?
Thanx Kees! Yes, of course you may reffer, no problem. 8-)
my Raspberry Pi page: http://raspberry.gerrelt.nl

ikke4
Posts: 27
Joined: Thu Jan 02, 2014 4:18 pm

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Thu Feb 06, 2014 9:44 am

Gerrelt wrote:@Keeze: thanks for your reply, I missed that he confused squeezelite with the LMS server.

@Jochem: Listen like Keeze said, squeezelite is the software version of the Squeezebox player, the server is called LMS server.
Big thanx guys, i'll look it up...

greetingz Ikke

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Sat Feb 15, 2014 12:33 pm

To everybody that is having problems starting squeezelite at startup, run this:

Code: Select all

sudo apt-get remove -y wolfram-engine
cd /etc/init.d
sudo update-rc.d squeezelite defaults
It will remove the faulty wolfram-engine (mathkernel) package and add the squeezelite script to startup.
This is also added to the tutorial.
my Raspberry Pi page: http://raspberry.gerrelt.nl

Michielo
Posts: 19
Joined: Fri Sep 13, 2013 7:20 pm

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 19, 2014 10:47 am

Hi Gerrelt,

Just a small remark on the RPI squeezelite tutorial website you made (which is great by the way).

Where you state "Internet radio, MP3′s and I believe even Spotify is possible", you can leave out the "I believe". I can confirm that Spotify does work if you use Triode's plugin (not the official Logitech Spotify plugin which needs to be uninstalled) and a premium subscription (not sure if it also works with free/limited membership now that Spotify has also opened those for use with smartphone/tablet).

Spotify has been running on my RPI and feeding 3 RPI Squeezelite players for several months without any issues and remote controlling using Ipeng IOS app. However, you need to be mindful of

(1) changing the helper app port when using RaspBMC. My standard port had a conflict with one of the ports used by XBMC.
(2) No support for offline listening.
(3) No support for playing Spotify playlists. You can create your own local playlists with Spotify music, but you cannot use those created by others and hosted on Spotify (at least I have not found a way to do this).

Just wanted to let you know.

Kind regards,

Michielo

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 19, 2014 9:04 pm

Hi Michielo,

Thank you for your feedback!! 8-)

I have added it as a note to the tutorial, see:
http://www.gerrelt.nl/RaspberryPi/wordp ... ng_Spotify

If you don't want me to mention your forum name or link to your message, just say so. And I will remove it.

Greetings,
Gerrelt.
my Raspberry Pi page: http://raspberry.gerrelt.nl

Michielo
Posts: 19
Joined: Fri Sep 13, 2013 7:20 pm

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Wed Feb 19, 2014 9:21 pm

Hi Gerrelt,
That's fine and happy I could contribute.
Regards,
Michielo

foxpi
Posts: 15
Joined: Sun Apr 21, 2013 4:55 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Thu Mar 06, 2014 7:01 pm

hi and thanks for the tutorials on squeezeslave on raspbian and picoreplayer. I especially like the picoreplayer web interface. Is it possible to use the interface to manipulate multiple instances of squeezelite on one pi. For examplpe one pi with multiple dac in a usb hub that play music to seperate rooms.
Also what about using the webinterface on raspbian.
Thanks.

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Thu Mar 06, 2014 7:20 pm

Hi foxpi,

Thank you, but the credits for the piCore player all go to forum user sbp. He created the piCore player and its web interface, see topic:
http://www.raspberrypi.org/phpBB3/viewt ... 35&t=29539
So you should ask this question in that topic, I am sure he can help you.

Greetings,
Gerrelt.
my Raspberry Pi page: http://raspberry.gerrelt.nl


foxpi
Posts: 15
Joined: Sun Apr 21, 2013 4:55 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Sun Mar 09, 2014 5:16 pm

I wanted my squeezelite to tell the server that its powering off before it stops the service and that its on when it powers up. I added this to the init script but it requires netcat to be installed...

Code: Select all

SB_SERVER_IP="127.0.0.1"
SB_SERVER_CLI_PORT="9090"
#        Note: if this is not set, Squeezelite will use auto discovery to find
#              the LMS server, which works fine too but will have issues sending cli commands.
...
# send the power on command
    printf "$SL_MAC_ADDRESS power 1\nexit\n" | nc $SB_SERVER_IP $SB_SERVER_CLI_PORT > /dev/null
...
#send the power off command
    printf "$SL_MAC_ADDRESS power 0\nexit\n" | nc $SB_SERVER_IP $SB_SERVER_CLI_PORT > /dev/null
I did this because I wanted it to pause at stop and resume on start (the resume on power on is set in the server settings)

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Mon Mar 10, 2014 12:16 pm

Hi Foxpi,

Great! I will have a look at it and maybe add it to the squeezelite script.
But I will have to explore netcat first.

Thanks for sharing!

Greetings,
Gerrelt.
Last edited by Gerrelt on Sun Mar 16, 2014 4:22 pm, edited 1 time in total.
my Raspberry Pi page: http://raspberry.gerrelt.nl

donat
Posts: 2
Joined: Sun Mar 16, 2014 9:02 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Sun Mar 16, 2014 9:51 am

Hi Gerrelt,

Great tutorial. Listening to my SqueezePi right now, loving it! Thanks a lot for putting all this together.

For other people's benefit, I am running:
- LMS 7.8 Beta on QNAP Turbostation 4.1 Beta
- Squeezelite on Raspbian with linux kernel 3.10.25+ #622.
- Default RPi line-out to my amp.
- TPLink WN725N V2 Wifi dongle (this one's a bit of a pain, but there's a great tutorial here: http://www.fars-robotics.net/)

I noticed a couple of things in your tutorial:

1. All other executables have permissions 755 (-rwxr-xr-x), so I think your chmod lines should be a+x instead of u+x (might work fine either way, but I went with a+x for consistency). It might be even safer to use

Code: Select all

sudo chmod 755 ExeName
2. When you mention reboots, you use the command "sudo shutdown -h now" as far as I know, that wouldn't restart the Pi after shutdown? You could use "sudo reboot"

3. On your website, the code paragraphs turn out a bit garbled, they are not breaking lines properly.

4. My wpa_supplicant.conf looks a bit simpler than yours and it works fine (most of the WPA authentication parameters can be detected automatically):

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="Your-Network-Name"
    psk="Your-Network-Password"
}
Hope this helps! Thanks again for the tutorial, and the startup script.

Donat

User avatar
Gerrelt
Posts: 294
Joined: Sat Nov 10, 2012 9:01 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Sun Mar 16, 2014 4:04 pm

Hi donat,

Thank you very much for you feedback! It's really appreciated. I've changed the tutorial on my webpage with the suggestions you made.
I've also removed the tutorial in the first post, and replaced it with a link to the webpage. This way I don't have to keep the two turorials in sync.
donat wrote: 1. All other executables have permissions 755 (-rwxr-xr-x), so I think your chmod lines should be a+x instead of u+x (might work fine either way, but I went with a+x for consistency). It might be even safer to use
Sounds good. I've changed it to "a+x" because I find that format easier to read, somehow I just cannot get used to using these permission numbers.. :)
donat wrote: 2. When you mention reboots, you use the command "sudo shutdown -h now" as far as I know, that wouldn't restart the Pi after shutdown? You could use "sudo reboot"
Ah, I just tested, yes that now works on Raspbian too. I think that didn't work in the earlier versions of Raspbian.
BTW, I think you misread the command, it read "sudo shutdonw -r now" (an r instead of h). Using that command is the same as doing "sudo reboot".
I didn't change it in the part about the cronjobs, because I don't know if it will work from a cronjob. I will have to test that (on Raspbian and Raspbmc).
donat wrote: 3. On your website, the code paragraphs turn out a bit garbled, they are not breaking lines properly.
:evil: Yeah...that happens sometimes. That is some kind of bug in Wordpress, very annoying. When saving a page it sometimes does that. But I've corrected it again, thanks for mentioning it!
donat wrote: 4. My wpa_supplicant.conf looks a bit simpler than yours and it works fine (most of the WPA authentication parameters can be detected automatically):
I've changed it in the turoial, but I haven't tested it. I have used it that on piCore, where it worked without problems, and if it works for you, it should work for everybody.

Again, thanks for your feedback, and have fun with your SqueezePi!
(I have typed this while listening to the SqeezePi's too 8-) , they are used on a daily basis)

Greetings,
Gerrelt.
my Raspberry Pi page: http://raspberry.gerrelt.nl

donat
Posts: 2
Joined: Sun Mar 16, 2014 9:02 am

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Sun Mar 16, 2014 6:18 pm

oh yes indeed, I'm so used to typing shutdown -h now!

thanks for taking my comments onboard, and thanks again for the tutorial!

hagensieker
Posts: 41
Joined: Thu Mar 13, 2014 7:45 pm

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Mon Mar 17, 2014 8:13 am

Great tutorial. I really love the Squeezebox emulation. Bought a squeezebox radio a few years ago and loved the concept so much I leapt at the opportunity to make my own on an R Pi. I used Squeezeplug as well for quite a while both versions 6 and 7.

If anybody wants to go another route I've made a tutorial to install Squeezelite, and LogitechMediaServer on Arch Linux. It's been up for 3 days now so I can confirm it is solid.

http://www.hagensieker.com/styled-29/index.html

Return to “Graphics, sound and multimedia”