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

  • quixotic120@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 days ago

    I will try this out, thanks!

    Any idea if playlists can directly work in external but non Jellyfin apps like finamp or kodi with Jellyfin for kodi? If not can playlists be saved/exported for use in those contexts?

    • redxef@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 days ago

      It just manages a native jellyfin playlist, so that should work just fine.

    • gccalvin@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 days ago

      It’s closed source, but Symfonium has had smart playlists for a while, if it’s a feature you’re willing to switch for. It’s great to see this feature in the Jellyfin server, and hopefully all the apps can implement it in due time.

      • HotChickenFeet@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 days ago

        I really like Symfonium. I’ll second giving it a check.

        I love using it for Navidrome & offline caching, and it’s nice because it does offer some casting capabilities internally.