Update instant mix to use the new items endpoint instead of songs#1642
Update instant mix to use the new items endpoint instead of songs#1642jeffvli merged 1 commit intojeffvli:developmentfrom
Conversation
songs/:itemId:/InstantMix -> items/:itemId/InstantMix
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Is this a new endpoint? If so, it would need to be able to fallback to the original endpoint for older Jellyfin versions. |
What is the oldest supported version? The endpoint has been in Jellyfin for at least five years: If necessary, I'll do a deeper dive to find when it was added. |
No need if this is the case. I doubt any users are on versions older than that. |
The
itemsendpoint can generate an instant playlist from any media item, including albums, artists, genres, playlists, or individual tracks, when provided with an ID.(See: https://api.jellyfin.org/#tag/InstantMix/operation/GetInstantMixFromItem )
Using this endpoint offers two advantages:
It enables broader “Radio” functionality. While it would need to be implemented in the client, the endpoint already supports instant mixes for albums, genres, and playlists in addition to songs and artists.
It ensures compatibility with audiomuse-ai. For users without the audiomuse plugin, nothing changes, since Jellyfin internally translates the
itemsendpoint to the existing endpoints such as/song. When audiomuse is installed, the overridden endpoint is used, which resolves:[Bug]: AudioMuse-AI Instant Mix not working #1425
Feishin doesn't use AudioMuse AI NeptuneHub/audiomuse-ai-plugin#14