actions with extension filter not working on mp3 files


#1

I have several actions that have worked for well over a year, until the last few weeks. The common element to the failing actions is that they fail to act on mp3 files. Similar actions for detecting and taking action on flac files still work.

This is what I use to detect mp3 files that no longer seems to work:

$if($eql('mp3',$lower(%_extension%)),%artist%,)

If I eliminate the extension dependency in a failing action, mp3 files are successfully changed by Mp3tag. That's not a long term solution because it's a pain to manually filter what the original action does. I've tried deleting and re-entering the actions with such filters to see if there was some kind of corruption in my saved actions, but that dd not change anything.

Any ideas? My mp3 files do not appear to have any issues that I can see or hear.

I'm using V2.49a. thanks.


#2

Of course, I could not find anything suspicious.
But: you could create a column in the files list that has that expression as VALUE.
You could then try to find out where the value is not as expected.

Also I am not quite sure whether it could be necessary to enter a double apostrophe after the comma in "%artist%,".

Sorry, just guessing


#3

This expression works without failure.
You have to check the context for failures.

DD.20111125.1429.CET


#4

My stupidity was the cause. I tried this in a single action:

$if($eql('mp3',$lower(%_extension%)),%artist%,)
$if($eql('flac',$lower(%_extension%)),%artist%,)

when I should have been doing this:

$if($eql('mp3',$lower(%_extension%)),%artist%,$if($eql(flac',$lower(%_extension%)),%artist%,)
)

Thanks


#5

This gives the same result ...

$if($or($eql($lower(%_extension%),'mp3'),$eql($lower(%_extension%),'flac')),%ARTIST%,)

... or this too ...

$ifgreater($strstr('mp3-flac-',$lower(%_extension%)'-'),0,%ARTIST%,)

... but for what is it good?

DD.20111125.2110.CET