Skip to content

Comments

Update instant mix to use the new items endpoint instead of songs#1642

Merged
jeffvli merged 1 commit intojeffvli:developmentfrom
A-wels:development
Feb 4, 2026
Merged

Update instant mix to use the new items endpoint instead of songs#1642
jeffvli merged 1 commit intojeffvli:developmentfrom
A-wels:development

Conversation

@A-wels
Copy link
Contributor

@A-wels A-wels commented Feb 3, 2026

The items endpoint 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:

  1. 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.

  2. It ensures compatibility with audiomuse-ai. For users without the audiomuse plugin, nothing changes, since Jellyfin internally translates the items endpoint 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

songs/:itemId:/InstantMix -> items/:itemId/InstantMix
@vercel
Copy link

vercel bot commented Feb 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
feishin Ready Ready Preview, Comment Feb 3, 2026 11:50am

@jeffvli
Copy link
Owner

jeffvli commented Feb 4, 2026

Is this a new endpoint?

If so, it would need to be able to fallback to the original endpoint for older Jellyfin versions.

@A-wels
Copy link
Contributor Author

A-wels commented Feb 4, 2026

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:
https://github.com/jellyfin/jellyfin/blob/9ac9543ee2b69f423f0102f80671fb09893534ae/Jellyfin.Api/Controllers/InstantMixController.cs

If necessary, I'll do a deeper dive to find when it was added.

@jeffvli
Copy link
Owner

jeffvli commented Feb 4, 2026

The endpoint has been in Jellyfin for at least five years:

No need if this is the case. I doubt any users are on versions older than that.

@jeffvli jeffvli merged commit b4ecf5d into jeffvli:development Feb 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants