kagemomiji / airsonic-advanced

airsonic-advanced
GNU General Public License v3.0
166 stars 14 forks source link

[Bug]: Playing Internet Radio via external Player does not work #289

Open verybadsoldier opened 1 year ago

verybadsoldier commented 1 year ago

What happened?

Problem: When trying to play an internet radio stream using a local player, then the downloaded m3u cannot be played because it is basically empty.

I have set up an internet radio source in the settings like this:

Name: Space Station Soma Stream URL: https://somafm.com/spacestation130.pls Homepage: https://somafm.com/spacestation/

Then it shows up on the left side pane. When I click the play button using the web player, it starts playing without issues.

When I use it with a player setup as External player with playlist then a m3u is downloaded when clicking again play on the internet radio. But I cannot play it in my media player.

The content of the m3u is just empty without any further content:

#EXTM3U

Thanks for help!

Steps to reproduce

  1. Setup a player External player with playlist
  2. Add a internet radio entry using e.g. https://somafm.com/spacestation130.pls
  3. Select the player added in 1. and select play on the left side pane
  4. A m3u will be downloaded but it is empty and cannot be played

Version

11.1.2 (Stable)

Version Detail

11.1.2.20230429150208

Operating System

ghcr.io/kagemomiji/airsonic-advanced:11.1.2

Java Version

java 17.0.5

Database

Other

DB Detail

whatever is inside the docker image :)

Configuration paramter

I hope this is meant to be here:

# Airsonic preferences.  NOTE: This file is automatically generated. Do not modify while application is running

EncryptionKeyPassword=<secret>
EncryptionKeySalt=<secret>
SettingsChanged=1694381729029
JWTKey=<secret>
IndexCreationInterval=1
IndexCreationHour=3
FastCacheEnabled=false
OrganizeByFolderStructure=true
UploadsFolder=%{['USER_MUSIC_FOLDERS'][0]}/Incoming
ExcludePattern=
IgnoreSymLinks=false
FullScan=false
ClearFullScanSettingAfterScan=false
GettingStartedEnabled=false
HideIndexedFiles=true
SplitOptions=-ss %o -t %d
SplitCommand=ffmpeg %S -i %s -vcodec copy -acodec copy -f %f -
DownsamplingCommand4=ffmpeg %S -i %s -map 0:0 -b:a %bk -v 0 -f mp3 -
HlsCommand4=ffmpeg -ss %o -i %s -s %wx%h -async 1 -c:v libx264 -flags +cgop -b:v %vk -maxrate %bk -preset superfast -copyts -b:a %rk -bufsize 256k -map 0:0 -map 0:%i -ac 2 -ar 44100 -v 0 -threads 0 -force_key_frames expr:gte(t,n_forced*10) -start_number %j -hls_time %d -hls_list_size 0 -hls_segment_filename %n %p
JukeboxCommand2=ffmpeg -ss %o -i %s -map 0:0 -v 0 -ar 44100 -ac 2 -f s16be -
VideoImageCommand=ffmpeg -r 1 -ss %o -t 1 -i %s -s %wx%h -v 0 -f mjpeg -
SubtitlesExtractionCommand=ffmpeg -i %s -map 0:%i -f %f -
TranscodeEstimateTimePadding=2000
TranscodeEstimateBytePadding=0

Proxy Server

Traefik (with Authelia HTTP BasicAuth)

client detail

No response

language

English

Relevant log output

I think this is the only log line related to it:

2023-09-20 18:42:31.145  INFO --- o.a.p.s.InternetRadioService             : Retrieved playlist for internet radio https://somafm.com/spacestation130.pls, got 5 sources.