![]() |
How do I make a Smart Playlist involving length?
Hi.
I'm trying to creaete a query that will load the playlist with music added within the past 2 weeks, and that are longer than 1 hour. I have: filetime >= [2 week ago] AND length > "1:00:00" And it's not working for me. It's showing me the tracks I've added in the past 2 weeks without limiting them by their time. Don't get it, the query looks OK to me. Can someone tell me what's wrong please? Cheers. |
Um, as far as I see in the code, the length field is populated with the song length in milliseconds. Don't know if that's a bug or a feature. So try length > 3600000, does that work?
|
Yes I believe that works! Thanks abu. Milliseconds ... rather odd way of doing it!
|
Quote:
|
Yeah I noticed that too, which caused much confusion. Ended trying 1:00:00 which didn't work either when 1:00 failed.
|
So it should be seconds at least, not milliseconds, right? That's easy to fix. But the different format like 1:00, I don't know if the NDE library handles that internally... Looking at the code: That seems to work.
Please try 3.02p27 |
That works. I keyed in
length > 3600 It also works fine now if I used 1:00:00 to indicate 1 hour (which didn't before), and 50:00 to indicate 50 mins. Thanks again abu. |
Cool, thanks for reporting back.
|
| All times are GMT. The time now is 06:29. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.