Exaile won't see wma files in library.

Bug #136193 reported by Adam Olsen
4
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Undecided
Johannes Sasongko

Bug Description

Exaile won't see wma files in the library. I am able to go through the Files tab and find the wma file, but it won't add to a playlist and the library won't see it.

This ticket was migrated from the old trac: re #766

Adam Olsen (arolsen)
Changed in exaile:
status: New → Fix Released
Revision history for this message
ShackJack (shackjack) wrote :

Hi - am using the SVN (bzr) and am still getting this error as well. Command line reports something along the lines of:

 File "/usr/share/exaile/xl/media/wma.py", line 33, in fill_tag_from_path
 for wma_tag, tag in TAG_TRANSLATION:
 ValueError: too many values to unpack

Changed in exaile:
status: Fix Released → Confirmed
Revision history for this message
Johannes Sasongko (sjohannes) wrote :
Changed in exaile:
status: Confirmed → Fix Committed
Revision history for this message
ShackJack (shackjack) wrote :

I have updated to the latest SVN version of Exaile, however most of the WMAs in my collection are not being picked up. Out of about 6,000 WMAs only about 1,300 have been picked up. Additionally, the ones that weren't picked up do not open and play in Exaile (though they will in other media players).

In many cases, some WMAs from the same album (ripped, encoded, etc... at the same time) were picked up and some were not. I have tried deleting the music.db altogether and rebuilding with the same results. The only thing resembling an error in C/L output is:

TypeError: sequence item 0: expected string, int found

Changed in exaile:
status: Fix Committed → Confirmed
Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Could you post the entire traceback?

Revision history for this message
ShackJack (shackjack) wrote :

Here ya go...

 run ( /usr/share/exaile/xl/library.py @ 612):
-----------------------
Traceback (most recent call last):
  File "/usr/share/exaile/xl/library.py", line 650, in run
    self.do_function(loc)
  File "/usr/share/exaile/xl/library.py", line 698, in do_function
    save_track_to_db(db, tr, new)
  File "/usr/share/exaile/xl/library.py", line 576, in save_track_to_db
    "track": tr.track,
  File "/usr/share/exaile/xl/media/__init__.py", line 257, in get_track
    t = self.get_tag('tracknumber')
  File "/usr/share/exaile/xl/media/__init__.py", line 212, in get_tag
    return " / ".join(ret)
TypeError: sequence item 0: expected string, int found

Changed in exaile:
assignee: nobody → sjohannes
status: Confirmed → In Progress
Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Fixed in 0.2.11 and main. The version in 0.2.11 is extra careful and is ugly, but it's less risky than the version I committed in main.

Changed in exaile:
status: In Progress → Fix Committed
Revision history for this message
Timmie (timmie) wrote :

hello,
I am also affected by this running the latest version from bzr: revno: 1713

I hope I have the right codec installed:
ii w32codecs 20071007-0medibuntu3 Win32 codec binaries

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.