Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: How to make constantly auto-sorting autoplaylist of most played songs? (Read 2688 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to make constantly auto-sorting autoplaylist of most played songs?

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.

How to make constantly auto-sorting autoplaylist of most played songs?

Reply #1
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

How to make constantly auto-sorting autoplaylist of most played songs?

Reply #2
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.

How to make constantly auto-sorting autoplaylist of most played songs?

Reply #3
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.

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.

Thanks!

 

How to make constantly auto-sorting autoplaylist of most played songs?

Reply #4
right click an autoplaylist > autoplaylist ...

How to make constantly auto-sorting autoplaylist of most played songs?

Reply #5
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.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

How to make constantly auto-sorting autoplaylist of most played songs?

Reply #6
ITT: Ugly hacks.

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

Done.

How to make constantly auto-sorting autoplaylist of most played songs?

Reply #7
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.

ITT: Ugly hacks.

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

Done.

Thanks! Exactly what I was looking for.