Smart Playlist filter: "Not played in X days" — Library Rediscovery #5539
Replies: 2 comments 2 replies
-
|
I'd like this feature too. However, I don't just use Music Assistant to play my music. The lastplayed/playcount/date played information isn't synced from my provider (Emby) into the Music Assistant database only the other way around, from MA to Emby. Therefore a smart playlist based on last played (before) is meaningless. Do the providers you mention (navidrome, plex) sync their playcounts/last played statistics with the Music Assistant database? If so, I will request this as a feature in the Emby provider. Thanks |
Beta Was this translation helpful? Give feedback.
-
|
Great writeup — the distinction from "No repeat within" is well explained, and you're right that the data foundation is already there. MA tracks last_played per track (used for scrobbling), so this filter wouldn't require new data collection, just exposing it as a rule condition in the Smart Playlists plugin. The main question is whether the plugin's rule engine supports timestamp comparisons today, or whether that needs to be added. I can flag this for the team to assess feasibility on the plugin side. Anyone else using this pattern in Plex or Navidrome and missing it here? More use cases help us prioritise. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Add a "Not played in the last X days/weeks/months" filter to the Smart Playlists plugin. This would exclude tracks that have been played within a configurable time window, surfacing music from your library that you haven't heard in a while.
Why this is different from "No repeat within"
The existing No repeat within option (under Advanced) prevents the same track from appearing in consecutive evaluations of the same playlist. It's a session/queue-level deduplication tool.
The proposed filter is different in intent and scope:
Use case
Anyone with a large library knows the problem: you keep playing the same familiar tracks because they're top of mind. A huge portion of your collection sits unplayed for months or years.
A "not played in X days" filter would let you create a Library Rediscovery playlist:
Every time you play it, it exclusively draws from the forgotten corners of your library. No skipping to what you already know — it's simply not in the list.
This is one of the most-loved features of Plex's dynamic playlists ("Unplayed" / "Last played before date") and is frequently requested on other self-hosted music platforms for exactly this reason.
Proposed implementation
Add a new option in the Filters section (or as a companion to the existing No repeat within slider in Advanced):
A simple numeric input or stepped slider (e.g. 7 / 14 / 30 / 60 / 90 / 180 / 365 days, or free input) would cover most use cases.
The filter would rely on the same play-history data that already powers No repeat within — so no new data collection should be needed, just a different filtering threshold applied at rule evaluation time.
Edge cases to consider:
Prior art
lastplayedfield comparisonsImpact
This is a low-friction, high-reward feature. It requires no new metadata, turns MA into a genuine library exploration tool, and is the kind of thing that makes people actually listen to the music they spent years collecting. 🎵
Beta Was this translation helpful? Give feedback.
All reactions