HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: Newt on 2007-12-21 09:17:57

Title: foo_rating Substitute
Post by: Newt on 2007-12-21 09:17:57
This is my playlist with foo_columns
(http://www.mailbox37.de/playlist.jpg)

After foo_rating has been banned (http://www.hydrogenaudio.org/forums/index.php?showtopic=50277), I searched for an alternative way to tag and rate my music which should be compatible with the rating done with foo_rating.

This is how I did it:

1. Installed QuickTagger (http://www.foobar2000.org/components/index.html)

2. Configured Quicktagger to be able to tag RATING from 1-5
(http://www.mailbox37.de/quicktagger.jpg)

3. Configured Columns UI to show RATING like this
(http://www.mailbox37.de/columns.jpg)
Code: [Select]
$ifgreater(%rating%,4,♥♥♥♥♥,
$ifgreater(%rating%,3,♥♥♥♥,
$ifgreater(%rating%,2,♥♥♥,
$ifgreater(%rating%,1,♥♥,
$ifgreater(%rating%,0,♥, )))))


4. Configured keyboard shortcuts to set the rating fast
(http://www.mailbox37.de/keyboard.jpg)


This worked for me.

Now, you can set the rating of the currently marked song by just pressing 1,2,3,4,5 or 0 to your preference. Of course, you can replace the hearts with dots or anything else (just have a look at the Character Map). This tagging is compatible with how foo_tagging tags the music. With columns_ui, one can sort by rating.

It is a bit complicated to change the rating without the keyboard. Normally: Right click => Tagging => Quick Tagger => Set Rating to... => ...
Title: foo_rating Substitute
Post by: kanak on 2007-12-21 13:49:47
You can simplify your code to:

Code: [Select]
$repeat(♥,$add(%rating%,1))
Title: foo_rating Substitute
Post by: eddy@ on 2007-12-21 15:10:50
Good work.
I don't like to open sub-sub-sub menu by using Quick Tagger.It's not so quick.
I use " tagger window " by cwbowron's foo_cwb_hooks with Columns UI.
Keyboard support is fine.
Title: foo_rating Substitute
Post by: dandrea on 2009-08-11 06:29:43
Code: [Select]
$blend($rgb(255,0,0),$rgb(0,255,0),%rating%,5) $repeat(♦,%rating%)
Title: foo_rating Substitute
Post by: odyssey on 2009-08-11 13:30:54
Or you could use the Playback Statistics (http://www.foobar2000.org/components/view/foo_playcount) component, that has built-in support (and context menus) for rating and the ability to store it in it's own database instead of writing to files all the time.