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
post Aug 28 2009, 21:24
Post #1

Group: Members
Posts: 15
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
Jack Schmaltz
post Aug 28 2009, 21:33
Post #2

Group: Members
Posts: 216
Joined: 7-November 08
From: H:N:L, UK
Member No.: 61899

i like your idea for this autoplaylist, unfortunetly i cant be of much help at the moment.

i think it may involve the $ifgreater command but how to string it together to limit the amount of tracks im not sure, maybe %list_index% or %list_total%.

i'll have a little mess around but if someone more experienced can answer this please do biggrin.gif

EDIT: bah, Yirkha replied as i was typing. at least you have answered the question & i wont be trying a dead end now haha!

This post has been edited by Jack Schmaltz: Aug 28 2009, 21:34

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 December 2015 - 19:07