Jellyfin Forum
Jellyfin Music - Custom "My mix" playlist - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Plugin Development (https://forum.jellyfin.org/f-plugin-development)
+--- Thread: Jellyfin Music - Custom "My mix" playlist (/t-jellyfin-music-custom-my-mix-playlist)



Jellyfin Music - Custom "My mix" playlist - Eeeeelias - 2024-03-08

TL;DR: I wrote a small script that lets you create a Jellyfin playlist similar to "My Mix" on YouTube.

Hey,

I've mostly switched to listening to music over Jellyfin and have culminated some amount of music at this point. Before that, I mainly listened to music via YouTube using the “Mix” feature, where it generates a playlist based on a song or what you've been listening recently. I liked it, since I never really know what I should listen to, so having a computer program tell me is perfect. Now, from what I could gather, Jellyfin doesn't have an option to generate playlists based on what I have been listening to. That really annoyed me, since I neither enjoy making playlists nor do I enjoy listening to the same playlists all the time.

Thus, I wrote a little script that, when executed, uses the Jellyfin API, gathers the music from Jellyfin, the listening data (from Playback Reporting if available) and builds a playlist based on what I seem to currently enjoy while simultaneously removing songs that I don't seem to enjoy. It also brings in new songs so that I might find cool new music that I like Smiling-face. I've been testing it for about a week now, and I'd say it works pretty well. I use it by putting it in a cron job that executes once a day.

Now, I know, this isn't a strictly a plugin, but I thought I'd share it anyway in case anyone else is looking for something like this. This is the GitHub: https://github.com/Eeeeelias/jellyfin-scripts


Cheers!