Sign inSign up

ulikoenig/subsonic_patched

By ulikoenig

•Updated over 10 years ago

Latest Subsonic patched Premium with Sonos Support. Build from git. Ubuntu 14.04

Image
1

1.3K

ulikoenig/subsonic_patched repository overview

⁠subsonic-patched

Subsonic Source patched by Eugene E. Kashpureff Jr.⁠ It contains the Subsonic⁠ sources⁠ with some patches. e.g. Premium status⁠ is enabled by default without limits.

Warning: Build takes some Time and will download a lot of Data.

⁠Build Container

docker build -t ulikoenig/subsonic-patch https://raw.githubusercontent.com/ulikoenig/subsonic-patched/master/Dockerfile

⁠Run Container

$ docker run -d --net=host -p 4040:4040 -p 9412:9412 -v /var/lib/subsonic:/data:rw -v /mnt/harddrive/Medien:/Medien:ro  ulikoenig/subsonic-patch

I used /var/lib/subsonic as storage for the subsonic local database. So I can destroy the container and rebuild it without loosing the configuration an media database.

My media is stored in /mnt/harddrive/Medien.

Please change this paths how you like it.

The Parameter "--net=host" is important to give subsonic access to the real external IP. Without this, Sonos support will not work, even if ports are open, because subsonic tells Sonos to make calls to 172.xx.xx.xx IP-adresses.

The Parameter "--e LOCALIP=172.1.2.3" can be used to set the IP manually, when the docker container is started.

⁠Finally:

Open a Browser with http://YOUIPADDRESS:4040⁠

⁠[Optional] Setup Subsonic on Sonos Device

Open http://SONOS_IP:1400/customsd.htm in a browser.
  • Enter the following values in the web form:
  • SID – Any legal value EXCEPT 242. e.g. 243
  • Service Name – Any name, for instance "Subsonic Remote"
  • Endpoint URL – http://SUBSONIC_IP:4040/ws/Sonos?ip=SUBSONIC_IP
  • Secure Endpoint URL – http://SUBSONIC_IP:4040/ws/Sonos?ip=SUBSONIC_IP
  • Polling Interval – 1200
  • Authentication – Session ID
  • Strings Table – Version: 5, URI: http://SUBSONIC_IP:4040/sonos/strings.xml
  • Presentation Map – Version: 1, URI: http://SUBSONIC_IP:4040/sonos/presentationMap.xml
  • Container Type – Music Service
  • Capabilities – Search, Favorites, Extended Metadata

Source: http://www.subsonic.org/pages/sonos.jsp⁠

Tag summary

Content type

Image

Digest

sha256:7e7b7c2c8…

Size

393.6 MB

Last updated

over 10 years ago

docker pull ulikoenig/subsonic_patched