User Auto-Organize File Masks Examples

From MediaMonkey Wiki
Jump to: navigation, search

This is for users to post their favourite auto-organize masks and an example path/filename with an optional description.


Teknojnky

Mask

$left(\Music\$if(<Album Artist>,$if(<Album Artist>=various,_<Album Artist>,$if(<Album Artist>=techno,_<Album Artist>,$if(<Album Artist>=soundtrack,_<Album Artist>,<Album Artist@1>\<Album Artist>))),<Artist@1>\<Artist>)\$if(<Album>,$if(<Year>,<Year> - )<Album>)\$if(<track#>,<track#> - )<Artist> - <Title>,240)

Examples

  • \Music\A\A Perfect Circle\2004 - eMOTIVe\02 - A Perfect Circle - Imagine.mp3
  • \Music\Z\ZZ Top\1983 - Eliminator\01 - ZZ Top - Gimme All Your Lovin'.mp3
  • \Music\_Soundtrack\2006 - V for Vendetta\09 - Cat Power - I Found a Reason.mp3
  • \Music\_Techno\1991 - XL Recordings- The Second Chapter\07 - Cubic 22 - Night in Motion (Original mix).flac
  • \Music\_Various\2007 - Endzeit Bunkertracks, Act 3 (disc 2- Torture session)\01 - Faderhead - Dirtygrrrls - Dirtybois (Modulate mix).flac


NoHitter151

Mask

D:\Music\$MovePrefix(<Album Artist>)\$if(<Album Artist>=Various,<Album>)$if(<Album Artist>=Original Soundtrack,<Album>)$if(<Album Artist>=Various Artists,<Album>)\<Artist> - <Title>

Examples

  • D:\Music\Beatles, The\The Beatles - Blackbird.mp3
  • D:\Music\Original Soundtrack\Juno\Barry Louis Polisar - All I Want Is You.mp3
  • D:\Music\Various\Music from Scrubs\Francis Dunnery - Good Life.mp3
  • D:\Music\Various Artists\Eurotrip\Lustra - Scotty Doesn't Know.mp3
  • D:\Music\Various Artists\Armageddon- The Album\Aerosmith - I Don't Want to Miss A Thing.mp3


Mintsoft

Version 1

Mask

.\$if(<Grouping>=Misc,Misc,<Album Artist>)\$if(<Album>,<Album>\,)$if(<Album Artist>=Various,<Album Artist>, <Artist>) $if(<Album>,- <Album>$if(<Disc#>,$, Disc <Disc#>) - <Track#:2> )- <Title>

Examples

  • Standard track from an album:
    • .\Counting Crows\Counting Crows - August And Everything After - 08 - Sullivan Street.mp3
  • A track from a compilation CD (album artist is Various):
    • .\Various\Various - Radio 1's Live Lounge Vol.2, Disc 1 - 06 - The Prayer [originally by Bloc Party].mp3
  • A random track with no album:
    • .\Misc\Al Green - Here I Am (Come And Take Me).mp3
  • A track from a double album:
    • .\Metallica\Metallica - S&M, Disc 2 - 02 - Until It Sleeps.mp3
  • A track from a remix album:
    • .\Armin van Buuren\Imagine\Armin van Buuren feat. Sharon den Adel - Imagine - 02 - Going Wrong.mp3

Version 2

Like Version 1, but always uses the Album Artist for the filename of the actual MP3 if available instead of only if it is "Various"

Mask

.\$if(<Grouping>=Misc,Misc,<Album Artist>)\$if(<Album>,<Album>\,)$if(<Album Artist>,<Album Artist>,<Artist>) $if(<Album>,- <Album>$if(<Disc#>,$, Disc <Disc#>) - <Track#:2> )- <Title>

Examples

  • Standard track from an album:
    • .\Counting Crows\Counting Crows - August And Everything After - 08 - Sullivan Street.mp3
  • A track from a compilation CD (album artist is Various):
    • .\Various\Various - Radio 1's Live Lounge Vol.2, Disc 1 - 06 - The Prayer [originally by Bloc Party].mp3
  • A random track with no album:
    • .\Misc\Al Green - Here I Am (Come And Take Me).mp3
  • A track from a double album:
    • .\Metallica\Metallica - S&M, Disc 2 - 02 - Until It Sleeps.mp3
  • A track from a remix album:
    • .\Armin van Buuren\Imagine\Armin van Buuren - Imagine - 02 - Going Wrong.mp3


DeanCB

Mask

J:\Music\$if(<Grouping>,<Grouping>,<Genre>)\$if(<Grouping>,\,<Album Artist>\)<Album>\$if(<Disc#>,\Disc <Disc#:2>\)$if(<Track#>,<Track#:2> - )<Artist> - <Title>

Examples

This mask allows for different sorting based on the "Grouping" field.

  • Grouping field set to "Soundtracks"
    • J:\Music\Soundtracks\Resident Evil - Apocalypse\15 - 36 Crazyfists - Bloodwork.mp3
  • Grouping field left unset
    • J:\Music\Hard Rock\Red\End of Silence\07 - Red - Break me Down.mp3
  • Grouping field unset, with a multi-disc album
    • J:\Music\Country\Johnny Cash\Unearthed\Disc 01\14 - Johnny Cash - No Earthly Good.mp3


Maaspuck

Mask

German version

F:\MP3\$if(<Interpret>,$if(<Album Interpret>=Diverse,$if($Left(<Album>,10)=Soundtrack,$if(<Disk#>,_Soundtrack\$Mid(<Album>,14,100)\CD<Disk#>\<Song#:2> - $First(<Interpret>) - <Titel>,_Soundtrack\$Mid(<Album>,14,100)\<Song#:2> - $First(<Interpret>) - <Titel>),$if(<Disk#>,_Sampler\<Album>\CD<Disk#>\<Song#:2> - $First(<Interpret>) - <Titel>,_Sampler\<Album>\<Song#:2> - $First(<Interpret>) - <Titel>)),$if(<Interpret@1>=0-9,0-9\$First(<Interpret>)\$if(<Album>,$if(<Disk#>,<Album>\CD<Disk#>\<Song#:2> - $First(<Interpret>) - <Titel>,<Album>\<Song#:2> - $First(<Interpret>) - <Titel>),$First(<Interpret>) - <Titel>),<Interpret:1>\$First(<Interpret>)\$if(<Album>,$if(<Disk#>,<Album>\CD<Disk#>\<Song#:2> - $First(<Interpret>) - <Titel>,<Album>\<Song#:2> - $First(<Interpret>) - <Titel>),$First(<Interpret>) - <Titel>))),_unknown\<Titel>)

English version

F:\MP3\$if(<Artist>,$if(<Album Artist>=Various,$if($Left(<Album>,10)=Soundtrack,$if(<Disc#>,_Soundtrack\$Mid(<Album>,14,100)\CD<Disc#>\<Track#:2> - $First(<Artist>) - <Title>,_Soundtrack\$Mid(<Album>,14,100)\<Track#:2> - $First(<Artist>) - <Title>),$if(<Disc#>,_Sampler\<Album>\CD<Disc#>\<Track#:2> - $First(<Artist>) - <Title>,_Sampler\<Album>\<Track#:2> - $First(<Artist>) - <Title>)),$if(<Artist@1>=0-9,0-9\$First(<Artist>)\$if(<Album>,$if(<Disc#>,<Album>\CD<Disc#>\<Track#:2> - $First(<Artist>) - <Title>,<Album>\<Track#:2> - $First(<Artist>) - <Title>),$First(<Artist>) - <Title>),<Artist:1>\$First(<Artist>)\$if(<Album>,$if(<Disc#>,<Album>\CD<Disc#>\<Track#:2> - $First(<Artist>) - <Title>,<Album>\<Track#:2> - $First(<Artist>) - <Title>),$First(<Artist>) - <Title>))),_unknown\<Title>)

Examples & Description

  • Tracks without a known artist go to F:\MP3\_unknown\<Title>.mp3
  • Various artist soundtrack albums go to F:\MP3\_Soundtrack\<Album>\<Track#:2> - <artist> - <title>.mp3
  • Album name for soundtracks must start with 'Soundtrack - '
  • Various artist normal albums go to F:\MP3\_Sampler\<Album>\<Track#:2> - <artist> - <title>.mp3
  • For soundtrack and sampler albums <album artist> must be various.
  • Tracks from artist starting with '0' to '9' go to F:\MP3\0-9\<artist>\<artist> - <title>.mp3
  • Tracks of known albums from artist starting with '0' to '9' go to F:\MP3\0-9\<artist>\<album>\<track#:2> - <artist> - <title>.mp3
  • Tracks from artist starting with 'A' go to F:\MP3\A\<artist>\<artist> - <title>.mp3
  • Tracks of known albums from artist starting with 'A' go to F:\MP3\A\<artist>\<album>\<track#:2> - <artist> - <title>.mp3
  • For Soundtracks, Samplers and normal albums subdirectories 'CDX' are created in case of multiple disc albums


Drewbie

Mask

LEAVE DOWNLOADING TRACKS IN DL DIR UNTIL FINISHED AND THEN MOVE TO LIBRARY

(first field = main music Library , ie D:\!!!The Library\)

(second field = if statement CODE BELOW)

$if(<Filename:10>=incomplete,x:\<Path>,<Album Artist>\<Album>

(third field = track tittle with closing paren , ie <Track #> - <Title>))

Examples

The effect of such a mask is to leave the 'incomplete' files in the dir in which they are created until finished. The 'X:\' is put in front of the <path> code (which functions to recreate the current path) , because my 'DL' dir happens to be on a different drive than the one than the one that houses my main Library.

So 'If' filename, first 10 = incomplete , 'then' leave file in current dir 'else' (if filename is normal) , then move to default library dir and tag as normal. It should also be noted that both the default music lib and the default DL dir are both included as auto-scan at start up folders. This is a very simple and powerful mask because you can use it while DL files an not have to physically clean out that dir and move finished files to your library .... let the software do it ... might be some issues when DL software is not running in-line with MM ....cheers


GammaScorpii

Mask

Normal:

F:\Music\$MovePrefix(<Album Artist>)\<Album>\$If(<Album Artist>=Soundtrack,,$If(<Album Artist>=Various Artists,,<Album Artist> - ))<Album>$If(<Disc#>, Disc <Disc#>) - <Track#:2> - $If($First(<Artist>)=<Album Artist>,,$First(<Artist>) - )<Title>

For lowercase and space-free filenames:

F:\Music\$MovePrefix(<Album Artist>)\<Album>\$Replace($Lower($If(<Album Artist>=Soundtrack,,$If(<Album Artist>=Various Artists,,<Album Artist> - ))<Album>$If(<Disc#>, Disc <Disc#>) - <Track#:2> - $If($First(<Artist>)=<Album Artist>,,$First(<Artist>) - )<Title>), ,_)

Examples

This mask creates a complex file naming system useful for huge collections where including artist and album information in the filename is important. It allows for the following:

  • Moving the prefix of the Artist folder for easier searching in OS.
    • F:\Music\Beatles, The\Abbey Road\The Beatles - Abbey Road - 01 - Come Together.flac
  • If an album has a Disc number, the Disc number will be added after the Album title. It is recommended to leave the Disc field empty for single disc albums (otherwise they will all be named Disc 1).
    • F:\Music\Nine Inch Nails\The Fragile\Nine Inch Nails - The Fragile Disc 1 - 11 - La Mer.flac
  • Unique layout for "Soundtrack" and "Various Artists" Album Artist tags that will ignore the Album Artist and put the first Artist after the track number (to remain sorted).
    • F:\Music\Various Artists\If I Were a Carpenter\If I Were a Carpenter - 03 - Sonic Youth - Superstar.flac
    • F:\Music\Soundtrack\Memento\Memento - 13 - David Julyan - Time For My Shot.flac
  • Using the same rule, if the first artist in the Artist field differs from the Album Artist, this mask will also place the first artist after the track number. This is useful in the rare case that an album includes a track that was made by a different artist to the one who released the album.
    • F:\Music\Eric Clapton\Complete Clapton\Eric Clapton - Complete Clapton Disc 1 - 02 - Cream - Sunshine of Your Love.flac
  • This mask also supports the use of multiple artists in the artist field (using a separator such as " ; "). Only the first artist that appears in the field will be used if it has to ("Soundtrack" or "Various Artists" album artist tags). For example, the following track is from a Various Artists album, but the track itself features two artists. "Lady Gaga; Colby O'Donis".
    • F:\Music\Various Artists\Absolute Dance Autumn 2008\Absolute Dance Autumn 2008 Disc 2 - 02 - Lady Gaga - Just Dance.flac
  • Using the "Lowercase and space-free filenames" version, the filename will be converted to lowercase and all spaces will be replaced with underscores.
    • F:\Music\Donovan\The Hurdy Gurdy Man\donovan_-_the_hurdy_gurdy_man_-_01_-_hurdy_gurdy_man.flac
  • Symbols in tags that are illegal in filenames \ / : * ? " < > | should be converted to -


TLD

I use a couple custom fields in my tagging to allow more specific relocation later. I also have gotten tired of some groups having one album marked "Classic Rock", another "Adult Contemporary", and yet another as "Easy Listening"... Since I have some albums that are English, some French, some Japanese, etc., I altered the genres to be such as:


English: Groups
English: Artists
English: Multi-Artist
French: Artists
Seasonal: Christmas
Soundtracks: Television
etc.


So for each language, I have a string that subcategorizes the language, adds exceptions, and makes a nice hierarchy without requiring dozens of masks to have the same results.

Mask: English

English, I made two "exceptions" - one for Children's, and one for Multi-artist (compilation) albums. For these, it doesn't use the Album Artist field, but instead just uses the album title. If I use the wrong category, instead of using the genre, it adds the string "WRONG SELECTION\" to let me know I didn't place them right.
So here's my English auto-organize string, and examples using first an entry from a "Doctor Who" soundtrack, then a "Boa" soundtrack, and finally one of the "compilation" albums I own:
Z:\ServerFolders\Music\$if($left(<Genre>,7)<>English,WRONG SELECTION\)$Replace(<Genre>,- ,\)\$if(<Genre><>English- Children's,$if(<Genre><>English- Multi-Artist,<Album Artist>\))<Album>\<Disc#:2>-<Track#:3>) $first(<Title>,1) - $first(<Artist>,2)

English Examples

Z:\ServerFolders\Music\WRONG SELECTION\Soundtracks\Television\Doctor Who\Doctor Who- Series 5\01-024) Vampires of Venice, The- Vampires of Venice, The - BBC National Orchestra Of Wales; Foster, Ben.mp3
Z:\ServerFolders\Music\English\Groups\Bôa\Twilight\01-012) Duvet (Acoustic) - Bôa.mp3
Z:\ServerFolders\Music\English\Multi-Artist\Totally '80s\02-029) Everybody Wants To Rule The World - Tears For Fears.mp3

Mask: Soundtrack

For the soundtracks ,I use one of the custom fields to detail the show (because many compilation albums are the themes to a myriad of shows, while others are for only one show...) I used the first two songs for this example:
Z:\ServerFolders\Music\$if($left(<Genre>,10)<>Soundtrack,WRONG SELECTION\)$Replace(<Genre>,- ,\)\<Related movie/show>\<Album>\<Disc#:2>-<Track#:3>) $first(<Title>,1) - $first(<Artist>,2)

Soundtrack Examples

Z:\ServerFolders\Music\Soundtracks\Television\Doctor Who\Doctor Who- Series 5\01-024) Vampires of Venice, The- Vampires of Venice, The - BBC National Orchestra Of Wales; Foster, Ben.mp3
Z:\ServerFolders\Music\WRONG SELECTION\English\Groups\Unknown\Twilight\01-012) Duvet (Acoustic) - Bôa.mp3

For the Boa album, there is no entry for "Related movie/show", but as you can see, although they go into the "WRONG SELECTION" folder, they're still sorted into subfolders well enough to have an idea where they should go.

(Hyphens are used in the strings because the colon is automatically replaced by the hyphen for filenames.)