Help - Search - Members - Calendar
Full Version: Advanced File Opertations, Disc Number
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
HexagonSun
I've developed a rather thorough string to keep my library organized using the move command in File Operations:

\$swapprefix(%album artist%)\['['%date%']'] %album% '['%codec%[ %codec_profile%]']'\%tracknumber% - %title%

My main goal now is to get all multi-disc albums to split the files into a folder for each disc.

For instance:
Armin Van Buuren>10 Years>Disc 1>Tracks
Armin Van Buuren>10 Years>Disc 2>Tracks

I do not, however, want to create a separate "disc" folder for any single disc releases. I'd rather keep all the tracks in the normal album folder. I'd also like to keep any album art in the album folder. Basically, I need a tag that says "If %totaldiscs% is greater than 1, create a folder for each disc." I've gotten pretty good with titleformatting, but that is just too much for me.
thuan
Here's you go:
CODE
\$swapprefix(%album artist%)\['['%date%']'] %album% '['%codec%[ %codec_profile%]']'\$if($and($greater(%totaldiscs%,1),%discnumber%),Disc %discnumber%\)%tracknumber% - %title%
HexagonSun
Thanks so much Thuan, you're a gentleman and a scholar.
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.