Taiko2k / Tauon

The music player of today! :city_sunrise:
https://tauonmusicbox.rocks
GNU General Public License v3.0
1.64k stars 64 forks source link

Integration with Navidrome Smart Playlists #1038

Open PassiveLemon opened 9 months ago

PassiveLemon commented 9 months ago

I'm not exactly sure of the exact technical details but with Navidrome, you can make a .nsp file that looks something like:

{
  "any": [
    {"contains": {"filepath": "/music/Lo-Fi"}},
    {"contains": {"filepath": "/music/The Sound of Lo-Fi Study"}}
  ],
  "sort": "title",
  "order": "asc"
}

It allows you to make a playlist that populates based on properties you give it. For example, the above playlist contains all songs from those 2 directories and sorts them by title in ascending order.

Basically, I would like to use those Navidrome playlists in Tauon. Unless there is something I have missed, Tauon just shows every single song and sorts it by album.

I'd imagine Navidrome would have to expose this in its Subsonic server API (Not sure if it does) but I imagine it could be do-able as the Jellyfin integration already has playlist support.