Page 2 of 3
Posted: Sat Mar 15, 2008 5:22 pm
by trixmoto
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'.
Posted: Sat Mar 15, 2008 5:28 pm
by Bex
I don't think any of the functions in the first post has been implemented yet.
Jiri posted them after 1140 was released.
Posted: Sat Mar 15, 2008 6:07 pm
by MoDementia
MoDementia wrote:
EDIT: Bah going by the date these arent in 1140 yet I'm guessing

Hence they probably wont work

Posted: Sat Mar 15, 2008 6:36 pm
by trixmoto
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!

Re: New mask functions
Posted: Mon Mar 24, 2008 4:40 am
by spacefish
jiri wrote:- $MovePrefix(string) - Moves starting 'The' to the end of string, i.e. 'The Beatles' -> 'Beatles, The'
OMG. Thank you for this one especially and all the rest. I just tried this in 1147 and it works PERFECTLY!
Cheers,
Paula
Posted: Mon Mar 24, 2008 10:50 pm
by K1LL3M
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

Posted: Tue Mar 25, 2008 12:57 am
by Seeker
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

Does this work for you?
path\<AlbumArtist>\<year> - <Album>\$IF(<Disc#>,<Disc#> - <Album>$\,)Track # & name
note - I followed your convention - these won't work exactly correctly with mediamonkey rules.
Re: New mask functions
Posted: Tue Mar 25, 2008 1:44 am
by drjboulder
spacefish wrote:jiri wrote:- $MovePrefix(string) - Moves starting 'The' to the end of string, i.e. 'The Beatles' -> 'Beatles, The'
OMG. Thank you for this one especially and all the rest. I just tried this in 1147 and it works PERFECTLY!
Cheers,
Paula
I am just
so stupid with masks!:oops:
Could someone help me out with my simple mask:
Code: Select all
C:\Users\Drock\Music\MP3s\<Artist>\<Year> - <Album>\<Artist> - <Album> - <Track#> - <Title>
I want The Beatles to be Beatles, The. Not for the file but for the Explorer folder. Can not figure out what to do with: $MovePrefix(string)
Re: New mask functions
Posted: Tue Mar 25, 2008 1:59 am
by MoDementia
I'm Guessing this should work
Code: Select all
C:\Users\Drock\Music\MP3s\$MovePrefix(<Artist>)\<Year> - <Album>\<Artist> - <Album> - <Track#> - <Title>
Re: New mask functions
Posted: Tue Mar 25, 2008 2:34 am
by drjboulder
MoDementia wrote:I'm Guessing this should work
Code: Select all
C:\Users\Drock\Music\MP3s\$MovePrefix(<Artist>)\<Year> - <Album>\<Artist> - <Album> - <Track#> - <Title>
Yeah, thanks Mode, that was it.

Do not know why I have
so much trouble with masks!
Posted: Tue Mar 25, 2008 3:43 am
by benzo8
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?
Posted: Tue Mar 25, 2008 3:53 am
by jiri
$Group() or $Left(,1) functions should help you (for one letter they do actually the same).
Jiri
Posted: Tue Mar 25, 2008 4:12 am
by benzo8
Thanks - I thought I'd tried $First, but maybe I did it wrong. Anyhow, I've gone back to .1140 for the time being - too many showstopper crashes in .1147 for my liking at the moment. I'll play with the new mask functions again when a more stable build is released.
Posted: Tue Mar 25, 2008 10:16 am
by benzo8
OK, using Petr's fixed .1147 binary, the following now works as expected:
Code: Select all
d:\albums\$Group($RemovePrefix(<Album Artist>),1)\<Album Artist>\<Album>\$if(<Track#>,<Track#>. ,)<Title> - <Artist>
Thanks for the help guys...
Posted: Sun Mar 30, 2008 5:52 am
by spacefish
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
Code: Select all
E:\Music\$First($MovePrefix(<Album Artist>))\<Album>\
just removes the prefix, it doesn't move it:
Code: Select all
E:\Music\Vadim\Architects of the Great\
It should look like this:
Code: Select all
E:\Music\Vadim, DJ\Architects of the Great\
$MovePrefix works properly otherwise, just not with $First.