* Vitaliyi <[EMAIL PROTECTED]> [2007-08-16 16:03:20 -0400]:

> I was talking about the 'feature' of mutagen to represent each mp3 tag
> property as unicode. It was told in 'TUTORIAL': """If you use str objects,
> Mutagen will assume they are in UTF-8""", but from my point of view it is
> not too wise.

Ok, so you are describing the situation where you are writing out tags
with mutagen, and specifying the contents as str objects not encoded in
UTF-8? If so, I think the current situation is an explicit design
decision made by upstream. It might be best to raise this issue on the
upstream mailing list, but I don't think this is something that is
likely to be changed.

> By the way, during my experiments i've discovered the following :

[snip code]

> Traceback (most recent call last):
>   File "./tst.py", line 31, in ?
>     audio = EasyID3(i.normpath())
>   File "/usr/lib/python2.4/site-packages/mutagen/easyid3.py", line 56, in
> __init__
>     self.load(filename)
>   File "/usr/lib/python2.4/site-packages/mutagen/id3.py", line 109, in load
>     self.__fileobj = file(filename, 'rb')
> IOError: [Errno 2] No such file or directory: Path('/tmp/'\xc2\xcc\xc1
> \xc2\xcc\xc1 \xc2\xcc\xc1.mp3')

I can't reproduce this; what is the actual name of the file in question?
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar

Attachment: signature.asc
Description: Digital signature

Reply via email to