[gnome-music/wip/merge: 260/343] player: Fix end of playlist on repeat none
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 260/343] player: Fix end of playlist on repeat none
- Date: Thu, 25 Jul 2013 11:34:29 +0000 (UTC)
commit c4d9c621348772544aaf40c8bc42e2701ed7dfb7
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Thu Jul 18 19:02:27 2013 +0800
player: Fix end of playlist on repeat none
gnomemusic/player.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index b698472..f780341 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -129,7 +129,7 @@ class Player(GObject.GObject):
self.progressScale.set_value(0)
self.progressScale.set_sensitive(False)
if self.playlist is not None:
- self.currentTrack = self.playlist.get_iter_first()[1]
+ self.currentTrack = self.playlist.get_iter_first()
self.load(self.playlist.get_value(self.currentTrack, self.playlistField))
else:
#Stop playback
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]