PDA

View Full Version : foobar mass-tagger file rename syntax ???


theReal
5th March 2006, 16:05
I was just trying to use foobar's (v.0.8.3) file rename tool with my own file-naming scheme, but I can't figure out the syntax.

There are presets, but you can't see the syntax these presets are using nor can you edit the presets. All I found through google was that I should be able to use " %artist% ... " and so on, but as soon as I type "%" foobar reports a syntax error.

Does anybody know the correct syntax for this tool?

breez
5th March 2006, 16:12
http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Reference

As soon as you type just % there is a syntax error (because just "%" isn't proper). Complete the typing and it works.

theReal
5th March 2006, 20:51
Thanks! Should've typed further... :o

One more question: the tracknumber is still a mystery to me. If I write "%track%" the return value is "?", if I write the (supposedly equal) "%tracknumber%" the correct number is returned, but only one digit. In the presets the tracknumber is returned in two digits - how can I do that? Do I have to write a function (please no :scared: ) or is there an easier way?

breez
5th March 2006, 21:10
$num(%tracknumber%,2) returns the track number with two digits (looked at the presets).

theReal
5th March 2006, 22:05
(looked at the presets).Where do you actually see the presets? All I see is the name of the preset which is something like "nn. title".
I can't find a button to see or edit the presets' syntax.
(prolly just being blind again, sorry :o )

breez
5th March 2006, 22:26
Not blind at all! Double-clicking on the preset allows to edit it, but there's no indication of that anywhere to be seen.

theReal
6th March 2006, 19:36
*Annyoed Grunt* ;)

Thanks a lot!