mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
removed checking playerName in getPlayerInfo()
This commit is contained in:
parent
2d0a92eec1
commit
5dfb02bf9d
4
PKGBUILD
4
PKGBUILD
@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=kdeplasma-applets-pytextmonitor
|
||||
_pkgname=pytextmonitor
|
||||
pkgver=1.9.0
|
||||
pkgver=1.9.1
|
||||
pkgrel=1
|
||||
pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -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=('c353d7b91178db55184ed4ea1b0b06a8')
|
||||
md5sums=('5291688590116e77dd5407f9b23e22d7')
|
||||
backup=('usr/share/config/extsysmon.conf')
|
||||
|
||||
prepare() {
|
||||
|
@ -8,7 +8,7 @@ cmake_policy (SET CMP0015 NEW)
|
||||
project (pytextmonitor)
|
||||
set (PROJECT_VERSION_MAJOR 1)
|
||||
set (PROJECT_VERSION_MINOR 9)
|
||||
set (PROJECT_VERSION_PATCH 0)
|
||||
set (PROJECT_VERSION_PATCH 1)
|
||||
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||
|
||||
message (STATUS "Version: ${PROJECT_VERSION}")
|
||||
|
@ -266,10 +266,6 @@ QStringList ExtendedSysMon::getPlayerInfo(const QString playerName,
|
||||
info.append(QString("0"));
|
||||
// title
|
||||
info.append(QString("unknown"));
|
||||
if ((playerName != QString("amarok")) &&
|
||||
(playerName != QString("mpd")) &&
|
||||
(playerName != QString("qmmp")))
|
||||
return info;
|
||||
QProcess command;
|
||||
QString qoutput = QString("");
|
||||
QString qstr;
|
||||
|
Loading…
Reference in New Issue
Block a user