Foobar2000:Commandline Guide

From Hydrogenaudio Knowledgebase

Verbage from "foobar2000.exe /?"

Basic Help

Available switches: /add, /play, /pause, /playpause, /prev, /next, /rand, /stop, /exit, /show, /hide, /config /command:<menu command>, /playlist_command: <context menu command>, /playing_command:<context menu command>

More Advanced Help

Useage:

/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>".

Examples

Please add