Help - Search - Members - Calendar
Full Version: Foobar Rating with Samurize
Neowin Forums > Customizing Windows > Customization & Skinning Section
Strictly4me
With "FooRating" it's possible to rate your songs in Foobar2000-Player. yes.gif
The best way is, to put it in your taskbar. So you can rating your songs without to bring your player in foreground! whistle.gif
Just klick on the stars, this config shows you. wink.gif

user posted image

((((( Strictly4me )))))
Strictly4me
Hello!

In post above you can see a possibility to rate songs in foobar from taskbar!
This was possible in foobarversions 0.8.x.
The old commandlines i used for it:

CODE
C:\Programme\foobar2000\foobar2000.exe /command:"Playlist/Highlight playing item" /playlist_command:"Quick Tag/Rate 5"
C:\Programme\foobar2000\foobar2000.exe /command:"Playlist/Highlight playing item" /playlist_command:"Quick Tag/Rate 4"
C:\Programme\foobar2000\foobar2000.exe /command:"Playlist/Highlight playing item" /playlist_command:"Quick Tag/Rate 3"
C:\Programme\foobar2000\foobar2000.exe /command:"Playlist/Highlight playing item" /playlist_command:"Quick Tag/Rate 2"
C:\Programme\foobar2000\foobar2000.exe /command:"Playlist/Highlight playing item" /playlist_command:"Quick Tag/Rate 1"


Now i'm searching for new commandlines in foobarversion 0.9.x! (Masstaggerscripts for rating)
Maybe someone can help me to find it? I already tried many commandlines, but nothing seems to work. no.gif

Thanks in advance,
((((( Strictly4me )))))
spex04
Quote - (Strictly4me @ Oct 14 2006, 15:36) [snapback]587954790[/snapback]

Now i'm searching for new commandlines in foobarversion 0.9.x! (Masstaggerscripts for rating)
Maybe someone can help me to find it? I already tried many commandlines, but nothing seems to work. no.gif

Thanks in advance,
((((( Strictly4me )))))


Do you use tags for rating? If you do, you can set tags from the command line:

CODE
Usage:

/tag:help - displays this message

/tag:<command1>[;<command2>;<command3>...] <file1> [<file2> <file3>...]

Commands:

<NAME>=<VALUE>
    Sets <NAME> field to <VALUE>, e.g. "/tag:title=test <file>".
    You can erase particular field by specifying empty value, e.g. "/tag:comment= <file>".
    You can also specify multiple values by separating them with \ character, e.g. "/tag:artist=name1\name2 <file>".
AUTOTRACKNUMBER
    Sets TRACKNUMBER field of multiple files according to their order in commandline.
    E.g. "/tag:AUTOTRACKNUMBER <file1> <file2> <file3>" will assign TRACKNUMBER=1 to <file1>, 2 to <file2> and 3 to <file3>.
FORMAT:<FIELD>:<SPEC>
    Formats <FIELD> using <SPEC>; see title formatting manual for more info how to use it.
    E.g. "/tag:FORMAT:COMMENT:"%ARTIST% - %TITLE%" <file>".
GUESS:<PATTERN>:<SPEC>
    Guesses field values using <PATTERN>, according to <SPEC>.
    To perform "guess values from filename" action, use "/tag:GUESS:<PATTERN>:%_FILENAME% <file>".
    E.g. "/tag:GUESS:"%TRACKNUMBER%. %TITLE%":%_FILENAME% <file>".


So x:\path\to\foobar\foobar2000.exe /tag:RATING=5 would set the rating to 5.

I'm not sure completely how this works, as I don't use it, but I got the information from running x:\path\to\foobar\foobar2000.exe /?

EDIT: Just realised that probably won't work. Doesn't foobar2000.exe "/playing_command:Tagging/Scripts/<script name>" work..?
Strictly4me
Quote - (spex04 @ Oct 14 2006, 17:33) [snapback]587954899[/snapback]

Do you use tags for rating?

Yes!

Quote -
Doesn't foobar2000.exe "/playing_command:Tagging/Scripts/<script name>" work..?

No! I already tried this:
"C:\Programme\foobar2000 0.9\foobar2000.exe" "/playing_command:Tagging/Scripts/Rate 3"

Also this kind of commandlines:
"C:\Programme\foobar2000 0.9\foobar2000.exe" "/playing_command:Tagging/Scripts/Rate 3"
"C:\Programme\foobar2000 0.9\foobar2000.exe" /playing_command:"Tagging/Scripts/Rate 3"
"C:\Programme\foobar2000 0.9\foobar2000.exe" "/playlist_command:Tagging/Scripts/Rate 3"
"C:\Programme\foobar2000 0.9\foobar2000.exe" /playlist_command:"Tagging/Scripts/Rate 3"
"C:\Programme\foobar2000 0.9\foobar2000.exe" "/command:Tagging/Scripts/Rate 3"
"C:\Programme\foobar2000 0.9\foobar2000.exe" /command:"Tagging/Scripts/Rate 3"


But no commandline above are working! I get crazy. cry.gif
With contextmenu in playlist it works perfect!

((((( Strictly4me )))))
Strictly4me
Solution found!
Thanks to "chiwou" for his help.

What we need:
At first you will need plugin Run Command. More infos you can find here!
Install plugin "Run Command" from above and make ratingscripts with masstagger for rating (1-5). You have already to know ... how!

Correct commandlines for rating by example:

CODE
C:\Programs\foobar2000\foobar2000.exe /runcmd-playing="Scripts/Rating 4"

With this commandline you can rate your song while a song is playing in your foobar!
I prefer to rate my song when it's just select in playlist, not only when it's playing.
That means, you need a commandline like this to do that:

CODE
C:\Programme\foobar2000\foobar2000.exe /runcmd-playlist="Scripts/Rating 4"

The difference between first commandline and second one is "playling" or "playlist" after "runcmd"!
You can arrange this, like you want and prefer.
In both cases take care for quotation marks you can see by "Scripts/Rating 4"! You just need this signs, if you have empty space in your path.
Other example if you have your foobar2000.exe in this path, with empty space by your foobar-folder:

C:\Programs\foobar2000 0.9\foobar2000.exe

So you have to put quotation marks by the path to your foobar2000.exe too! The completely commandline in this case is:

CODE
"C:\Programs\foobar2000 0.9\foobar2000.exe" /runcmd-playlist="Scripts/Rating 4"

I think, you know what I mean!
Enjoy and all thanks goes to "chiwou".

((((( Strictly4me )))))
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-2009 Invision Power Services, Inc.