aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r--src/mpris2-controller.vala8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index dae8dfb..7838a67 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -176,7 +176,7 @@ public class Mpris2Controller : GLib.Object
public void transport_update(TransportMenuitem.action command)
{
- debug("transport_event input = %i", (int)command);
+ //debug("transport_event input = %i", (int)command);
if(command == TransportMenuitem.action.PLAY_PAUSE){
this.player.PlayPause.begin();
}
@@ -187,10 +187,12 @@ public class Mpris2Controller : GLib.Object
this.player.Next.begin();
}
else if(command == TransportMenuitem.action.REWIND){
- this.player.Seek.begin(-1);
+ debug("transport_event rewind = %i", (int)command);
+ this.player.Seek.begin(-500000);
}
else if(command == TransportMenuitem.action.FORWIND){
- this.player.Seek.begin(1);
+ debug("transport_event input = %i", (int)command);
+ this.player.Seek.begin(350000);
}
}