Masking help for multiple and single CD albums

Get answers about the current version of MediaMonkey for Windows

Moderator: Gurus

mspendl828
Posts: 1
Joined: Thu Jun 12, 2025 5:35 am

Masking help for multiple and single CD albums

Post by mspendl828 »

Hello

I'm hoping someone is able to help me work out how I can get a mask to get my files organised how I'd ideally like them, if it's even possible.

What I'm trying to do is have albums that are a single CD to have the music files in the main album folder, but for multiple disc albums to be broken down by disc.

So for Big Star's '#1 Record' all the files are in the '#1 Record' folder.

But for Big Star's 'Keep An Eye on the Sky' boxset there are subfolders of CD1, CD2, CD3 and CD4 which contain the files.

I've managed to get as far as having this as my organisation path

<Album Artist>\<Album>$if(<Disc#>>1,\CD<Disc#:2>)

Which almost works! Single CD albums are OK, but for boxsets I have the files for CD1 in the main album folder, and the subfolders are only created for CD2 onwards.

Is it possible for me to tell MM to check if there are more than one discs on the metadata and to create subfolders for each if there is, but not create any subfolders if there is only Disc 1?

Or is the only solution to go through all my albums which only have one disc and remove the disc number metadata entirely?

Thanks! :)
Lowlander
Posts: 58458
Joined: Sat Sep 06, 2003 5:53 pm

Re: Masking help for multiple and single CD albums

Post by Lowlander »

Mask reference: https://www.mediamonkey.com/wiki/WebHel ... le_Formats

Use $if(<Disc#>,CD<Disc#:2>)

However this only works if single disc Albums have no Disc# value. Otherwise there is no way to accomplish the task (ie. there is no evaluation for number of discs on an Album).
yarguy
Posts: 397
Joined: Mon Apr 09, 2012 8:34 am

Re: Masking help for multiple and single CD albums

Post by yarguy »

Here is the mask I use to organise jazz albums.

C:\Jazz Albums\<Album Artist>\<Album>\$if(<Disc #>,Disc <Disc #>\)<Track #:2> <Title>

So the first track of a one disk albums would be saved as:

C:/Jarrett, Keith/New Vienna/01 New Vienna Part I.flac

while the two discs of a 2 disc album would be saved as

C:/Keith, Jarrett/Munich 2016/Disc 1/01 Part I.flac
C:/Keith, Jarrett/Munich 2016/Disc 2/01 Part VIII.flac

and this what I use for classical albums

C:\Classical Recordings\<Album>\$if(<Disc #>,Disc <Disc #>\)<Track #:2> <Title>

The only difference is that jazz albums are organised by Album Artist and the Classical ones by Album title. To make it work properly, albums with only one disc/lp need to have a blank in the Disc field in MM. Also I probably should fix the disc part to

$if(<Disc #>,Disc ,<Disc #:2>)

so that the disc subfiles would sort properly if there more than niine discs in a box set. In this case Munich 2016 would be saved as

C:/Keith, Jarrett/Munich 2016/Disc 01/01 Part I.flac
C:/Keith, Jarrett/Munich 2016/Disc 02/01 Part VIII.flac

Or even to

$if(<Disc #>,Disc ,<Disc #:3>)

in case some rich person were to buy me one of those ludicrously large everything a conducter ever conducted boxes that the classical labels soimetimes put out.
Post Reply