Announcement

Collapse
No announcement yet.

LMS in docker with spotify

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    LMS in docker with spotify

    I've fought a bit with this so I thought I might as well make a post of it.

    I run debian testing on my server which often brings the latest and greatest stuff. Sometimes stuff breaks. A few days ago debian testing got perl 5.24 and from what I can tell LMS isn't there yet. This isn't the first time LMS stopped working from a system upgrade so I got the bright idea of running it in a container. I tried a few ready made containers and they all seemed to work, except for the spotify helper app. Fast-forward a few hours: The spotify app doesn't seem to like NATs very much. Dockers "bridge" networking is a NAT.

    With docker 1.12 there is a new macvlan network type that works.

    Instructions and image at:
    <post below?>

    #2
    Link:

    Comment


      #3
      LMS in docker with spotify

      It's a licensing issue. Streaming decoded Spotify to another network is definitely in "strictly forbidden" regime
      ---
      learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
      Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
      at penguinlovesmusic.com
      New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

      Comment


        #4
        Thank you for this image. As I new to docker, I'm having a little difficulty in getting it running. This is the command line I am running:
        docker run -d -u `id -u squeezeboxserver` -p 9000:9000 -p 9090:9090 -p 3483:3483 -p 3483:3483/udp -v /etc/localtime:/etc/localtime:ro -v <host config dir>:/srv/squeezebox -v <host music dir>:/srv/music sndcr/squeezeboxserver:latest

        1. -u Do i need to create a user "squeezeboxserver"?
        2. What should I put in for <host config dir>, <host music dir>? Is this the path to the directory or just a name? /srv/squeezebox and /srv/music both exist.
        3. You have sndcr/squeezeboxserver:latest - I presume this should be sndcr/logitech-media-server:latest?
        4. To create the bridge network, my network is 192.168.16.0/24 and the docker server is 192.168.16.19 - do I use the .19 as the --gateway?

        Thanks!

        Comment


          #5
          I'm running LMS in docker with spotify for a couple of months without a problem.

          I created this docker also with support for airplay. https://hub.docker.com/r/snoopy86/logitechmediaserver/

          Comment


            #6
            Originally posted by snoopy86 View Post
            I'm running LMS in docker with spotify for a couple of months without a problem.

            I created this docker also with support for airplay. https://hub.docker.com/r/snoopy86/logitechmediaserver/
            Are you using the default spotify, or the 3rd party one (which allows for multiple accounts?)

            Comment


              #7
              Official one.

              Comment

              Working...
              X