diff --git a/src/eyed3/id3/frames.py b/src/eyed3/id3/frames.py index bef864a1..0e9eae30 100644 --- a/src/eyed3/id3/frames.py +++ b/src/eyed3/id3/frames.py @@ -271,7 +271,12 @@ def parse(self, data, frame_header): super(TextFrame, self).parse(data, frame_header) self.encoding = self.data[0:1] - self.text = decodeUnicode(self.data[1:], self.encoding) + try: + self.text = decodeUnicode(self.data[1:], self.encoding) + except UnicodeDecodeError as err: + log.warning("Error decoding text frame {fid}: {err}" + .format(fid=self.id, err=err)) + self.test = u"" log.debug("TextFrame text: %s" % self.text) def render(self):