Folder naming help

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Folder naming help

Re: Folder naming help

by Peke » Mon Jan 21, 2019 9:44 am

Hi,
Nice, all it needs a bit experimenting :)

Re: Folder naming help

by Mummraah » Sun Jan 20, 2019 4:14 pm

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>

Re: Folder naming help

by Lowlander » Sun Jan 20, 2019 4:11 pm

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 #)

Re: Folder naming help

by Mummraah » Sun Jan 20, 2019 1:05 pm

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.

Re: Folder naming help

by Mummraah » Sun Jan 20, 2019 10:15 am

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

Re: Folder naming help

by Peke » Sun Jan 20, 2019 9:25 am

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.

Re: Folder naming help

by Mummraah » Sun Jan 20, 2019 8:51 am

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 #'

Re: Folder naming help

by Peke » Sun Jan 20, 2019 8:11 am

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>"

Folder naming help

by Mummraah » Sun Jan 20, 2019 7:48 am

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

Top