%TE1% ... problems

Report a bug or a problem.
Post Reply
hopalongrock
Sr. Member
Sr. Member
Posts: 289
Joined: Wed Sep 15, 2010 1:38 pm

%TE1% ... problems

Post by hopalongrock »

I have 2 mp4 and many mp3 files, filtered with %TE1% > 0 to find files with id3v1 - I use only id3v2 tags, option is set.
The filter found 1 mp3, I probably didn't updated.
However the filter found the 2 mp4 files too.
I tried the %TE3%, %TE4%, %TE5%, %TE6% filters too, however these brought all files.
I don't really understand this.

User avatar
jtclipper
Administrator
Administrator
Posts: 768
Joined: Tue Aug 10, 2010 12:04 pm

Re: %TE1% ... problems

Post by jtclipper »

This has to do with how Boolean values translate from the numeric ones, if you use %TE1% = 1 it will yield a correct result, will look into it though.

hopalongrock
Sr. Member
Sr. Member
Posts: 289
Joined: Wed Sep 15, 2010 1:38 pm

Re: %TE1% ... problems

Post by hopalongrock »

In this case I don't understand why the %PT% > 0 filter operates well.

User avatar
jtclipper
Administrator
Administrator
Posts: 768
Joined: Tue Aug 10, 2010 12:04 pm

Re: %TE1% ... problems

Post by jtclipper »

%PT% will return the number of images contained in the tag its treated as a pure numeric value

hopalongrock
Sr. Member
Sr. Member
Posts: 289
Joined: Wed Sep 15, 2010 1:38 pm

Re: %TE1% ... problems

Post by hopalongrock »

OK, thanks.

User avatar
jtclipper
Administrator
Administrator
Posts: 768
Joined: Tue Aug 10, 2010 12:04 pm

Re: %TE1% ... problems

Post by jtclipper »

Had another look %TE1% will return a value of 2 for non ID3 tags

hopalongrock
Sr. Member
Sr. Member
Posts: 289
Joined: Wed Sep 15, 2010 1:38 pm

Re: %TE1% ... problems

Post by hopalongrock »

jtclipper wrote:Had another look %TE1% will return a value of 2 for non ID3 tags
Now what do you say, is similar to the help:

%TE1% Has ID3v1 [ 1 or 0 or 2 for other file type]

From my examples I see, that tgf works fine, according to the help:
.......................................ID3v1........ID3v2......mp4
when %Z% file type is mp4, then %TE1% is 2, %TE3% is 2, %TE6% is 1
when %Z% file type is mp3, then %TE1% is 0, %TE3% is 1, %TE6% is 2
because the mp3 files only have ID3v2

Thanks

Post Reply