WMA/ASF files are not loaded properly

Bug #1060021 reported by Dustin Spicuzza
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
High
Dustin Spicuzza

Bug Description

Anything using the ASF format mutagen wrapper does not get loaded properly. The attributes are sometimes wrapped in ASFUnicodeAttribute fields, which are not properly handled by exaile.

Additionally, files with the ASF extension are not interpreted as asf files.

Originally reported in https://bugs.launchpad.net/exaile/+bug/1056314 .

Related branches

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

Fixed in r4310 (file format), r4311 (unicode errors)

Changed in exaile:
status: New → Fix Committed
Revision history for this message
Rocco Aliberti (eri.trabiccolo) wrote :

r4324

I still got this problem with some wma files i've got in my collection.

I cannot load the subtree they compose.
Here's the traceback:

Traceback (most recent call last):
  File "/home/rock/exaile/xlgui/panel/collection.py", line 507, in on_expanded
    self.load_subtree(iter)
  File "/home/rock/exaile/xlgui/panel/collection.py", line 683, in load_subtree
    srtr.track.get_tag_search(t, format=True) for t in tags])
  File "/home/rock/exaile/xl/trax/track.py", line 643, in get_tag_search
    value = self.split_numerical(self.__tags.get(tag))[0]
  File "/home/rock/exaile/xl/trax/track.py", line 798, in split_numerical
    split = val.split("/")[:2]
AttributeError: 'ASFDWordAttribute' object has no attribute 'split'

Obviously i cannot add/append/drag them to the playlist with a similar traceback.

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

Try 4326, I think that should fix it.

Revision history for this message
Rocco Aliberti (eri.trabiccolo) wrote :

Yeah, thanks, it works.

I do not know if it can be of interest, but I had to remove the "incriminated" files from the collection path, do a scan, re-add and redo the scan in order to have the desired effect.
I did that 'cause i noticed that, with the last commit, i still had problems with wma files in my collection that i hadn't with others weren't in my collection ( such as exaile's test files )

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

Fixed in 3.3.1 in r4287/4288/4289

Changed in exaile:
assignee: nobody → Dustin Spicuzza (dustin-virtualroadside)
milestone: 3.4.0 → 3.3.1
importance: Low → High
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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