Help - Search - Members - Calendar
Full Version: Auto ranking.
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
pasta
Hey!
I have got
foobar 0.9 beta 13
foo_ui_columns-0.1.3-pa16v2
foo_playcount


and I wonder how must like string in one of column to make auto rakning.

Something along the lines of

1 listenings = 1 star
3 listenings = 2 stars
8 listenings = 3 stars
19 listenings = 4 stars
26 listenings = 5 stars
Andreasvb
I kinda liked this, so I tried to make something.


5 dots at intervals of 15, 30, 45, 60, 75
You can change 15 to like 10 for decreased intervals.
CODE
$ifgreater(%play_counter%,89,$repeat(•,5),$repeat(•,$div(%play_counter%,15)))



If you want dimmed dots then this kinda works, couldn't figure how to make it subtract the right number so it just adds it, make sure you limit your column width so you can't see more than 5, maybe disable elipsis too.
CODE
$puts(auto_rate,$ifgreater(%play_counter%,89,$repeat(•,5),$repeat(•,$div(%play_counter%,15))))


$ifgreater(%play_counter%,89,$repeat(•,5)$repeat(825E00|D79B00•,$sub(5,$get(ar8))),
$repeat(•,$div(%play_counter%,15))
$repeat(825E00|D79B00•,$sub(5,$get(auto_rate))))


EDIT: use %play_count% for new beta. thanks unabatedshagie
pasta
Hey!

I done that:
user posted image

a ranking don't working it only this

user posted image

ranking don't change!
What I do wrong!
Andreasvb
Can you make a column with only %play_counter%
To see if you got PlayCounter installed and that it works.
unabatedshagie
The beta playcount component uses %play_count% not %play_counter%.

link
pasta
Ok it working I use:

CODE
$if($greater(%play_count%,25),☆☆☆☆☆,
$if($greater(%play_count%,18),☆☆☆☆,
$if($greater(%play_count%,7),☆☆☆,
$if($greater(%play_count%,2),☆☆,
$if(%play_count%,☆)))))


Now , how to condition the ranking also from %last_played%?
SoulMan
Hello, I suggest you to do something like that :

CODE
$if(%play_count%,☆)
$if($greater(%play_count%,2),☆)
$if($greater(%play_count%,7),☆)
$if($greater(%play_count%,18),☆)
$if($greater(%play_count%,25),☆)


It will certainly be lighter to process...
Synthetic Soul
It may be worth reading this thread:

"hotness", An experiment in "meta-rating"
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.