[REQ] Dynamic Playlist on Date

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

pkohn11
Posts: 8
Joined: Fri Jul 03, 2009 8:14 am

[REQ] Dynamic Playlist on Date

Post by pkohn11 »

Hi - I'm wondering if there's a way to do a dynamic date field as a filter for playlists. For example, If I want music within the last 10 years without having to adjust the date all the time.

Currently I can set if the date is >= 2016

Ideally I can say date is within the last 10 years.
Lowlander
Posts: 59412
Joined: Sat Sep 06, 2003 5:53 pm

Re: Dynamic Playlist on Date

Post by Lowlander »

No, this isn't possible.
pkohn11
Posts: 8
Joined: Fri Jul 03, 2009 8:14 am

Re: Dynamic Playlist on Date

Post by pkohn11 »

Thank you for confirming. Is "Beta testing, bugs, and feature requests - MMW 2024" still the best place to put in feature requests?
Lowlander
Posts: 59412
Joined: Sat Sep 06, 2003 5:53 pm

Re: Dynamic Playlist on Date

Post by Lowlander »

Yes
IanRTaylorUK
Posts: 621
Joined: Fri Dec 27, 2019 4:41 pm

Re: [REQ] Dynamic Playlist on Date

Post by IanRTaylorUK »

Use the Custom Nodes Add-On.

Add a "Track" type query using Configure Custom Nodes called "Rolling 10 Years"

Then an SQL query something like:

SELECT * FROM Songs WHERE
CAST( substr( Year,1,4 ) AS INTEGER )
BEWEEN ( CAST ( strftime ( '%Y' , 'now' ) AS INTEGER ) -9 )
AND CAST ( CAST ( strftime ( '%Y' , 'now' ) AS INTEGER )
AND TrackType = 0

If you want a Playlist, then use CTRL+A to select ALL and then right click / send to / Playlist / New Playlist.
Ian Taylor
rusty
Posts: 9055
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Re: [REQ] Dynamic Playlist on Date

Post by rusty »

Good idea!

-Rusty
Post Reply