Skip to main content

Topic: How to make constantly auto-sorting autoplaylist of most played songs? (Read 1534 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • sgt_deacon
  • [*]
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.
  • Last Edit: 15 January, 2013, 05:21:58 PM by sgt_deacon

  • ruebe
  • [*][*][*]
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
  • Last Edit: 15 January, 2013, 05:30:08 PM by ruebe

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
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.

  • sgt_deacon
  • [*]
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!

  • ruebe
  • [*][*][*]
How to make constantly auto-sorting autoplaylist of most played songs?
Reply #4
right click an autoplaylist > autoplaylist ...

  • carpman
  • [*][*][*][*][*]
  • Developer
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 = Lame MP3

  • ExUser
  • [*][*][*][*][*]
  • Read-only
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.

  • sgt_deacon
  • [*]
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.