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.vala6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index e5bc1f6..dae8dfb 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -186,6 +186,12 @@ public class Mpris2Controller : GLib.Object
else if(command == TransportMenuitem.action.NEXT){
this.player.Next.begin();
}
+ else if(command == TransportMenuitem.action.REWIND){
+ this.player.Seek.begin(-1);
+ }
+ else if(command == TransportMenuitem.action.FORWIND){
+ this.player.Seek.begin(1);
+ }
}
public bool connected()