Adding tracks from command line is broken

Bug #486738 reported by Alexander Bethke
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Unassigned

Bug Description

Loading via the command line is broken (does nothing) in 0.3.1+ (r2660).

Here exaile's output when launched with a file as parameter:

./exaile "/home/test/Foo/01_Doll.mp3"
INFO : Loading Exaile 0.3.1+...
INFO : Loading settings...
INFO : Setting up deferred idle manager function...
INFO : Loading plugins...
INFO : Attempting to connect to AudioScrobbler (http://turtle.libre.fm/)
/usr/lib/python2.6/dist-packages/quodlibet/__init__.py:125: DeprecationWarning: enabling legacy plugin API
  "enabling legacy plugin API", DeprecationWarning)
INFO : Loading collection...
INFO : Logged in successfully to AudioScrobbler (http://turtle.libre.fm/)
INFO : Connected to AudioScrobbler
INFO : Loading devices...
INFO : Loading interface...
INFO : HAL Providers: [<cd.CDHandler object at 0x916fb2c>]
INFO : Loading main window...
INFO : Connecting main window events...
INFO : Loading panels...
INFO : Connecting panel events...
INFO : Done loading main window...
Traceback (most recent call last):
  File "./exaile.py", line 50, in <module>
    main()
  File "./exaile.py", line 47, in main
    exaile = main.Exaile()
  File "/media/Data/Entwicklung/exaile/xl/main.py", line 80, in __init__
    self.__init()
  File "/media/Data/Entwicklung/exaile/xl/main.py", line 216, in __init
    self.gui.open_uri(args[0], play=True)
  File "/media/Data/Entwicklung/exaile/xlgui/__init__.py", line 225, in open_uri
    self._open_uri(uri, play)
  File "/media/Data/Entwicklung/exaile/xlgui/__init__.py", line 242, in _open_uri
    tracks.sort(key=lambda track: track.sort_param(column), reverse=descending)
  File "/media/Data/Entwicklung/exaile/xlgui/__init__.py", line 242, in <lambda>
    tracks.sort(key=lambda track: track.sort_param(column), reverse=descending)
AttributeError: 'Track' object has no attribute 'sort_param'

Regards, Alex

reacocard (reacocard)
Changed in exaile:
importance: Undecided → Medium
milestone: none → 0.3.1
Revision history for this message
reacocard (reacocard) wrote :

shouldn't happen anymore in trunk, reopen if it does.

Changed in exaile:
status: New → Fix Committed
reacocard (reacocard)
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.