[API Request] Extension to signify that a server supports playing media other than songs in jukebox mode #86
dweymouth
started this conversation in
API requests
Replies: 2 comments 5 replies
-
I think this should be a really simple one, it's just the naming of the extension that needs to be decided on. |
Beta Was this translation helpful? Give feedback.
4 replies
-
@sentriz Any thoughts, since gonic supports playing radio stations (and podcasts?) by jukebox? I think you would be the only server that would add support for this extension initially. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Type of change
API extension
Proposal description
The current spec for
jukeboxControl
says that song IDs are allowed, but makes no mention of podcastEpisode or internetRadioStation IDs. And there is no guarantee that IDs across media types are unique, so clients cannot assume any IDs other than song IDs are supported by jukeboxControl.We should add an extension to indicate a server can accept IDs for all playable media (excluding video: that is currently songs, podcast episodes, and radio stations, but this extension should cover any possible future audio media types eg audiobooks) for the
jukeboxControl
endpoint. For non-seekable items like radio stations, the server should be able to ignore theoffset
parameter if passed.gonic already supports this as of today, at least for radio stations - sentriz/gonic#481 - and DSub also supports passing radio IDs (which is technically an improper use of the base Subsonic API). Navidrome currently does not support playing radio stations in Jukebox mode (from a code audit).
Backward compatibility impact
None
Backward compatibility
API details
Proposing a new OpenSubsonic extension called
jukeboxMediaTypes
.Version 1 of the extension adds two new arguments to the
jukeboxControl
endpoint:podcastEpisodeID
radioStationID
Like the existing
id
parameter, multiple instances of the parameter are allowed to enqueue multiple items at once. Eg:/jukeboxControl?action=add&id=song1&radioStationID=radio1&id=song2&radioStationID=radio2
Security impacts
No response
Potential issues
No response
Alternative solutions
No response
Beta Was this translation helpful? Give feedback.
All reactions