Random playlists not working (or not generating)

Bug #494703 reported by enriquejrg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
High
Vladimir Kokarev

Bug Description

Exaile revision: 2690 (last)
Distro: Ubuntu (Karmic), updated

I always used Exaile by generating random playlists from my music collection. This worked until I updated. When I double click in any random playlist (for example, "Random 500"), it does nothing. In shell window I get this:

Traceback (most recent call last):
  File "/usr/local/lib/exaile/xlgui/panel/playlists.py", line 320, in open_item
    item = item.get_playlist(self.collection)
  File "/usr/local/lib/exaile/xl/playlist.py", line 1077, in get_playlist
    pl.add_tracks(trs)
  File "/usr/local/lib/exaile/xl/playlist.py", line 522, in add_tracks
    self.ordered_tracks.extend(tracks)
TypeError: 'NoneType' object is not iterable

Thanks.

Revision history for this message
enriquejrg (iloveenrique) wrote :
Revision history for this message
Vladimir Kokarev (matrix47) wrote :

here's patch:
it also fixes broken limitation of number of tracks

and now tracks aren't reordered when filtered in playlist window

Revision history for this message
reacocard (reacocard) wrote :

patch committed trunk/2693

Changed in exaile:
assignee: nobody → Vladimir Kokarev (matrix47)
importance: Undecided → High
milestone: none → 0.3.1
status: New → Fix Committed
Revision history for this message
enriquejrg (iloveenrique) wrote :

Ok, I confirm it's been fixed.

Thanks!

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

Patches

Bug attachments

Remote bug watches

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