Forum

Full Version: Logitech Media Server - how to install?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello! Smile

I own one old Raspberry Pi Model B 512MB RAM with 8 GB class 10 SD card with latest Xbian (+ 500 GB usb hdd) so I thought maybe it is possibility to install LMS to the same RPi as I have two Squeezeboxes: Classic and Radio I need for them Logitech Media Server (LMS, formerly SlimServer, SqueezeCenter and Squeezebox Server) Smile I try to check this. Big Grin My Linux knowledge is really poor so I needed help of those sites:

http://allthingspi.webspace.virginmedia.com/lms.php
http://raspberry-at-home.com/logitech-media-server/
http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-stand-alone-squeezebox-server-and-player-for-bbq/
http://forums.slimdevices.com/showthread.php?100485-Raspberry-Pi-LMS-December-2013-Best-Approach&p=764247&viewfull=1#post764247

Here is Logitech MediaServer nightly: http://downloads.slimdevices.com/nightly/?ver=7.9
and here is LMS latest stable: http://downloads.slimdevices.com/LogitechMediaServer_v7.7.5/

Dunno how, but hey - finally I did it. It worked! Smile (BTW I choose latest stable 7.7.5 version; nightly could be better I guess.)
Well - there was problems with samba and write permissions (couldn't upload to hdd from Win) + problems with wrong time (I installed ntpdate package to manually Wink update time). But those are small glitches - hope easy to fix later... Smile

I dunno about all those dependencies, pythons versions, tmp files, updates, nightlies etc etc so IMHO it was made really dirt and for sure not how it should be made in perfect linux world. Smile So... Could you please write small tutorial how to do this proper and clean way?
BTW: maybe LMS could some day be additional package to install, within Xbian menu?
Please help - I want to install latest XBIAN + my hdd + latest LMS from scratch. Smile

Thanks you very much for best, fast and simply wonderful Xbian, your support and your time!
Regards!
there is this SqueezePlug
have you tried it? says its very simple to install and set. its all done from web GUI
(27th Feb, 2015 10:55 PM)rikardo1979 Wrote: [ -> ]there is this SqueezePlug
have you tried it? says its very simple to install and set. its all done from web GUI

Thanks for suggestion!
Yup! I used it for year or so, it is great! Unf. there was no XBMC/Kodi which i wanted to start using. (It is now as add-on in newest version: SqueezePlug/Max2Play. Just when I start looking for alternative! Wink IMHO in my case it would be better to have powerful and optimised video system like Xbian/Kodi + LMS than great audio system with pure Kodi. Notice I am not using soft squeeze player, USB hi-fi card (drivers!) etc - LMS is just serving music (and favourites).
sure Wink it was just mine suggestion and nice to hear you would like to step into this and take the harder way Wink
I wish you a good luck and I am sure you find some support here from our community
If I understand correctly, your trying to add LMS to Xbian similar to Airplay - to stream your music over the network to a squeezebox?

I see a number of problems.
1) The debian releases are designed for Raspbian not Xbian. They are different.
2) Unless someone owns a squeezebox, it's going to be difficult to actually test.
3) I think this is also a legacy item, so it is unlikely to be included in any further releases.
4) How are you going to control it within Xbian?

However, you say you have got it working.

So to be able to assist, we need to know in detail what you did - commands etc, the error codes and detail logs of the problems.

If there is more than one problem, then list it, with the command used to execute it, the output from the command and the resulting problem.

With that bit of information, we may be able to assist you further..
OK - I'll try to explain what I've done:

First with Windows installer I installed "latest XBian" on 8GB sd card => XBian 20150224-2.

than...

Terminal
sudo apt-get update && sudo apt-get dist-upgrade

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for xbian:
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://apt2.xbian.org stable Release.gpg
Hit http://apt2.xbian.org stable Release
Hit http://apt2.xbian.org stable/main armhf Packages
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_US
Hit http://apt2.xbian.org stable/rpi-wheezy armhf Packages
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://apt2.xbian.org stable/main Translation-en_US
Ign http://apt2.xbian.org stable/main Translation-en
Ign http://apt2.xbian.org stable/rpi-wheezy Translation-en_US
Ign http://apt2.xbian.org stable/rpi-wheezy Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

than (it is newest LMS nightly version: 125.35 MB from February 27 2015 13:25):

downloading with wget:

Terminal

It took quite long time - but I was patient...

Terminal
sudo dpkg -i logitechmediaserver_7.9.0~1425041484_all.deb
Selecting previously unselected package logitechmediaserver.
(Reading database ... 24328 files and directories currently installed.)
Unpacking logitechmediaserver (from logitechmediaserver_7.9.0~1425041484_all.deb) ...
Setting up logitechmediaserver (7.9.0~1425041484) ...
Adding system user `squeezeboxserver' (UID 107) ...
Adding new user `squeezeboxserver' (UID 107) with group `nogroup' ...
Not creating home directory `/usr/share/squeezeboxserver'.
Making sure that Logitech Media Server is not running first: No process in pidfile '/var/run/logitechmediaserver.pid' found running; none killed.
Starting Logitech Media Server.

Surfed to 192.168.xxx.xxx:9000 on my PC browser and did the typical LMS frontweb configuration steps...
MP3, FLAC files play just fine on my Squeezebox Radio!
So? What do you think about such installation? "new user `squeezeboxserver' (UID 107) with group `nogroup'" ...? Is that OK? What could I check for you about this installation? Looks like all works as should!


(28th Feb, 2015 03:16 AM)IriDium Wrote: [ -> ]If I understand correctly, your trying to add LMS to Xbian similar to Airplay - to stream your music over the network to a squeezebox?

Never used Airplay...
http://en.wikipedia.org/wiki/Logitech_Media_Server

(28th Feb, 2015 03:16 AM)IriDium Wrote: [ -> ]I see a number of problems.
1) The debian releases are designed for Raspbian not Xbian. They are different.
2) Unless someone owns a squeezebox, it's going to be difficult to actually test.
3) I think this is also a legacy item, so it is unlikely to be included in any further releases.
4) How are you going to control it within Xbian?

1) - looks like it is somehow universal - I know almost nothing bout linux... Sad
2) - it can be tested even without Logitech Squeezebox hardware. There are few full working software emulators (NB - can be used on Raspberry Pi as well):
http://code.google.com/p/squeezelite/
http://softsqueeze.sourceforge.net/
3) what do you mean?
4) Nope - it is not needed. I can control/setup it with its own web frontend at 9000 port.
LMS just exist/run on same RPi. (Sharing with Xbian/Kodi USB hdd only). That's all.
Reference URL's