diff --git a/.gitignore b/.gitignore index 39b070d..2adb934 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ sources/build sources/usr -*src.tar.xz -*src.tar.gz +*src.tar.[gx]z +*pkg.tar.[gx]z build src pkg diff --git a/PKGBUILD b/PKGBUILD index ace8114..2572a75 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -20,7 +20,7 @@ optdepends=("amarok: for music player monitor" makedepends=('automoc4' 'cmake') source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) install=${pkgname}.install -md5sums=('40793e17541f81ec01dc1c921e0186e8') +md5sums=('c353d7b91178db55184ed4ea1b0b06a8') backup=('usr/share/config/extsysmon.conf') prepare() { diff --git a/sources/ext-sysmon/extsysmon.cpp b/sources/ext-sysmon/extsysmon.cpp index 122e0c3..d020479 100644 --- a/sources/ext-sysmon/extsysmon.cpp +++ b/sources/ext-sysmon/extsysmon.cpp @@ -302,7 +302,7 @@ QStringList ExtendedSysMon::getPlayerInfo(const QString playerName, } else if (playerName == QString("clementine")) { // clementine - command.start("qdbus org.kde.clementine /Player GetMetadata"); + command.start("qdbus org.mpris.clementine /Player GetMetadata"); command.waitForFinished(-1); qoutput = QTextCodec::codecForMib(106)->toUnicode(command.readAllStandardOutput()); for (int i=0; itoUnicode(command.readAllStandardOutput()); for (int i=0; i