QUOTE(Squeller @ Feb 26 2008, 10:01)

QUOTE(Zarkon @ Feb 26 2008, 01:31)

Use the foo_cwb_hooks plugin and use the code (for example:) "$cwb_datediff(%last_played%,%cwb_systemdate%) GREATER 30".
Can I put such code into "Library - Search"? I tried "$cwb_datediff(%last_played%,%cwb_systemdate%) LESS 7" but it returns nothing. I definitely have some tracks in my library with "%last_played% set today... I'd also like to have an autoplaylist with this...
Also, in foo_uie_quicksearch it doesn't return anything...
Additionally: Does it make a difference if I store in Tags or in a database? Will components still be able to display %last_played%? I don't want to store %last_played% in tags because of backup reasons.
EDIT: OK, I've got it. (foo_custominfo/playcount combination). But still don't know how to search or make an autoplaylist with this.
I'm not sure how helpful this will be, you may already have figured it out - but I've also been trying to create such a playlist, and using the info from this thread, I realised the quotation marks in the query are misplaced. Instead of having them round the entire query, you need them round the front part of it, like this:
"$cwb_datediff(%last_played%,%cwb_systemdate%)" GREATER 30
and it works like a charm in the Autoplaylist manager!
EDIT: I just realised that buktore's post (above mine) says much the same thing. Maybe another way of making sure the playlist includes tracks that haven't been played yet would be a playcount query, like %PLAY_COUNTER% LESS 1 or %PLAY_COUNTER% IS ? - this is what I'm using at the moment and it works pretty well.