%releasetype% format breaks $inmulti()

F

frankvw2019

Guest
I have the following script:

$if($inmulti(%releasetype%,compilation),$set(compilation,1),$delete(compilation))

This sets the Compilation (iTunes) tag to 1 if the Release Type tag includes the word compilation, otherwise it deletes the Compilation (iTunes) tag is there is one.

This works in some cases, but unfortunately Picard appears to use two different ways (depending on how data was entered into MB, perhaps) and one of them doesn’t work with $inmulti(). The two different scenarios are:

Release Type: album; compilation; dj-mix

which works, and

Release Type: album / compilation / dj-mix

which doesn’t.

How should I deal with this?

3 posts - 2 participants

Read full topic

Continue reading...
 
Top