[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:08 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=cf503ec

The following commit has been merged in the master branch:
commit cf503ec9c1b7cc8382adf6c0f5af0b2f76785c35
Author: Maksim Krylosov <aequiternus at gmail.com>
Date:   Tue Oct 29 20:17:42 2013 +0100

    Added rewind and fast-forward to MPRIS controls
---
 kded/plugins/mpriscontrol/mpriscontrolplugin.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kded/plugins/mpriscontrol/mpriscontrolplugin.cpp b/kded/plugins/mpriscontrol/mpriscontrolplugin.cpp
index a1886be..76b535c 100644
--- a/kded/plugins/mpriscontrol/mpriscontrolplugin.cpp
+++ b/kded/plugins/mpriscontrol/mpriscontrolplugin.cpp
@@ -164,6 +164,11 @@ bool MprisControlPlugin::receivePackage (const NetworkPackage& np)
         qDebug() << "Setting volume" << volume << "to" << playerList[player];
         mprisInterface.setVolume(volume);
     }
+    if (np.has("Seek")) {
+        int offset = np.get<int>("Seek");
+        qDebug() << "Seeking" << offset << "to" << playerList[player];
+        mprisInterface.Seek(offset);
+    }
 
     //Send something read from the mpris interface
     NetworkPackage answer(PACKAGE_TYPE_MPRIS);

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list