User Auto-Organize File Masks Examples: Difference between revisions
mNo edit summary |
|||
Line 3: | Line 3: | ||
---- | ---- | ||
= <a href="User:Teknojnky">Teknojnky</a> = | = <a href="User:Teknojnky">Teknojnky</a> = | ||
== Mask == | == Mask == | ||
<code>$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) </code> | <code>$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) </code> | ||
== Examples == | == Examples == | ||
*\Music\A\A Perfect Circle\2004 - eMOTIVe\02 - A Perfect Circle - Imagine.mp3 | *\Music\A\A Perfect Circle\2004 - eMOTIVe\02 - A Perfect Circle - Imagine.mp3 | ||
Line 17: | Line 17: | ||
*\Music\_Various\2007 - Endzeit Bunkertracks, Act 3 (disc 2- Torture session)\01 - Faderhead - Dirtygrrrls - Dirtybois (Modulate mix).flac | *\Music\_Various\2007 - Endzeit Bunkertracks, Act 3 (disc 2- Torture session)\01 - Faderhead - Dirtygrrrls - Dirtybois (Modulate mix).flac | ||
= <a href="User:NoHitter151">NoHitter151</a> = | = <a href="User:NoHitter151">NoHitter151</a> = | ||
== Mask == | == Mask == | ||
<code>D:\Music\$MovePrefix(<Album Artist>)\$if(<Album Artist>=Various,<Album>)$if(<Album Artist>=Original Soundtrack,<Album>)$if(<Album Artist>=Various Artists,<Album>)\<Artist> - <Title></code> | <code>D:\Music\$MovePrefix(<Album Artist>)\$if(<Album Artist>=Various,<Album>)$if(<Album Artist>=Original Soundtrack,<Album>)$if(<Album Artist>=Various Artists,<Album>)\<Artist> - <Title></code> | ||
== Examples == | == Examples == | ||
*D:\Music\Beatles, The\The Beatles - Blackbird.mp3 | *D:\Music\Beatles, The\The Beatles - Blackbird.mp3 | ||
Line 31: | Line 31: | ||
*D:\Music\Various Artists\Armageddon- The Album\Aerosmith - I Don't Want to Miss A Thing.mp3 | *D:\Music\Various Artists\Armageddon- The Album\Aerosmith - I Don't Want to Miss A Thing.mp3 | ||
= <a href="User:Mintsoft">Mintsoft</a> = | = <a href="User:Mintsoft">Mintsoft</a> = | ||
== Version 1 == | == Version 1 == | ||
=== Mask === | === Mask === | ||
<code>.\$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> </code> | <code>.\$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> </code> | ||
=== Examples === | === Examples === | ||
*Standard track from an album: | *Standard track from an album: | ||
Line 52: | Line 52: | ||
**.\Armin van Buuren\Imagine\Armin van Buuren feat. Sharon den Adel - Imagine - 02 - Going Wrong.mp3 | **.\Armin van Buuren\Imagine\Armin van Buuren feat. Sharon den Adel - Imagine - 02 - Going Wrong.mp3 | ||
== Version 2 == | == 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" | 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 === | === Mask === | ||
<code>.\$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> </code> | <code>.\$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> </code> | ||
=== Examples === | === Examples === | ||
*Standard track from an album: | *Standard track from an album: | ||
Line 73: | Line 73: | ||
**.\Armin van Buuren\Imagine\Armin van Buuren - Imagine - 02 - Going Wrong.mp3 | **.\Armin van Buuren\Imagine\Armin van Buuren - Imagine - 02 - Going Wrong.mp3 | ||
= <a href="User:DeanCB">DeanCB</a> = | = <a href="User:DeanCB">DeanCB</a> = | ||
== Mask == | == Mask == | ||
<code>J:\Music\$if(<Grouping>,<Grouping>,<Genre>)\$if(<Grouping>,\,<Album Artist>\)<Album>\$if(<Disc#>,\Disc <Disc#:2>\)$if(<Track#>,<Track#:2> - )<Artist> - <Title> </code> | <code>J:\Music\$if(<Grouping>,<Grouping>,<Genre>)\$if(<Grouping>,\,<Album Artist>\)<Album>\$if(<Disc#>,\Disc <Disc#:2>\)$if(<Track#>,<Track#:2> - )<Artist> - <Title> </code> | ||
== Examples == | == Examples == | ||
This mask allows for different sorting based on the "Grouping" field. | This mask allows for different sorting based on the "Grouping" field. | ||
Line 90: | Line 90: | ||
**J:\Music\Country\Johnny Cash\Unearthed\Disc 01\14 - Johnny Cash - No Earthly Good.mp3 | **J:\Music\Country\Johnny Cash\Unearthed\Disc 01\14 - Johnny Cash - No Earthly Good.mp3 | ||
= <a href="User:Maaspuck">Maaspuck</a> = | = <a href="User:Maaspuck">Maaspuck</a> = | ||
== Mask == | == Mask == | ||
=== German version === | === German version === | ||
<code>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>) </code> | <code>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>) </code> | ||
=== English version === | === English version === | ||
<code>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>) </code> | <code>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>) </code> | ||
== Examples & Description == | == Examples & Description == | ||
*Tracks without a known artist go to F:\MP3\_unknown\<Title>.mp3 | *Tracks without a known artist go to F:\MP3\_unknown\<Title>.mp3 | ||
Line 115: | Line 115: | ||
*For Soundtracks, Samplers and normal albums subdirectories 'CDX' are created in case of multiple disc albums | *For Soundtracks, Samplers and normal albums subdirectories 'CDX' are created in case of multiple disc albums | ||
= <a href="User:Drewbie">Drewbie</a> = | = <a href="User:Drewbie">Drewbie</a> = | ||
== Mask == | == Mask == | ||
LEAVE DOWNLOADING TRACKS IN DL DIR UNTIL FINISHED AND THEN MOVE TO LIBRARY | LEAVE DOWNLOADING TRACKS IN DL DIR UNTIL FINISHED AND THEN MOVE TO LIBRARY | ||
Line 125: | Line 125: | ||
(second field = if statement CODE BELOW) | (second field = if statement CODE BELOW) | ||
<code></code> | <code></code> | ||
<code>$if(<Filename:10>=incomplete,x:\<Path>,<Album Artist>\<Album> </code> | <code>$if(<Filename:10>=incomplete,x:\<Path>,<Album Artist>\<Album> </code> | ||
<br> | |||
(third field = track tittle with closing paren , ie <Track #> - <Title>)) | (third field = track tittle with closing paren , ie <Track #> - <Title>)) | ||
== Examples == | == 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. | 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. | ||
Line 141: | Line 141: | ||
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 | 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 | ||
<br> | |||
<br> | <br> | ||
= <a href="User:Rojer">Rojer</a> = | = <a href="User:Rojer">Rojer</a> = | ||
Here are two simple masks I use in MM4. Field names in the following examples are French, you will need to translate them to your db language.<br> | Here are two simple masks I use in MM4. Field names in the following examples are French, you will need to translate them to your db language.<br> | ||
'''Video:''' | '''Video:''' | ||
== Mask == | == Mask == | ||
RootFolder\T:\Data\mes Vidéos\Films\$If(<s>,<Séries>,<Titre> - <Réalisateur>$If(<Année>, [<Année>]))\$If(<Séries>,$If(<Année>, [<Année>] )<Réalisateur> - <Titre> - <Acteur>,$If(<Année>,<Titre>) - <Acteur>)</s> | |||
RootFolder\T:\Data\mes Vidéos\Films\$If(< | |||
Since MM4 now handles video libraries extensively, this simple mask with conditional series and dates might help keeping things tidy. | <s>Since MM4 now handles video libraries extensively, this simple mask with conditional series and dates might help keeping things tidy.</s> | ||
In case you use subtitles, you might consider installing trixmoto's MoveFiles script and have srt, ssa and whatnot files move along while reorganizing. Careful with this mask, in case your video root folder is buried in far deep the disk tree. In that case, remove the actors from path altogether or move closer to the root. | <s>In case you use subtitles, you might consider installing trixmoto's MoveFiles script and have srt, ssa and whatnot files move along while reorganizing. Careful with this mask, in case your video root folder is buried in far deep the disk tree. In that case, remove the actors from path altogether or move closer to the root.</s> | ||
== Examples == | <s> | ||
== Examples == | |||
*T:\Data\mes Vidéos\Films\The Bourne Trilogy\[2003] Doug Liman - The Bourne Identity - Franka Potente; Matt Damon; Chris Cooper; Clive Owen; Brian Cox.mp4<br> | *T:\Data\mes Vidéos\Films\The Bourne Trilogy\[2003] Doug Liman - The Bourne Identity - Franka Potente; Matt Damon; Chris Cooper; Clive Owen; Brian Cox.mp4<br> | ||
*T:\Data\mes Vidéos\Films\Blood Diamond - Edward Zwick [2007]\Blood Diamond - Leonardo DiCaprio; Arnold Vosloo; Djimon Hounsou; Michael Sheen.mp4<br><br> | *T:\Data\mes Vidéos\Films\Blood Diamond - Edward Zwick [2007]\Blood Diamond - Leonardo DiCaprio; Arnold Vosloo; Djimon Hounsou; Michael Sheen.mp4<br><br> | ||
Line 168: | Line 168: | ||
== Mask == | == Mask == | ||
This simple mask uses artist or album artist, depending on whether they're identical or not, for the album parent file. The artist is used in file name if different. Disc# subfolder when relevant. The extension field also saves BPM information for non mp3 files. Explanation of this odd looking feature: while mp3's will be reanalyzed effortlessly, it takes more work to determine | RootFolder\<Extension>\<Genre>\<Artiste de l'album>\$If(<Année>,[<Année>] )<Album>$If(<Disque n°>,\Disque <Disque n°:2>)\<Piste n°:3>$If(<Artiste><><Artiste de l'album>, - <Artiste>) - <Titre>$If(<Extension><>mp3, [<BPM:3>bpm]) | ||
This simple mask uses artist or album artist, depending on whether they're identical or not, for the album parent file. The artist is used in file name if different. Disc# subfolder when relevant. The extension field also saves BPM information for non mp3 files. Explanation of this odd looking feature : while mp3's will be reanalyzed effortlessly, it takes a more work to determine store flac and ogg bpm info with free software. In case of db loss or tags deletion, this will allow for easy recovery with "tags from filenames". | |||
For the time being, I have different root folders for my music files, depending on their extension. It becomes less relevant, disks being huge and cheap, but it still has its uses. | For the time being, I have different root folders for my music files, depending on their extension. It becomes less relevant, disks being huge and cheap, but it still has its uses. | ||
Track number set at 3 digits. I | Track number set at 3 digits. I found some huge compilations with over 100 tracks. You can safely set this to 2 (<Piste n°:2>) if you dislike all this zeroes in path. | ||
== Examples == | |||
</s> | |||
*T:\Data\Ma musique\Songs\flac\Guitar Heroes\Pink Floyd & David Gilmour\[1977] Animals\004 - Pink Floyd - Sheep [131bpm].flac | <s> | ||
#T:\Data\Ma musique\Songs\Flac\Pop Rock\Sarah McLachlan\[1989] Touch\005 - Tough [112bpm].flac | |||
#T:\Data\Ma musique\Songs\mp3\Guitar Heroes\Pink Floyd & David Gilmour\[2007] Remember That Night\Disque 02\013 - David Gilmour - High hopes (From The BBC Mermaid Theatre Concert).mp3</s> | |||
*<s>T:\Data\Ma musique\Songs\flac\Guitar Heroes\Pink Floyd & David Gilmour\[1977] Animals\004 - Pink Floyd - Sheep [131bpm].flac</s> |
Revision as of 11:59, 19 May 2012
This is for users to post their favourite <a href="http://www.mediamonkey.com/wiki/index.php/WebHelp:Configuring_Directory_and_File_Formats/4.0">auto-organize masks</a> and an example path/filename with an optional description.
<a href="User:Teknojnky">Teknojnky</a>
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
<a href="User:NoHitter151">NoHitter151</a>
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
<a href="User:Mintsoft">Mintsoft</a>
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
<a href="User:DeanCB">DeanCB</a>
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
<a href="User:Maaspuck">Maaspuck</a>
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
<a href="User:Drewbie">Drewbie</a>
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
<a href="User:Rojer">Rojer</a>
Here are two simple masks I use in MM4. Field names in the following examples are French, you will need to translate them to your db language.
Video:
Mask
RootFolder\T:\Data\mes Vidéos\Films\$If(,<Séries>,<Titre> - <Réalisateur>$If(<Année>, [<Année>]))\$If(<Séries>,$If(<Année>, [<Année>] )<Réalisateur> - <Titre> - <Acteur>,$If(<Année>,<Titre>) - <Acteur>)
Since MM4 now handles video libraries extensively, this simple mask with conditional series and dates might help keeping things tidy.
In case you use subtitles, you might consider installing trixmoto's MoveFiles script and have srt, ssa and whatnot files move along while reorganizing. Careful with this mask, in case your video root folder is buried in far deep the disk tree. In that case, remove the actors from path altogether or move closer to the root.
Examples
- T:\Data\mes Vidéos\Films\The Bourne Trilogy\[2003] Doug Liman - The Bourne Identity - Franka Potente; Matt Damon; Chris Cooper; Clive Owen; Brian Cox.mp4
- T:\Data\mes Vidéos\Films\Blood Diamond - Edward Zwick [2007]\Blood Diamond - Leonardo DiCaprio; Arnold Vosloo; Djimon Hounsou; Michael Sheen.mp4
Music:
Mask
RootFolder\<Extension>\<Genre>\<Artiste de l'album>\$If(<Année>,[<Année>] )<Album>$If(<Disque n°>,\Disque <Disque n°:2>)\<Piste n°:3>$If(<Artiste><><Artiste de l'album>, - <Artiste>) - <Titre>$If(<Extension><>mp3, [<BPM:3>bpm])
This simple mask uses artist or album artist, depending on whether they're identical or not, for the album parent file. The artist is used in file name if different. Disc# subfolder when relevant. The extension field also saves BPM information for non mp3 files. Explanation of this odd looking feature : while mp3's will be reanalyzed effortlessly, it takes a more work to determine store flac and ogg bpm info with free software. In case of db loss or tags deletion, this will allow for easy recovery with "tags from filenames".
For the time being, I have different root folders for my music files, depending on their extension. It becomes less relevant, disks being huge and cheap, but it still has its uses.
Track number set at 3 digits. I found some huge compilations with over 100 tracks. You can safely set this to 2 (<Piste n°:2>) if you dislike all this zeroes in path.
Examples
- T:\Data\Ma musique\Songs\Flac\Pop Rock\Sarah McLachlan\[1989] Touch\005 - Tough [112bpm].flac
T:\Data\Ma musique\Songs\mp3\Guitar Heroes\Pink Floyd & David Gilmour\[2007] Remember That Night\Disque 02\013 - David Gilmour - High hopes (From The BBC Mermaid Theatre Concert).mp3
T:\Data\Ma musique\Songs\flac\Guitar Heroes\Pink Floyd & David Gilmour\[1977] Animals\004 - Pink Floyd - Sheep [131bpm].flac