play queue problem

Need help? Post your questions here.

Moderator: moderators

play queue problem

Postby Jägs » Thu Dec 10, 2015 3:50 am

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?
Jägs
 
Posts: 109
Joined: Wed Apr 06, 2011 9:52 pm

Re: play queue problem

Postby Jägs » Sat Dec 12, 2015 4:37 am

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.
Jägs
 
Posts: 109
Joined: Wed Apr 06, 2011 9:52 pm

Re: play queue problem

Postby FoxBJK » Mon Dec 14, 2015 5:45 pm

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.
FoxBJK
 
Posts: 29
Joined: Fri Jun 29, 2012 5:58 pm

Re: play queue problem

Postby Jägs » Tue Dec 15, 2015 5:30 pm

Can't speak for the other systems, but on Debian/Ubuntu, you specify the port in /etc/default/subsonic.
Jägs
 
Posts: 109
Joined: Wed Apr 06, 2011 9:52 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 9 guests