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

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: <'Field'@n> Should behave equally with all fields

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

by Mascis » Wed Nov 23, 2016 11:51 am

Lowlander wrote:No, but then the following will work: $Left($RemovePrefix(<Album>),1)
It did work!

Thanks man! :D

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

by Lowlander » Tue Nov 22, 2016 12:04 pm

No, but then the following will work: $Left($RemovePrefix(<Album>),1)

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

by Mascis » Tue Nov 22, 2016 2:56 am

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

by Lowlander » Mon Nov 21, 2016 1:18 pm

You have $RemovePrefix(<Album>), however I see no way to use it with @.

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

by Mascis » Sun Nov 20, 2016 12:40 am

<'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.

Top