Hi!

I’ve been working on a smart playlist plugin for Jellyfin for a couple of weeks, and by now it’s at a stage where I can say it’s usable and doesn’t have any show-stopper bugs. The playlists are created and edited in the plugin’s settings.

A simple configuration for all liked pop songs would look like this:

Id: Favourite Pop
Name: Favourite Pop
Program: |
  (and (is-type "Audio") (is-favorite) (is-genre "pop" (genre-list)))
SortProgram: |
  (begin *items*)

It supports reflection, so any filter or property can be added without modifying the plugin directly; most of the pre-defined filters are implemented this way.

There also is a mirror at Codeberg: codeberg.org/redxef/jellyfin-smart-playlist

  • blackbrook@mander.xyz
    link
    fedilink
    English
    arrow-up
    9
    ·
    11 days ago

    The readme doesnt ever explain what a smart playlist is. Is this a term that most people know that i’m just out of loop on?

  • ferngully@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    12 days ago

    Is this only for music, or tv shows as well? I find myself shuffling shows a lot and it was nice in Plex to have a smart playlist and exclude shows that had been played in the last X days from the playlist.

    • redxef@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 days ago

      Not yet, though thats a feature worth looking at. I’m thinking that it should be collections instead of playlists. If you add 3 shows to a playlist only the episodes will appear there, while the collection will only show the tv show (or season, whatever you added).

  • BentiGorlich@gehirneimer.de
    link
    fedilink
    arrow-up
    1
    ·
    12 days ago

    I don’t really understand the readme. Is the creation done in a cli or in the jellyfin UI?

    I was missing this feature in jellyfin and this would be really great (I switched from plex which has it and I used it a lot 😅)