Kodi Community Forum

Full Version: Added last week playlist
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, how do I create a playlist that uses a dynamic date based on for example; added date > today() -7 and relase date > today() - 365 or something similar?

I can only figure out how to use actual date not functions.
You need to use the operators 'inthelast' or 'notinthelast'. In your case you want e.g.

Date added Inthelast 7

UNFORTUNATELY, it would appear that you cannot use 'Dateadded' in the playlist definition, see

http://wiki.xbmc.org/index.php?title=Smart_playlists

I've tried it myself and although it accepts it, it does not work, whereas:

Last played Inthelast 7

Does work.
Excellent, that worked. And dateadded inthelast 7 and playcount eq 0 works perfectly. Despite it saying it is not supported.