New mask functions
Moderator: Gurus
Also the new parameter for $First doesn't seem to be working in 3.0.3.1140. Instead of the expected...
$First(a;b;c,1,1) returns 'b'.
...I am getting...
$First(a;b;c,1,1) returns 'a;b;c'.
$First(a;b;c,1,1) returns 'b'.
...I am getting...
$First(a;b;c,1,1) returns 'a;b;c'.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
I don't think any of the functions in the first post has been implemented yet.
Jiri posted them after 1140 was released.
Jiri posted them after 1140 was released.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
-
- Posts: 1321
- Joined: Thu Jun 15, 2006 3:26 pm
- Location: Geelong, Victoria, Australia
Oh, I didn't realise. Well they'll be in my "UnAutoOrganised" script before they can actually be used then, cos I've just finished implementing them and am now trying to test them! 

Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: New mask functions
OMG. Thank you for this one especially and all the rest. I just tried this in 1147 and it works PERFECTLY!jiri wrote:- $MovePrefix(string) - Moves starting 'The' to the end of string, i.e. 'The Beatles' -> 'Beatles, The'

Cheers,
Paula

MM Gold 3.0.3.1183 : Vista HP SP1 (x86) : Zen Stone (2GB)
Zekton: An original MM3 skin by Eyal.
Scripts in Use: Add/Remove PlayStat | Auto Album DJ | AutoRateAccurate | Backup
Case & Leading Zero Fixer | Classification & Genre Changer | Clean Scripts.ini | Clear
Field | Custom Report | Discogs Auto-Tag Web Search | Forget Crossfade | Invert
Selection/Select None | Last 100... | Lyricator | Lyrics to Instrumental | MonkeyRok
MusicBrainz Tagger | My Custom Nodes | Now Playing Art Node | Play History & Stats
Right Click for Reports | Right Click for Scripts | Right Click for Web | Stop After Current
WebNodes
Is there a way for these new mask to allow a variation in the tags such as an additional folder, with the disc number, to be added to the mask only if there is multiple discs
E.g.
If album has multiple disks, tag = path\<AlbumArtist>\<year> - <Album>\<Disc#> - <Album>\ Track # & name
Album is single disc - tag = path\<AlbumArtist>\<year> - <Album>\ Track # & name
If this is already available; could someone tell be how please
E.g.
If album has multiple disks, tag = path\<AlbumArtist>\<year> - <Album>\<Disc#> - <Album>\ Track # & name
Album is single disc - tag = path\<AlbumArtist>\<year> - <Album>\ Track # & name
If this is already available; could someone tell be how please

MM4 Gold - Most recent
FLAC Library
Win 7 x64
Monkey spankin' IS a sport
FLAC Library
Win 7 x64
Monkey spankin' IS a sport
Does this work for you?K1LL3M wrote:Is there a way for these new mask to allow a variation in the tags such as an additional folder, with the disc number, to be added to the mask only if there is multiple discs
E.g.
If album has multiple disks, tag = path\<AlbumArtist>\<year> - <Album>\<Disc#> - <Album>\ Track # & name
Album is single disc - tag = path\<AlbumArtist>\<year> - <Album>\ Track # & name
If this is already available; could someone tell be how please
path\<AlbumArtist>\<year> - <Album>\$IF(<Disc#>,<Disc#> - <Album>$\,)Track # & name
note - I followed your convention - these won't work exactly correctly with mediamonkey rules.
-
- Posts: 1119
- Joined: Mon Apr 09, 2007 12:03 am
- Location: Boulder, Colorado, USA
Re: New mask functions
I am just so stupid with masks!:oops:spacefish wrote:OMG. Thank you for this one especially and all the rest. I just tried this in 1147 and it works PERFECTLY!jiri wrote:- $MovePrefix(string) - Moves starting 'The' to the end of string, i.e. 'The Beatles' -> 'Beatles, The'
Cheers,
Paula
Could someone help me out with my simple mask:
Code: Select all
C:\Users\Drock\Music\MP3s\<Artist>\<Year> - <Album>\<Artist> - <Album> - <Track#> - <Title>
D Rock

MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...

MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...
-
- Posts: 1321
- Joined: Thu Jun 15, 2006 3:26 pm
- Location: Geelong, Victoria, Australia
Re: New mask functions
I'm Guessing this should work
Code: Select all
C:\Users\Drock\Music\MP3s\$MovePrefix(<Artist>)\<Year> - <Album>\<Artist> - <Album> - <Track#> - <Title>
-
- Posts: 1119
- Joined: Mon Apr 09, 2007 12:03 am
- Location: Boulder, Colorado, USA
Re: New mask functions
Yeah, thanks Mode, that was it.MoDementia wrote:I'm Guessing this should work
Code: Select all
C:\Users\Drock\Music\MP3s\$MovePrefix(<Artist>)\<Year> - <Album>\<Artist> - <Album> - <Track#> - <Title>

D Rock

MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...

MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...
The $RemovePrefix and $MovePrefix don't appear to handle <Field:x> format:
ie: (where <Album Artist> = "The Fratellis")
$MovePrefix(<Album Artist>) returns "Fratellis, The" as expected
$MovePrefix(<Album Artist:1>) returns "T".
Obviously, the $MovePrefix is being applied after the string reduction, so, in effect, there's no prefix to move. So, how can I finesse this to return "F", as required?
I've tried using $First, as in:
$First($MovePrefix(<Album Artist>),1) returns "Fratellis, The"
Any ideas?
ie: (where <Album Artist> = "The Fratellis")
$MovePrefix(<Album Artist>) returns "Fratellis, The" as expected
$MovePrefix(<Album Artist:1>) returns "T".
Obviously, the $MovePrefix is being applied after the string reduction, so, in effect, there's no prefix to move. So, how can I finesse this to return "F", as required?
I've tried using $First, as in:
$First($MovePrefix(<Album Artist>),1) returns "Fratellis, The"
Any ideas?
OK, using Petr's fixed .1147 binary, the following now works as expected:
Thanks for the help guys...
Code: Select all
d:\albums\$Group($RemovePrefix(<Album Artist>),1)\<Album Artist>\<Album>\$if(<Track#>,<Track#>. ,)<Title> - <Artist>
I was trying to make a mask that would use the first album artist and move the prefix but it doesn't seem to work properly. I'm probably doing it wrong but perhaps it's not possible?
Album Artist = DJ Vadim; Prime Cuts
using the mask
just removes the prefix, it doesn't move it:
It should look like this:
$MovePrefix works properly otherwise, just not with $First.
Album Artist = DJ Vadim; Prime Cuts
using the mask
Code: Select all
E:\Music\$First($MovePrefix(<Album Artist>))\<Album>\
Code: Select all
E:\Music\Vadim\Architects of the Great\
Code: Select all
E:\Music\Vadim, DJ\Architects of the Great\

MM Gold 3.0.3.1183 : Vista HP SP1 (x86) : Zen Stone (2GB)
Zekton: An original MM3 skin by Eyal.
Scripts in Use: Add/Remove PlayStat | Auto Album DJ | AutoRateAccurate | Backup
Case & Leading Zero Fixer | Classification & Genre Changer | Clean Scripts.ini | Clear
Field | Custom Report | Discogs Auto-Tag Web Search | Forget Crossfade | Invert
Selection/Select None | Last 100... | Lyricator | Lyrics to Instrumental | MonkeyRok
MusicBrainz Tagger | My Custom Nodes | Now Playing Art Node | Play History & Stats
Right Click for Reports | Right Click for Scripts | Right Click for Web | Stop After Current
WebNodes