Runs Spotify that can be controlled by external systems. Works also for free accounts.
260
This container allows you to run spotify on a server and control it from external clients.
It makes spotify-connect unnecessary, without making it impossible. It can solve the following problems:
Suppose you want to run spotify on a server called 'spot' listening on tcp/12345 for clients that want to control it:
docker run -d --device /dev/snd:/dev/snd -p 12345:10000 \
-v /dev/shm:/dev/shm --name remote-spotify garo/remote-spotify
Wait a couple of seconds for everything to start...
You can now use xpra on a client to connect to it with: xpra attach tcp:spot:12345
Spotify will be visible on the client, but all audio will played on the server.
The environment variable XPRA_PORT is 10000 by default but can be changed to make xpra listen to another port.
You can also use this to run spotify locally in a container:
docker run -d --net host -e DISPLAY=$DISPLAY --device /dev/snd \
-v /dev/shm:/dev/shm -v $HOME/.Xauthority:/root/.Xauthority \
--name local-spotify garo/remote-spotify spotify
Want to improve this (bugfixes, extra features, ...) ?
Fork this repository on GitHub instead of cloning it, I and other users might be interested in your changes !
Content type
Image
Digest
Size
298.4 MB
Last updated
about 7 years ago
docker pull garo/remote-spotify