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

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:28:32 UTC 2016


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

The following commit has been merged in the master branch:
commit 40f18ed6c1ea1e7e3b5e39b0753070460535be7b
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Wed Apr 22 00:16:14 2015 -0700

    Made mpris plugin less verbose
---
 plugins/mpriscontrol/mpriscontrolplugin.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/plugins/mpriscontrol/mpriscontrolplugin.cpp b/plugins/mpriscontrol/mpriscontrolplugin.cpp
index 65146f1..9dee951 100644
--- a/plugins/mpriscontrol/mpriscontrolplugin.cpp
+++ b/plugins/mpriscontrol/mpriscontrolplugin.cpp
@@ -91,7 +91,7 @@ void MprisControlPlugin::addPlayer(const QString& service)
 }
 
 void MprisControlPlugin::seeked(qlonglong position){
-    qCDebug(KDECONNECT_PLUGIN_MPRIS) << "Seeked in player";
+    //qCDebug(KDECONNECT_PLUGIN_MPRIS) << "Seeked in player";
     NetworkPackage np(PACKAGE_TYPE_MPRIS);
     np.set("pos", position/1000); //Send milis instead of nanos
     OrgFreedesktopDBusPropertiesInterface* interface = (OrgFreedesktopDBusPropertiesInterface*)sender();
@@ -185,7 +185,7 @@ bool MprisControlPlugin::receivePackage (const NetworkPackage& np)
     OrgMprisMediaPlayer2PlayerInterface mprisInterface(playerList[player], "/org/mpris/MediaPlayer2", QDBusConnection::sessionBus());
     if (np.has("action")) {
         const QString& action = np.get<QString>("action");
-        qCDebug(KDECONNECT_PLUGIN_MPRIS) << "Calling action" << action << "in" << playerList[player];
+        //qCDebug(KDECONNECT_PLUGIN_MPRIS) << "Calling action" << action << "in" << playerList[player];
         //TODO: Check for valid actions, currently we trust anything the other end sends us
         mprisInterface.call(action);
     }
@@ -196,14 +196,14 @@ bool MprisControlPlugin::receivePackage (const NetworkPackage& np)
     }
     if (np.has("Seek")) {
         int offset = np.get<int>("Seek");
-        qCDebug(KDECONNECT_PLUGIN_MPRIS) << "Seeking" << offset << "to" << playerList[player];
+        //qCDebug(KDECONNECT_PLUGIN_MPRIS) << "Seeking" << offset << "to" << playerList[player];
         mprisInterface.Seek(offset);
     }
 
     if (np.has("SetPosition")){
         qlonglong position = np.get<qlonglong>("SetPosition",0)*1000;
         qlonglong seek = position - mprisInterface.position();
-            qCDebug(KDECONNECT_PLUGIN_MPRIS) << "Setting position by seeking" << seek << "to" << playerList[player];
+        //qCDebug(KDECONNECT_PLUGIN_MPRIS) << "Setting position by seeking" << seek << "to" << playerList[player];
         mprisInterface.Seek(seek);
     }
 

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list