~markjtully/ubuntu-app-review-board/unity-scopes-music-extras-precise

« back to all changes in this revision

Viewing changes to scopes/guayadeque/unity-scope-guayadeque

  • Committer: Mark Tully
  • Date: 2012-05-06 22:01:26 UTC
  • Revision ID: markjtully@gmail.com-20120506220126-6a93stl58vasstud
Fix for songs not being enqueued in guayadeque

Show diffs side-by-side

added added

removed removed

Lines of Context:
275
275
                albumtracks = []
276
276
                albumtracks.append("guayadeque")
277
277
                # If uri starts with album:// then we need to play al the songs on it
278
 
                if not uri.startswith("album://") == -1:
 
278
                if uri.startswith("album://"):
279
279
                        for track in self.tracks:
280
280
                                album = "album://" + unicode(track[6]) + "/" + unicode(track[4])
281
281
                                if not album.find(uri) == -1: