Page 1 of 1

play queue problem

PostPosted: Thu Dec 10, 2015 3:50 am
by Jägs
I use a reverse proxy to access Subsonic via my Apache server (localhost:8080 to /music). This has worked for years, but after the last Subsonic update, for some reason the local IP and port number are being used when playing the queue externally (via an m3u in VLC):

#EXTM3U
#EXTINF:239,Nick Lowe - Christmas At The Airport (Uncovered)
http://10.0.1.2:8080/music/stream?playe ... uffix=.mp3

Here's what my reverse proxy looks like:

# Reverse-proxy deluge server into main server space

#ProxyRequests off
ProxyPass /music http://127.0.0.1:8080/music
ProxyPassReverse /music http://127.0.0.1:8080/music

<Location /music>
Order allow,deny
Allow from all
#SSLCipherSuite HIGH:MEDIUM
#SSLRequireSSL
#AuthName "BorkaBorkaBork"
#AuthType Basic
#AuthUserFile /etc/httpd/conf.d/htpasswd
#Require valid-user
</Location>

Under Settings -> Network, I set the custom URL option to my dynamic domain, but even then, it keeps the port in the M3U, which doesn't work:

#EXTM3U
#EXTINF:239,Nick Lowe - Christmas At The Airport (Uncovered)
http://mydomain.org:8080/music/stream?p ... uffix=.mp3

Any idea what is going on here?

Re: play queue problem

PostPosted: Sat Dec 12, 2015 4:37 am
by Jägs
It is definitely due to a change in 5.3. Here's how I confirmed this:

- I moved /var/subsonic to a temporary location
- ran dpkg -r subsonic
- downloaded the previous version (http://downloads.sourceforge.net/projec ... ineservers)
- installed that, leaving /etc/default/subsonic in place (as well as my reverse proxy in /etc/apache2)
- added one of my smaller music folders in 5.2.1, not changing anything else save for changing the default player to "external player with playlist"
- played an album

Here's the resulting M3U:

#EXTM3U
#EXTINF:388,Oliver Mtukudzi - Ndima Ndapedza
http://mydomain.org/music/stream?player ... uffix=.mp3

The port (":8080" in my previous posting) is now gone and everything streams externally.

Re: play queue problem

PostPosted: Mon Dec 14, 2015 5:45 pm
by FoxBJK
I don't use a proxy or anything, but I'm having the exact same problem. There's no way to specify the port I've opened externally for Subsonic, and the playlists just have "4040" put in there by default. If I correct the port using a text editor, the playlist works just fine.

Subsonic needs to add a fix where it acknowledges the port number used, which you can't tell it anywhere. It'll just assume 4040.

Re: play queue problem

PostPosted: Tue Dec 15, 2015 5:30 pm
by Jägs
Can't speak for the other systems, but on Debian/Ubuntu, you specify the port in /etc/default/subsonic.