Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to Install Logitech Media Server (lms) in Debian VM

Featured Replies

I installed Ironicbadger's owncloud Debian VM image available here: http://lime-technology.com/forum/index.php?topic=31880.0

 

Use the 'xl console' and log in to your VM.

 

You can't use the Debian instructions to install lms from the squeezeserver website because they are out of date.

 

Follow this procedure to install lms:

Edit the /etc/apt/sources.list using the nano editor and add the following line to access the lms repository:

deb http://debian.slimdevices.com stable main

 

apt-get update

 

apt-get install logitechmediaserver

 

lms is installed at: /usr/share/squeezeboxserver

 

lms data: /var/lib/squeezeboxserver

 

lms preferences are at: /var/lib/squeezeboxserver/prefs

 

Make a directory for your playlists:

cd /var/lib/squeezeboxserver

mkdir playlists

 

lms will be started whenever your VM boots up.

 

If you need to start/stop lms:

/etc/init.d/logitechmediacenter stop

/etc/init.d/logitechmediacenter start

 

That's it.  Now access your VM using the ip address from the 'ip addr' command.  e.g. http://192.168.1.125:9000

 

You will log in and configure lms.

 

If you want access to your unRAID shares, you'll need to edit the /etc/fstab on the VM and add entries:

//192.168.1.10/Music  /mnt/Music  cifs username=****,password=****,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm,_netdev,noatime 0 0

 

To mount shares:

mkdir /mnt/Music

mount -a

 

You'll need a fixed IP address on your unRAID server because the share has to be accessed by IP address, not the "Tower" name.

 

This fstab entry is if your share is password protected.  If the share is not password protected, you can access the share as public.

 

More instructions on how the shares are mounted is on the owncloud VM post.

 

Your shares will be mounted whenever the VM is booted.

 

Is this a 64bit debian install? which version of debian?

 

You may find you need to add multiarch support  (https://wiki.debian.org/Multiarch/HOWTO) and certain ia32 packages to get a fully working install going. As far as I remember, a plain 64bit jessie install ends up with the wrong versions of certain libs (faad particularly, possibly also sox) used which means transcoding fails. This is most noticeable on internet radio streams but it will depend exactly what you use it for.

  • Author

Is this a 64bit debian install? which version of debian?

 

You may find you need to add multiarch support  (https://wiki.debian.org/Multiarch/HOWTO) and certain ia32 packages to get a fully working install going. As far as I remember, a plain 64bit jessie install ends up with the wrong versions of certain libs (faad particularly, possibly also sox) used which means transcoding fails. This is most noticeable on internet radio streams but it will depend exactly what you use it for.

 

Ironicbadgers DebianVM owncloud image is 64 bit.  Wheezy Version 7.4.

what do you get if you run faad (from the cli)? something like this

 

$ faad -help
*********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

Patched for Squeezebox Server:
* ALAC decoder integrated
* Seeking support with -j and -e switches
* STDIN support
* Source at http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/faad2

 

or something like this

 

$ faad -help
*********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

Build: Oct 24 2013
Copyright 2002-2004: Ahead Software AG
hxxp://www.audiocoding.com
Floating point version

  • Author

what do you get if you run faad (from the cli)? something like this

 

$ faad -help
*********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

Patched for Squeezebox Server:
* ALAC decoder integrated
* Seeking support with -j and -e switches
* STDIN support
* Source at http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/faad2

 

or something like this

 

$ faad -help
*********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

Build: Oct 24 2013
Copyright 2002-2004: Ahead Software AG
hxxp://www.audiocoding.com
Floating point version

 

Neither.  faad command not found.

  • Author

what do you get if you run faad (from the cli)? something like this

 

$ faad -help
*********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

Patched for Squeezebox Server:
* ALAC decoder integrated
* Seeking support with -j and -e switches
* STDIN support
* Source at http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/faad2

 

or something like this

 

$ faad -help
*********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

Build: Oct 24 2013
Copyright 2002-2004: Ahead Software AG
hxxp://www.audiocoding.com
Floating point version

 

I installed it and got this - second one.

 

EDIT: I tried Internet radio and it works fine for me.  Not sure what capability faad adds that I might be missing.

faad is used for aac transcoding IIRC so you need to hit particular stations.

 

LMS ships patched versions of a few binaries like that so using packaged ones means stuff like that doesn't work, faad will have been available locally as it is shipped as part of LMS, I imagine it just is not on your path.

 

Anyway the point is that a vanilla install of LMS on a 64 bit debian is not a completely working LMS setup. I think all that is required is adding multiarch and installing ia32-libs. I would argue that makes it more suitable for a separate vm appliance but then I'm not doing the work :)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.