diff --git a/ChangeLog b/ChangeLog index 7ec0402..02a046b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-12-06 Thomas Vander Stichele + + * morituri/common/encode.py: + Collect all tags by replacing from newer tag messages. + Gets more than bitrate from flacs now. + 2012-12-06 Thomas Vander Stichele * morituri/rip/debug.py: diff --git a/morituri/common/encode.py b/morituri/common/encode.py index 5b0967a..fe29bf2 100644 --- a/morituri/common/encode.py +++ b/morituri/common/encode.py @@ -331,7 +331,12 @@ class TagReadTask(ctask.GstPipelineTask): def bus_tag_cb(self, bus, message): taglist = message.parse_tag() - self.taglist = taglist + self.debug('tag_cb, %d tags' % len(taglist.keys())) + if not self.taglist: + self.taglist = taglist + else: + import gst + self.taglist = self.taglist.merge(taglist, gst.TAG_MERGE_REPLACE) class TagWriteTask(ctask.LoggableTask):