Hi there!
I started using Mp3Tag a while ago, and let me tell you it was love at first sight. It's such a nifty piece of software, and it has saved me literally thousands of hours of work, trying to perfect my digital audio collection. Thank you for that!
Now there however seems to be trouble in paradise, and I have run into some problems, which I hope that you can help me to sort of. It takes some explaining however, so please bare with me.
This is what my folder structure looks like
Genre\Artist(Year) Album\Track - Title
Here it is put to practical use, further exemplified by the (in my opinion) masterful works of Periphery:
Djent\Periphery(2015) Juggernaut_ Alpha\01 - A Black Minute
For this i simply convert FILENAME to TAG using the following format string:
%genre%\%albumartist%(%year%) %album%\%track% - %title%
This works great, UNLESS the album in question is a double CD, box set or any other media type which consists of two or more discs. Since then an extra level of folders is added to the mix, inbetween the album name and the actual tracks - generating the following structure:
Genre\Artist(Year) Album<i>Discnumber\Track - Title
Now my format string no longer works, and I have to manually edit it for it to function properly. Which I for certain am able to do, but I don't have to, do I? This leading us to the core and the main question of this thread - I'm simply wondering if there's a way to grab the disc number from a file name and convert it to a tag, Only if there are disc number folders (maybe using an IF statement)? And if so: How do I do it?
I've been tinkering with it myself, but to no avail. It would seem I simply lack the coding skills necessary - any help is much appreciated. Thanks in advance!
// Johan Wendesten