Help - Search - Members - Calendar
Full Version: Diskwriter output format
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
DrGreen
I guess this is my first post here and I did a search with no results so please be kind... biggrin.gif

OK,

What diskwriter formatting string for filenames should I use to make this pattern:

CODE
Artist\Album\Disc X\Tracknumber - Title


Right now I'm using:

CODE
%artist%\%album%\$num(%tracknumber%,2) - %title%


which woks fine for single disc albums, but I can't make it work when there is more than one disc.

I'm using the %disc% tag to specify the disc number.

Also, the format should be the same for single and multi disc albums, being:

CODE
Artist\Album\Disc X\Tracknumber - Title

for albums with several discs

and

CODE
Artist\Album\Tracknumber - Title

for single disc albums.

Thanks!
synth7
CODE

%artist%\%album%\$if(%disc%,Disc %disc%'\',)\$num(%tracknumber%,2) - %title%


Or something to that effect.
DrGreen
Wow.. That was fast! biggrin.gif

I've tried that already, but it doesn't work...

Here's the result:

CODE
F:\MP3\Keith Jarrett\Always Let Me Go\[SYNTAX ERROR IN FORMATTING STRING]\[SYNTAX ERROR IN FORMATTING STRING]\01 - Hearts in space.mp3
foosion
CODE
%artist%\%album%\[Disc %disc%]\$num(%tracknumber%,2) - %title%

A little shorter and should work both on foobar2000 0.8.3 and 0.9 beta.

Edit: Even avoids the formatting error.
DrGreen
QUOTE(foosion @ Sep 19 2005, 01:39 PM)
CODE
%artist%\%album%\[Disc %disc%]\$num(%tracknumber%,2) - %title%

A little shorter and should work both on foobar2000 0.8.3 and 0.9 beta.

Edit: Even avoids the formatting error.
*




Now it works!!

It was the '\' inside the condition..

Thank you guys beer.gif
synth7
darn you foosion tongue.gif

I was gonna do basically exactly what you did, but I didn't know how it'd react to a // if there was no %disc%
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.