[gnome-music/wip/jfelder/mpris-player-play] mpris: Fix player play call in GoTo method
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/mpris-player-play] mpris: Fix player play call in GoTo method
- Date: Tue, 23 Oct 2018 15:54:37 +0000 (UTC)
commit 53e5a696454ccce9d9ecf82bdbe0ecd7fd7fb9f0
Author: Jean Felder <jfelder src gnome org>
Date: Tue Oct 23 17:37:26 2018 +0200
mpris: Fix player play call in GoTo method
gnomemusic/mpris.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index 2e8fa183..a1701fae 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -605,7 +605,7 @@ class MediaPlayer2Service(Server):
def GoTo(self, track_id):
for index, song in enumerate(self.player.get_songs()):
if track_id == self._get_media_id(song[PlayerField.SONG]):
- self.player_play(index)
+ self.player.play(index)
return
def TrackListReplaced(self, tracks, current_song):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]