[gnome-music/wip/jfelder/mpris-seek: 3/4] player: Remove unused signal seek-finished
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/mpris-seek: 3/4] player: Remove unused signal seek-finished
- Date: Tue, 16 Apr 2019 20:25:57 +0000 (UTC)
commit 490bb5a1cea0123a41631dd5e822abda1e060936
Author: Jean Felder <jfelder src gnome org>
Date: Tue Apr 16 15:41:03 2019 +0200
player: Remove unused signal seek-finished
MPRIS server now relies on state changes (like SmoothScale) to emit a
Seeked signal when the song position has changed.
gnomemusic/player.py | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index dedbccfe..8f6e4dc0 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -531,7 +531,6 @@ class Player(GObject.GObject):
'clock-tick': (GObject.SignalFlags.RUN_FIRST, None, (int,)),
'playlist-changed': (GObject.SignalFlags.RUN_FIRST, None, ()),
'prev-next-invalidated': (GObject.SignalFlags.RUN_FIRST, None, ()),
- 'seek-finished': (GObject.SignalFlags.RUN_FIRST, None, (float,)),
'song-changed': (GObject.SignalFlags.RUN_FIRST, None, (int,)),
'song-validated': (GObject.SignalFlags.RUN_FIRST, None, (int, int)),
'volume-changed': (GObject.SignalFlags.RUN_FIRST, None, ()),
@@ -871,7 +870,6 @@ class Player(GObject.GObject):
duration_second = self._gst_player.props.duration
if position_second <= duration_second:
self._gst_player.seek(position_second)
- self.emit('seek-finished', position_second)
@log
def get_volume(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]