IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

Most played songs autoplaylist
BPM
post Aug 28 2009, 21:24
Post #1





Group: Members
Posts: 11
Joined: 28-August 09
Member No.: 72727



I want to make an autoplaylist that will contain my top 100 songs with the highest play counts.
Im using the foo_playcount component so my playcounts are stored in %play_count%.
What kind of sort/query pattern syntax do I need to limit the number of items (tracks) in an autoplaylist?
So far I have this in the query pattern: "%play_count% GREATER 0" which removes any songs not yet played. What I need now is something to limit the number of entries in the playlist to maximum 100 (or whatever number I want)

Im very new to the syntax used so I dont know if there is a simple solution to this. I assume I need something like $max(%title%, 100)? (I know its wrong)
Go to the top of the page
+Quote Post
 
Start new topic
Replies
odyssey
post Aug 28 2009, 21:35
Post #2





Group: Members
Posts: 2296
Joined: 18-May 03
From: Denmark
Member No.: 6695



You can't limit a list that way and since queries only validates against each track, you'll have to find another solution.

The best you could do is probably something like:

CODE
%play_count% GREATER 3 SORT DESCENDING BY %playcount%

Then you'll have a list sorted by playcount, which you can easily shorten manually.

Edit: Damn I'm slow tongue.gif

This post has been edited by odyssey: Aug 28 2009, 21:37


--------------------
Can't wait for a HD-AAC encoder :P
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 1st September 2014 - 23:31