Page 1 of 1

<'Field'@n> Should behave equally with all fields

Posted: Sun Nov 20, 2016 12:40 am
by Mascis
<'Field'@n> has a very useful feature. It uses the 'ignore prefixes' option.

But that only seem to work in the <artist> and <album artist> fields. It does not work in <original artist> or <album> field, for example.

Some people uses as a workaround the following code:

$if(<Album:4>=The ,$mid(<Album>,5,1)

But that only works with "The", and creating a new string for every single prefix is far from practical.


Will be great if <'Field'@n> behaves equally across all fields.

Re: <'Field'@n> Should behave equally with all fields

Posted: Mon Nov 21, 2016 1:18 pm
by Lowlander
You have $RemovePrefix(<Album>), however I see no way to use it with @.

Re: <'Field'@n> Should behave equally with all fields

Posted: Tue Nov 22, 2016 2:56 am
by Mascis
Lowlander wrote:You have $RemovePrefix(<Album>), however I see no way to use it with @.

$RemovePrefix(<Album>) is also very useful, but if i want to build a directory structure like C:\C\The Crow i have to use something like $if(<Album:4>=The ,$mid(<Album>,5,1),

and then if i want to use C:\D\A Different Story, i will have to create another mask, and so on for every prefix.

I tried <$RemovePrefix(<Album>)@1> it does not work.

It would be much more easy if <'Field'@n> ignored prefixes in all fields.

Re: <'Field'@n> Should behave equally with all fields

Posted: Tue Nov 22, 2016 12:04 pm
by Lowlander
No, but then the following will work: $Left($RemovePrefix(<Album>),1)

Re: <'Field'@n> Should behave equally with all fields

Posted: Wed Nov 23, 2016 11:51 am
by Mascis
Lowlander wrote:No, but then the following will work: $Left($RemovePrefix(<Album>),1)
It did work!

Thanks man! :D