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: album list sort by rating (Read 1777 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

album list sort by rating

my knowledge of foobar's scripting is pretty limited so i wasnt sure how to do this. all i would like to know is if (and how) there is a way to sort the library viewer by ratings greater than a certain number. i already have it setup to sort by rating (%rating%) but would like to sort it by say all songs greater than 1, or 2, or 3, or 4 rating.

thanks for the help

album list sort by rating

Reply #1
post has been up over a few months and no replies?? so im guessing this cant be done then? or are there just no people left on this board?

 

album list sort by rating

Reply #2
I think, neither, and BTW for few months you should already know the answer

Can you explain what you want to accomplish?
If you want i.e. to sort only those with rating greater then 3 try something like this:

[font= "Lucida Console"]$ifgreater(%rating%, 3, %rating%, DEFAULT SORTING STRING)[/font][/size]

[edit] well, that is for library viewer playlist, and it seem that you want that for album list element branching, so similarly (i.e. album view):

[font= "Lucida Console"]$ifgreater(%rating%, 3, %rating% |,)%album%[ '['%album artist%']']|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%[/font][/size]