Sounds like an oversight to me.

Send it to me, then. Michael at thewagners dot ca

In the mean time, Dan, if you're out there? Here's the snippet of code
responsible, I expect. It's in CPAN/MP3/Info.pm

>       } elsif ($id =~ /^TCON?$/) {
> if ($data =~ /^ \(? (\d+) (?:\)|\000)? (.+)?/sx) {
> my($index, $name) = ($1, $2);
> if ($name && $name ne "\000") {
> $data = $name;
> } else {
> $data = $mp3_genres[$index];
> }
> }
> 
It's been many years since sed and awk, but this appear to look for
TCON (or TCO, for some reason I can't begin to guess) tags (which are
always V2) and then tries to figure out if they should be treated as V1
tags - should never happen.

If they start with leading digits and colons, they are totally
mishandled.

This code seems to be expecting genres of the form
1: rock
2: pop
3: whatever

But that's not part of ID3, no version I've ever seen.

In any case, it will eat leading digits in genres for lunch. I think
this is the problem.

This code is replete with V1isms that seem to have persisted into V2
ID3 tags. Not sure why. I understand this code came from CPAN ... so
I'm not sure how one goes about getting it fixed. ...


-- 
Michaelwagner
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to