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.

 
Reply to this topicStart new topic
How to make constantly auto-sorting autoplaylist of most played songs?
sgt_deacon
post Jan 15 2013, 23:18
Post #1





Group: Members
Posts: 18
Joined: 9-November 09
Member No.: 74793



Title:
How to create a perpetually auto-sorting autoplaylist of most played songs using foo_playcount

I don't know if it snipped off the end because my title went over some character limit or if I cut it off by mistake somehow.

I am trying to create an auto-playlist that automatically aggregates my most played songs and lists them in either ascending or descending order. At the moment I have an autoplaylist created using the filter "%play_count% GREATER 0", (I'll eventually raise that when I have more listens) which is doing what I want in adding songs with >0 plays. The problem I am having is how to I make this perpetually sort? If I leave the autoplaylist on "Force-sorted" it sorts it by artist / album / song, which isn't what I want. If I turn off force-sorting I can sort the list by playcount by doing sort->sort by..->%play_count%. The problem with this is it only affects the selection, if a new song is automatically added to the play-list it is automatically appended to the bottom of the playlist, and if a song gets a high number of plays its position in the playlist does not automatically change.

So how do I make the play-list perpetually/continually sort itself so the most played songs always either appear at the top or the bottom?

Thanks for the help!
Also I figured since foo_playcount was an 'official' plugin this was the best place for it, sorry if it's not.

This post has been edited by sgt_deacon: Jan 15 2013, 23:21
Go to the top of the page
+Quote Post
ruebe
post Jan 15 2013, 23:29
Post #2





Group: Members
Posts: 187
Joined: 18-September 10
Member No.: 83940



right click the playlist > sort pattern > %play_count%
keep force-sorted checked
this sorts ascending
to get descending sorting use $sub(999,%play_count%)
of course, you might have to replace 999

This post has been edited by ruebe: Jan 15 2013, 23:30
Go to the top of the page
+Quote Post
db1989
post Jan 15 2013, 23:41
Post #3





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



QUOTE (sgt_deacon @ Jan 15 2013, 22:18) *
I don't know if it snipped off the end because my title went over some character limit or if I cut it off by mistake somehow.
Thereís a limit of 70 characters. Iíll shorten it down.

QUOTE
Also I figured since foo_playcount was an 'official' plugin this was the best place for it, sorry if it's not.
Yes, your logic is right-on. smile.gif
Go to the top of the page
+Quote Post
sgt_deacon
post Jan 15 2013, 23:49
Post #4





Group: Members
Posts: 18
Joined: 9-November 09
Member No.: 74793



QUOTE (ruebe @ Jan 15 2013, 18:29) *
right click the playlist > sort pattern > %play_count%
keep force-sorted checked
this sorts ascending
to get descending sorting use $sub(999,%play_count%)
of course, you might have to replace 999

Where are you seeing "sort pattern"? When I right click on a playlist I don't see that.

QUOTE (db1989 @ Jan 15 2013, 18:41) *
QUOTE (sgt_deacon @ Jan 15 2013, 22:18) *
I don't know if it snipped off the end because my title went over some character limit or if I cut it off by mistake somehow.
Thereís a limit of 70 characters. Iíll shorten it down.

QUOTE
Also I figured since foo_playcount was an 'official' plugin this was the best place for it, sorry if it's not.
Yes, your logic is right-on. smile.gif

Thanks!
Go to the top of the page
+Quote Post
ruebe
post Jan 16 2013, 00:04
Post #5





Group: Members
Posts: 187
Joined: 18-September 10
Member No.: 83940



right click an autoplaylist > autoplaylist ...
Go to the top of the page
+Quote Post
carpman
post Jan 16 2013, 00:04
Post #6





Group: Developer
Posts: 1334
Joined: 27-June 07
Member No.: 44789



Click on the [...] button and select: "Create Autoplaylist"
Right click on the New Playlist and select "Autoplaylist properties"
Enter " $sub(99999,%play_count%) " in the box.

C.


--------------------
TAK -p4m :: LossyWAV -q 6 | TAK :: Lame 3.98 -V 2
Go to the top of the page
+Quote Post
Canar
post Jan 16 2013, 00:15
Post #7





Group: Super Moderator
Posts: 3372
Joined: 26-July 02
From: To:
Member No.: 2796



ITT: Ugly hacks.

Library > Search > %play_count% GREATER 0 SORT DESCENDING BY %play_count% > ... > Create Autoplaylist

Done.


--------------------
You cannot ABX the rustling of jimmies.
No mouse? No problem.
Go to the top of the page
+Quote Post
sgt_deacon
post Jan 16 2013, 01:12
Post #8





Group: Members
Posts: 18
Joined: 9-November 09
Member No.: 74793



QUOTE (ruebe @ Jan 15 2013, 19:04) *
right click an autoplaylist > autoplaylist ...

Ah, so apparently the an autoplaylist not created the way Canar describes does not have the SORT field for you to input a string. Not sure why.

QUOTE (Canar @ Jan 15 2013, 19:15) *
ITT: Ugly hacks.

Library > Search > %play_count% GREATER 0 SORT DESCENDING BY %play_count% > ... > Create Autoplaylist

Done.

Thanks! Exactly what I was looking for.
Go to the top of the page
+Quote Post

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: 24th November 2014 - 10:24