That patch is incomplete (it probably works when burning exclusively .ogg 
files, but otherwise a different code path tries to instantiate a Tag object to 
parse the ID3 metadata, and fails because there have been API changes in eyed3).

I'm attaching a patch that seems to work for me when burning mp3 files.
Description: update eyed3 usage to API changes
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879540
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/burn/+bug/1734107
Author: Olivier Tilloy <oliv...@tilloy.net>

--- a/burnlib/audio.py
+++ b/burnlib/audio.py
@@ -25,7 +25,7 @@
 
 import os.path
 import ogg.vorbis
-import eyeD3
+from eyed3 import id3
 import mad
 
 
@@ -44,11 +44,11 @@ class FileInfo:
             self.__dict__.update(fileinfo.__dict__)
             self.fileinfo = fileinfo
         else:
-            tag = eyeD3.Tag()
-            tag.link(fullpath)
-            self.artist = tag.getArtist()
-            self.title = tag.getTitle()
-            self.album = tag.getAlbum()
+            tag = id3.Tag()
+            tag.parse(fullpath)
+            self.artist = tag._getArtist()
+            self.title = tag._getTitle()
+            self.album = tag._getAlbum()
             fileinfo = mad.MadFile(fullpath)
             self.total_time = fileinfo.total_time() / 1024
             self.bitrate = fileinfo.bitrate() / 1000

Reply via email to