Useful foobar2000 formatting strings

Formatting for djing

TINT

$num(%barcode%,14)-$num($max(1.%disc%),2)-$num(%track%,2)

Date

To display dates from tango.info properly (only confirmed dates with correct formatting)

$if2($greater($strstr(%date%,'--'),0),$date($left(%date%,10)))

Album

To get album names including catalognumber and artist, e.g. ‘CTA261 Adolfo Carabelli Vol.1 (1931-1933)‘ I use this formatting string with the %album_pubcode% and %album_name% and %artist% from tango.info:

$replace($replace(%catalognumber%,' ',),'-',) %artist% %album%

Use the above with the automatically fill values tool from the properties dialogue. Choose source ‘Other’ and set the above as source. Use it to fill the album tag. (Assumes you have tagged your files with catalognumber, of course.)

File structure

Set all artists with more than one album artist (containing ‘,’) to Varios:

$if($strstr(%album artist%,','),Varios,%album artist%)

Use Varios for Various Artists albums, %artistsort% for the rest (included in the following formatting string):

$if($strstr(%album artist%,Varios),Varios,%artistsort%)

Use for file structure (copy/move, assumes Various Artists albums are tagged with %album artist% Varios and others have %artistsort% defined) :

$lower(%codec%)\$ascii($if($strstr(%album artist%,Varios),Varios,%artistsort%))\$ascii(%album%)[ if2(%catalognumber%,%barcode%)]\$ifgreater(%totaldiscs%,1,[$num(%disc%,2).],%track%) $ascii(%title%)

Tagging from tango.info

query string to use with http://tools.tango.info/tagger1.3.2.php

%tin%;%album_name%;%album_artist%;%track_orch%;%discnumber%;%track%;%title%;%genre%;%date%;%album_pubcode%;%track_voca%;%album_dqty%

Corresponding string to use in fb2k (fill from values):

%tin%;%album%;%album artist%;%artist%;%disc number%;%track number%;%title%;%genre%;%date%;%catalognumber%;%performer%;%totaldiscs%

For submission to tango.info

Following the metadata submission guidelines at tango.info. Useful in combination with text tools module.

[$num(%barcode%,14)];%album%;$if2(%ALBUMARTIST%,%artist%);cd;%discnumber%;%track%;%title%;[%genre%];%artist%;[%performer%];[%date%];%_length%

Misc

To put the singer in parenthesis after track title (saving screen real estate):

%title%[ '('$ifgreater($len(%performer%),1,%performer%,)')']
comments powered by Disqus