but he has the habit to always fix two things together :) my question is what do you think about his second change?
how he handles the comment language
luks
it's a good idea, but it's not backwards compatible
I think the fix for itunnorm isn't correct
it should not delete anything by default
outsidecontext
yep, i was not sure why he did that at all
without deleting, would it cause duplicate tags?
luks
only if the description or the language doesn't match
there was a problem before, because picard was writting all COMM tags with language ' ' (three spaces)
so it was writing a duplicate frame
one for 'eng', one for ' '
outsidecontext
ok, now i see. so he originally needed the deletion, but with you language fix this got obsolete
luks
I think handling this is a good idea, because there shouldn't be more than one iTunNORM
but it should be done only if we have a comment:iTunNORM entry in metadata
outsidecontext
sounds better
what about "if desc.lower()[:4]=="itun":"? shouldn't it check for iTunNORM?
luks
I think there is one more special iTunes frame that should be handled similarly
I can't remember what it is now
outsidecontext
ok
i will change his fix to check for the tag present in metadata
guess we must do a 0.12.1 then :(
luks
outsidecontext: I'd simply do it in the "if desc.lower()[:4]=="itun":" branch
outsidecontext
becuse there can be only one tag anyway, ok
luks
maybe just something like tag.delall('COMM:' + desc)
outsidecontext
about his language changes (which i won't merge right now): i told him to change the order to comment:des:lang, because it looked more backward compatible
luks
I'm not sure about that change
outsidecontext
me neither.
one of my problems with many of his patches: they include one thing i like, and another i don't like :)
luks
comment:desc:lang would definitely be better
but it should handle also the case of comment:desc
because that's what existing plugins might write
outsidecontext
exactly. and we must check all other formats
and a better default for lang is maybe 'eng' instead of None
luks
I'm not sure if None would actually work
outsidecontext
what was it set to before we explicitely added it?
luks
nothing
so it used the default value
outsidecontext
which would be None in mutagen, and would result in 3 null bytes
luks: ok, i added the fix for the COMM frames. i will make a0.12.1 then. damn