vorbis and flac files with cover art not in library

Bug #909304 reported by Dominik Wild
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Mathias Brodala

Bug Description

Version: 3.2.2

In metadata/ogg.py or metadata/flac.py cover art is stored as binary data using the dict key 'cover'.
In trax/track.py set_raw_tag() each dict value is converted to unicode which obviously fails for binary data.

Traceback (most recent call last):
  File "/usr/lib/exaile/xl/trax/track.py", line 302, in read_tags
    self.set_tag_raw(k, v)
  File "/usr/lib/exaile/xl/trax/track.py", line 406, in set_tag_raw
    for x in values if x not in (None, '')]
  File "/usr/lib/exaile/xl/common.py", line 77, in to_unicode
    return unicode(x)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start byte

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Do you have any (legal) sample flac files that exhibit this problem? I can fix this if I have a sample file.

Revision history for this message
Mathias Brodala (mathbr) wrote :

Should be fixed with r4054.

Changed in exaile:
assignee: nobody → Mathias Brodala (mathbr)
importance: Undecided → Medium
milestone: none → 0.3.3.0
status: New → Fix Committed
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.