Folder naming help

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

Mummraah
Posts: 5
Joined: Sun Jan 20, 2019 7:19 am

Folder naming help

Post by Mummraah »

I'm attempting to rename my folder structure and am hitting a brick wall.

I've been using the instructions on https://www.mediamonkey.com/wiki/index. ... ormats/4.0 but still can't get it right.

The difficulties I am having are Ablum Artists with 'The' prefix and those that start with a number or character.

All my ablum artists with 'The' as a prefix are named with the prefix at the beginning, so 'The Beatles' instead of 'Beatles, The' I've also added 'The' as a prefix to be ignored in Options/Library/Appearance. Ideally I would like to retain this in the library whilst having my folder structure replicate this.

What I'm after is:

Top folders with A, B, C, D....X, Y, Z, '0-9 #'

Then the following:

\$MovePrefix(<Album Artist>)\<Date> - <Album>\<Track#:3> <Artist> - <Title>

eg \B\Beatles, The\1966 - Revolver\001 The Beatles - Taxman

If I use <Album Artist:1> It still returns \T\Beatles, The\1966 - Revolver\001 The Beatles - Taxman

Uncertain if there is a way to also group album artists starting without a letter into a 0-9 # folder.

Thinking $if(string criteria,truevalue,falsevalue) or $Assign(variable,value) and $Use(variable) would have to be used but that's starting to go over my head.

Cheers
Peke
Posts: 18191
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Folder naming help

Post by Peke »

Hi,
Try "\$if($Left($Upper($RemovePrefix(<Album Artist>)),1)=1..10,0-9,$Left($Upper($RemovePrefix(<Album Artist>)),1))\$MovePrefix(<Album Artist>)\<Date> - <Album>\<Track#:3>. <Artist> - <Title>"
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Mummraah
Posts: 5
Joined: Sun Jan 20, 2019 7:19 am

Re: Folder naming help

Post by Mummraah »

Hi Peke

Thank you. That works grand for A-Z.

Album Artists starting with a number or character get placed in their own individual folders too. Is there any way to put all Album Artists not starting with A-Z into a single folder '0-9 #'
Peke
Posts: 18191
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Folder naming help

Post by Peke »

Hi,
I just checked it works both for Album artist that start with Letter and those that start with Number. Are you sure that you Copy/Paste correctly?

EDIT: If you want to also include Characters You can add additional $If-s "$if($Left($Upper($RemovePrefix(<Album Artist>)),1)=!,#,)" for each Character to Map it to same #, but I would not suggest that as it would be too complicated and very easy to fail, but it will work.

Play around.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Mummraah
Posts: 5
Joined: Sun Jan 20, 2019 7:19 am

Re: Folder naming help

Post by Mummraah »

Thanks Peke.

It is adding the numerical ones to their own individual folders:

\1\10cc\1978 - Bloody Tourists\...
\2\2Pac\1995 - Me Against The World\...

Sorry, I don't think I explained very well in my OP. I'm trying to get the non alphabetical ones into a single folder. so any starting 0-9 or a character would be in a folder called '0-9 #':

\0-9 #\10cc\1978 - Bloody Tourists\...
\0-9 #\2Pac\1995 - Me Against The World\...

Is there a resource or instructions for using the $if function? Alway interested in learning stuff like this if possible.

Cheers
Mummraah
Posts: 5
Joined: Sun Jan 20, 2019 7:19 am

Re: Folder naming help

Post by Mummraah »

Some weird tag issue with me having both 'Album Artist' and 'AlbumArtist' tags is why I can't get it work.

Probably due to me using MP3 tag aswell as MM. Will have a fiddle and see if I can get it sorted. Thanks for the help.
Lowlander
Posts: 58348
Joined: Sat Sep 06, 2003 5:53 pm

Re: Folder naming help

Post by Lowlander »

This may not be the best solution, but it seems to work

Code: Select all

$If($Left($Upper($RemovePrefix(<Artist>)),1)>=A,$If($Left($Upper($RemovePrefix(<Artist>)),1)<=0,$Left($Upper($RemovePrefix(<Artist>)),1),0 9 #),0 9 #)
Mummraah
Posts: 5
Joined: Sun Jan 20, 2019 7:19 am

Re: Folder naming help

Post by Mummraah »

Thanks, wasn't a tag issue. Never realised MM creates Ensemble, AlbumArtist and Album Artist tags.

Somehow managed to get it working (I think) with:

Code: Select all

\$if($Upper($RemovePrefix(<Album Artist@1>)=0-9),0-9,$Upper($RemovePrefix(<Album Artist@1>)))\$MovePrefix(<Album Artist>)\<Date> - <Album>\<Track#:3>. <Artist> - <Title>
Peke
Posts: 18191
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Folder naming help

Post by Peke »

Hi,
Nice, all it needs a bit experimenting :)
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Post Reply