Foobar2000 Talk:Title Formatting Reference: Difference between revisions

From Hydrogenaudio Knowledgebase
(deleted suggested edits that i added)
(Metada mockup)
Line 2: Line 2:


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? --[[User:Reglib|Reglib]] 02:01, 3 May 2006 (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? --[[User:Reglib|Reglib]] 02:01, 3 May 2006 (CDT)
{| border=1 cellspacing=0 cellpadding=2 style=""
! colspan="2" style="font-size:150%" | 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.
|}

Revision as of 02:12, 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.