Strange Slashes in Artist Names

Bug #235917 reported by Can Berk Güder
2
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Low
Unassigned

Bug Description

Exaile displays, in the artist list, strange slash characters for some tracks.

For example, I have only one album from the band Evergrey in my library, but it's split between two artists in the left pane, namely "Evergrey" and "Evergrey / / / / / / / / / / / / / /".

The album's name is "In Search of Truth," but under the artist "Evergrey / / / / / / / / / / / / / /" it displays as "In Search of Truth / / / / / / / / / / / / / / /".

I believe this is somehow a Unicode issue, but I'm not really sure.

Revision history for this message
Can Berk Güder (cbguder) wrote :
Revision history for this message
Louis Simard (louis-simard-deactivatedaccount) wrote :

To reproduce this bug, I obtained a file from a friend of mine and added it to an Exaile playlist, then saw that it exhibited this bug. Then, I reduced its size to fit better on Launchpad and give the developers an idea of what kind of file can generate this output. Basically, this is just the ID3 tag at the start of the file, with a half-second of silence :) (Hooray for KHexEdit!)

Next attachment contains a screenshot of the resulting playlist display.

Revision history for this message
Louis Simard (louis-simard-deactivatedaccount) wrote : Continued report
Revision history for this message
Louis Simard (louis-simard-deactivatedaccount) wrote :

Changed from New to Confirmed after having found a suitable test case.

Changed in exaile:
status: New → Confirmed
Revision history for this message
reacocard (reacocard) wrote :

a quick check with mutagen-inspect reveals the problem:

$ mutagen-inspect halfsecond.mp3
-- halfsecond.mp3
- MPEG 1 layer 3, 104112 bps, 44100 Hz, 0.06 seconds (audio/mp3)
TDRC=2003
TIT2=Recycled Air / / / / / / / / / / / / / / / / /
TRCK=5
TPE1=The Postal Service / / / / / / / / / / /
TALB=Give Up / / / / / / / / / / / / / / / / / / / / / /
TCON=Indie

what's happening here is there are multiple null bytes after the tag value. however, null bytes are using in id3 to separate multiple values for the same tag, so when we split on the null character, we get a lot of blank records. thus there are two bugs here:

1) whatever made these tags needs to not insert so many null bytes needlessly
2) exaile needs to ignore null values in considering multiple tags

2 is already fixed in the 0.3-devel branch, so I'm considering the exaile end of this closed. is you know what the file was encoded with, please file a bug report against it requesting that they change this behavior.

as an interim workaround, re-saving the tags using a non-broken tag editor should resolve the issue.

Changed in exaile:
importance: Undecided → Low
status: Confirmed → Fix Committed
reacocard (reacocard)
Changed in exaile:
milestone: none → 0.3.0
Mathias Brodala (mathbr)
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.