Exception in Jamendo plugin

Bug #1048730 reported by Kirill Spitsin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Low
Kirill Spitsin

Bug Description

version: trunk rev4276

When trying to add tracks from jamendo panel, I got that exception::

Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/home/tn/mfiles/learn/bzr/exaile/plugins/jamendo/jamapi.py", line 160, in run
    self._callback(self._album, self._add_to_playlist)
  File "/home/tn/mfiles/learn/bzr/exaile/plugins/jamendo/__init__.py", line 273, in expand_album_callback
    self.add_to_playlist()
  File "/home/tn/mfiles/learn/bzr/exaile/plugins/jamendo/__init__.py", line 110, in add_to_playlist
    self.add_tracks_to_playlist(track_list)
  File "/home/tn/mfiles/learn/bzr/exaile/plugins/jamendo/__init__.py", line 396, in add_tracks_to_playlist
    self.exaile.gui.main.get_selected_page().playlist.add_tracks(xltrack_list)
AttributeError: 'Playlist' object has no attribute 'add_tracks'

Obvious fix is attached.

Related branches

Revision history for this message
Kirill Spitsin (tn-0x746e) wrote :
summary: - jamendo plugin is broken
+ Exception in Jamendo plugin
Revision history for this message
Mathias Brodala (mathbr) wrote :

Thanks, fixed with r4276 in trunk and r4259 in 3.3.x.

Changed in exaile:
assignee: nobody → Kirill Spitsin (tn-0x746e)
importance: Undecided → Low
milestone: none → 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.