-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't play Web Radio in Jukebox mode: error creating playlist items: find track by id: not found #481
Comments
Internet radio stations cannot be played in jukebox mode due to a design flaw in the Subsonic API. The jukeboxControl endpoint only allows clients to pass song IDs, and internet radio stations are not a regular song. The solution would be to propose an OpenSubsonic extension that allows radio IDs to be passed to jukeboxControl, and for Gonic as well as the clients to implement the extension. |
@dweymouth the jukebox can set any sort of ID, be it podcast IDs or song IDs or whatever . much like setRating its a bit polymorphic looks like i just never implemented internet radio IDs where, but now you can jukeboxControl?action=set&id=ir-1 |
The spec for ID says
It's nice that Gonic supports an extended version of the API (now after your fix). And DSub does too I guess. I still think an OpenSubsonic extension is needed though as the API does not guarantee that IDs are unique across media types (a radio station ID could be the same as a song ID for some servers) so clients shouldn't assume they can pass a radio ID to jukeboxControl. When I implement jukebox in Supersonic, I will probably fall back to local playback for radio stations. |
Hi everyone, I'm trying to use Gonic in Jukebox mode to play Internet Radio streams locally on the server.
gonic version: v0.16.3
Built with docker-compose.yml:
Added two radio stations on the Gonic web interface:
Using DSub Android Client, local music is played correctly, but when I play Web Radio it doesn't ouput any audio, and following error is logged:
Things I've tried:
# mpv -audio-device=alsa/default:CARD=Set http://onair18.xdevel.com:8136/
Any clue if this is a Gonic bug or other test to do?
The text was updated successfully, but these errors were encountered: