User Auto-Organize File Masks Examples: Difference between revisions
m ("revert" Damaged page formatting with my contrib (<code> tags do nbot work as expected). Will try and republish) |
|||
Line 1: | Line 1: | ||
This is for users to post their favourite | This is for users to post their favourite [http://www.mediamonkey.com/wiki/index.php/WebHelp:Configuring_Directory_and_File_Formats/4.0 auto-organize masks] and an example path/filename with an optional description. | ||
---- | ---- | ||
= | = [[User:Teknojnky|Teknojnky]] = | ||
== 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 | ||
= | = [[User:NoHitter151|NoHitter151]] = | ||
== 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 | ||
= | = [[User:Mintsoft|Mintsoft]] = | ||
== 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 | ||
= | = [[User:DeanCB|DeanCB]] = | ||
== 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 | ||
= | = [[User:Maaspuck|Maaspuck]] = | ||
== 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 | ||
= | = [[User:Drewbie|Drewbie]] = | ||
== 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 124: | Line 124: | ||
(second field = if statement CODE BELOW) | (second field = if statement CODE BELOW) | ||
<code>$if(<Filename:10>=incomplete,x:\<Path>,<Album Artist>\<Album> </code> | <code>$if(<Filename:10>=incomplete,x:\<Path>,<Album Artist>\<Album> </code> | ||
(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. | ||
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. | 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 | ||
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 | |||
Revision as of 12:12, 19 May 2012
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