Useful foobar2000 formatting strings

Formatting for djing




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



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

$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

query string to use with


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

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



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

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