Project

General

Profile

Can't stream music from Subsonic

Added by David Bezuidenhout over 10 years ago

Hi,

I use Subsonic to stream my music collection from home to work. In the past Winamp worked just fine for this, however now in switching over to a Linux desktop I can't seem to get this to work with Audacious.

OS: Up to date Archlinux install.
Audacious version: 3.4.2
Plugin: Neon HTTP/HTTPS transport plugin is installed

Subsonic is set to use "Externel player with playlist", which is my preferred method to use. It generates a .m3u playlist file, which is then loaded into Audacious, allowing Audacious's controls to work and request the songs from the Subsonic server.

Example play.m3u file:

#EXTM3U
#EXTINF:96,Faithless - Code
https://dl.heaven.za.net/stream?player=5&id=2082&suffix=.mp3
#EXTINF:163,Faithless - Crazy English Summer
https://dl.heaven.za.net/stream?player=5&id=2079&suffix=.mp3
#EXTINF:248,Faithless - Donny X
https://dl.heaven.za.net/stream?player=5&id=2077&suffix=.mp3
#EXTINF:274,Faithless - Evergreen
https://dl.heaven.za.net/stream?player=5&id=2074&suffix=.mp3
#EXTINF:281,Faithless - Giving Myself Away
https://dl.heaven.za.net/stream?player=5&id=2076&suffix=.mp3
#EXTINF:350,Faithless - Liontamer
https://dl.heaven.za.net/stream?player=5&id=2081&suffix=.mp3
#EXTINF:225,Faithless - Machines R Us
https://dl.heaven.za.net/stream?player=5&id=2078&suffix=.mp3
#EXTINF:261,Faithless - Muhammad Ali
https://dl.heaven.za.net/stream?player=5&id=2080&suffix=.mp3
#EXTINF:355,Faithless - Not Enuff Love
https://dl.heaven.za.net/stream?player=5&id=2073&suffix=.mp3
#EXTINF:320,Faithless - One Step Too Far
https://dl.heaven.za.net/stream?player=5&id=2075&suffix=.mp3
#EXTINF:403,Faithless - Turantula
https://dl.heaven.za.net/stream?player=5&id=2072&suffix=.mp3
#EXTINF:499,Faithless - We Come 1
https://dl.heaven.za.net/stream?player=5&id=2061&suffix=.mp3

Attached is a screenshot showing the errors.

Thanks in advance for any help.


Replies (5)

RE: Can't stream music from Subsonic - Added by Michael Schwendt over 10 years ago

Running "audacious -V", it tells:

probe.c:192 [file_find_decoder]: Probe succeeded: MPG123 Plugin
neon: <0x7f306c0010c0> Could not open URL: 1 (0)
neon: <0x7f306c0010c0> neon error string: Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted

RE: Can't stream music from Subsonic - Added by David Bezuidenhout over 10 years ago

Thank you Michael I understand that. Is there a way I can disable that check? This is a home pc, I don't see why I should buy a SSL certificate for something only I will be using.

RE: Can't stream music from Subsonic - Added by David Bezuidenhout over 10 years ago

Alright I went a bit further.

This time, I got myself a SSL certificate from www.startssl.com and configured it on the subsonic server. Now if I visit https://dl.heaven.za.net in my browser, I get a green icon from Chrome, which means it is good, but it looks like Audacious is still having issues.

Output on the console now is:

neon: <0x7fdf7c0010c0> Could not open URL: 1 (0)
neon: <0x7fdf7c0010c0> neon error string: SSL handshake failed: SSL error: tlsv1 alert internal error
neon: <0x7fdf7c0010c0> Could not open URL
neon: <0x7fdf84020500> Could not open URL: 1 (0)
neon: <0x7fdf84020500> neon error string: SSL handshake failed: SSL error: tlsv1 alert internal error
neon: <0x7fdf84020500> Could not open URL

RE: Can't stream music from Subsonic - Added by Michael Schwendt over 10 years ago

The streaming now works here with that server, and I cannot reproduce that error message. (That's with Audacious 3.4.2 and Fedora 20 development.)

[…]
probe.c:164 [file_find_decoder]: Probing https://dl.heaven.za.net/stream?player=5&id=2082&suffix=.mp3.
probe.c:120 [probe_by_scheme]: Probing by scheme.
probe.c:134 [probe_by_extension]: Probing by extension.
probe.c:108 [probe_func_fast]: Guessing MPG123 Plugin.
probe.c:192 [file_find_decoder]: Probe succeeded: MPG123 Plugin
pluginenum.c:63 [plugin_load]: Loading plugin: /usr/lib64/audacious/Input/madplug.so.
mpg123.c:64 [aud_mpg123_init]: initializing mpg123 library
pluginenum.c:63 [plugin_load]: Loading plugin: /usr/lib64/audacious/Transport/neon.so.
probe.c:164 [file_find_decoder]: Probing https://dl.heaven.za.net/stream?player=5&id=2082&suffix=.mp3.
probe.c:120 [probe_by_scheme]: Probing by scheme.
probe.c:134 [probe_by_extension]: Probing by extension.
probe.c:108 [probe_func_fast]: Guessing MPG123 Plugin.
probe.c:192 [file_find_decoder]: Probe succeeded: MPG123 Plugin
VFS: <0x25a8f40> open (mode r) https://dl.heaven.za.net/stream?player=5&id=2082&suffix=.mp3
VFS: <0x25a8f40> size = -1
VFS: <0x25a8f40> close
VFS: <0x25a8340> open (mode r) https://dl.heaven.za.net/stream?player=5&id=2082&suffix=.mp3
mpg123.c:326 [mpg123_playback_worker]: playback worker started for https://dl.heaven.za.net/stream?player=5&id=2082&suffix=.mp3
mpg123.c:329 [mpg123_playback_worker]: Checking for streaming ...
VFS: <0x25a8340> size = -1
effect.c:68 [effect_start]: Starting effects.
output.c:352 [output_set_replaygain_info]: Replay Gain info:
output.c:353 [output_set_replaygain_info]:  album gain: 0.000000 dB
output.c:354 [output_set_replaygain_info]:  album peak: 0.000000
output.c:355 [output_set_replaygain_info]:  track gain: 0.000000 dB
output.c:356 [output_set_replaygain_info]:  track peak: 0.000000
mpg123.c:398 [mpg123_playback_worker]: starting decode
main.c:504 [shut_down]: Saving playlist state.
[…]

RE: Can't stream music from Subsonic - Added by David Bezuidenhout over 10 years ago

OK thanks, then I must still have some sort of an SSL issue on my Archlinux install :(

    (1-5/5)