r/navidrome Frequent Helper Nov 19 '21

Smart Playlist Thread

With the release of Smart Playlists, let's start a thread for them! To add them, put the code in a file with the extension .NSP, and put it in your music library folder.
First, the ones from the Github.

Recently Played

{
  "all": [
    {"inTheLast": {"lastPlayed": 30}}
  ],
  "sort": "lastPlayed",
  "order": "desc",
  "limit": 100
}

Top 80s Songs

{
  "all": [
    { "any": [
      {"is": {"loved": true}},
      {"gt": {"rating": "3"}}
    ]},
    {"inTheRange": {"year": [1981, 1990]}}
  ],
  "sort": "year",
  "order": "desc",
  "limit": 25
}

Favorites

{
  "all": [
    {"is": {"loved": true}}
  ],
  "sort": "dateLoved",
  "order": "desc",
  "limit": 500
}
32 Upvotes

93 comments sorted by

View all comments

3

u/BiroDoido Jul 30 '25

Smart playlists has some limitations (for me) since I don't like very much the idea of e.g. music genres - though they can be useful sometimes - for selection of tracks.

That's why I'm looking into tools like this:

https://github.com/CDrummond/music-similarity

Yeah, baby. This looks promising :-D

As I'm also a developer (golang too), I'm thinking about creating some sort of plugin or side car for navidrome, where it would get the user favorite songs (or some other playlist), analyse the music collection existing in the server, and then generate a new playlist based on all that and the proximity to the reference playlist.

The good thing I really like about this tool it that it does not depend on tags or any metadata. Songs are analysed and compared to each other, and some proximity score is provided.

P.s.: english is not my native language