Foobar2000 Talk:Title Formatting Reference: Difference between revisions
(Metada mockup) |
(And now for Technical Information) |
||
Line 5: | Line 5: | ||
{| border=1 cellspacing=0 cellpadding=2 style="" | {| border=1 cellspacing=0 cellpadding=2 style="" | ||
! colspan="2" style="font-size: | ! colspan="2" style="font-size:larger" | Metadata | ||
|- | |- | ||
! %album artist% | ! %album artist% | ||
Line 29: | Line 29: | ||
%tracknumber% | %tracknumber% | ||
| Returns the tracknumber padded to two digits from the left with zeroes. The tracknumber is taken from the tracknumber tag; if that does not exist, it is taken from the track tag. If neither exist, this field is undefined. | | Returns the tracknumber padded to two digits from the left with zeroes. The tracknumber is taken from the tracknumber tag; if that does not exist, it is taken from the track tag. If neither exist, this field is undefined. | ||
|} | |||
{| border=1 cellspacing=0 cellpadding=2 style="" | |||
! colspan="2" style="font-size:larger" | Technical information | |||
|- | |||
! %bitrate% | |||
| Defined as ''$if2($info(bitrate_dynamic),$info(bitrate))''. Returns the current bitrate, if available, otherwise it returns the average bitrate. If neither is available, nothing is returned. | |||
|- | |||
! %channels% | |||
| Defined as ''$channels()''. Returns the number of channels in text form; returns "mono" and "stereo" instead of "1" and "2". | |||
|- | |||
! %filesize% | |||
| Defined as ''%_filesize%''. Returns the filesize in bytes. | |||
|- | |||
! %samplerate% | |||
| Defined as ''$info(samplerate)''. Returns the samplerate in Hz. | |||
|- | |||
! %codec% | |||
| Defined as ''$codec()''. | |||
|} | |} |
Revision as of 02:20, 15 May 2006
is there a way to change the field remappings? for instance, i want to make use of the MB-supplied ORIGYEAR field when possible for the %DATE% field.. --Herr klang 15:33, 12 Jun 2005 (CDT)
IMO, this page is too complicated and too long. Suggest a table formatted version. See titleformat_help.html in your foobar program directory. Perhaps this page should exist as an expanded version to be consistent? --Reglib 02:01, 3 May 2006 (CDT)
Metadata | |
---|---|
%album artist% | Defined as $if3($meta(album artist),$meta(artist),$meta(composer),$meta(performer)). |
%album% | Defined as $if3($meta(album),$meta(venue)). |
%artist% | Defined as $if3($meta(artist),$meta(album artist),$meta(composer),$meta(performer)). |
%disc%
%discnumber% |
Returns the disc number. The disc number is taken from the discnumber tag; if that does not exist, it is taken from the disc tag. If neither exist, the field is undefined. |
%track artist% | Defined as $meta(artist), if $meta(album artist) is different than $meta(artist), otherwise this field is empty. |
%title% | Defined as $if2($meta(title),%_filename%). Returns the title tag if available, otherwise it returns the filename excluding the extension. |
%track%
%tracknumber% |
Returns the tracknumber padded to two digits from the left with zeroes. The tracknumber is taken from the tracknumber tag; if that does not exist, it is taken from the track tag. If neither exist, this field is undefined. |
Technical information | |
---|---|
%bitrate% | Defined as $if2($info(bitrate_dynamic),$info(bitrate)). Returns the current bitrate, if available, otherwise it returns the average bitrate. If neither is available, nothing is returned. |
%channels% | Defined as $channels(). Returns the number of channels in text form; returns "mono" and "stereo" instead of "1" and "2". |
%filesize% | Defined as %_filesize%. Returns the filesize in bytes. |
%samplerate% | Defined as $info(samplerate). Returns the samplerate in Hz. |
%codec% | Defined as $codec(). |