Adding unicode support for mp3-files should be pretty
straight forward if you just use python-eyeD3 instead
of pyid3lib.
I've included a modified version of jack_tag.py (from
jack v3.1.1) which already works (for me), but is not
very flexible jet.
I'm afraid it also doesn't fit your programming style,
but I didn't have time to look for the "proper" file
for the import statement.
Again, there are a couple of things still to do, but
with your knowledge of your code this shouldn't take
more than an hour to implement.
TODO:
- check if jack supplies the right format for
tag.setGenre(), otherwise convert it (I couldn't figure
this out myself because jack is not very well
documented; see eyeD3 documenation for which formats it
supports)
- add configuration options for encoding and version of
id3 tags
- possibly get rid of the rest if pyid3lib code and
just use eyeD3 instead (i.e. for v1 tags and in a
couple of hacks that use it to convert genre strings)
- testing, of course
I would be happy if you could implement this in your
next version, again, I don't think this should take
much effort and it would be nice to have unicode
support in jack.
Logged In: YES
user_id=869528
something like this has been done in the Debian package of
jack. Can you give this a go?