I've realized that it is possible to do the following and get rid of
necessity to change the eyeD3 module:

import eyeD3,os,chardet
ls = '/tmp/tst/'
for path in os.listdir(ls):
    if eyeD3.tag.isMp3File(ls+path):
    mp3file = eyeD3.Mp3AudioFile(ls+path)
        mp3info = mp3file.getTag()
    title = mp3info.getTitle().encode("latin_1")
    print "title: %s %s" % (title, chardet.detect(title)['encoding'])

Thanks for attention.

Reply via email to