summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/Mpris.hs
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2012-10-12 05:05:35 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2012-10-12 05:05:35 +0200
commit8218d04c0c0bec2aa04068541ced5cebb888d9dc (patch)
tree9bbd7a223045a588bd82e48d682b97e818de16e7 /src/Plugins/Monitors/Mpris.hs
parent2910cf9b1f141b680e6522cb58fc4672b133ffe3 (diff)
parent30902974c1a21990930f302c50e136954aed4c76 (diff)
downloadxmobar-8218d04c0c0bec2aa04068541ced5cebb888d9dc.tar.gz
xmobar-8218d04c0c0bec2aa04068541ced5cebb888d9dc.tar.bz2
Merge branch 'soul9-disk'
Diffstat (limited to 'src/Plugins/Monitors/Mpris.hs')
-rw-r--r--src/Plugins/Monitors/Mpris.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Plugins/Monitors/Mpris.hs b/src/Plugins/Monitors/Mpris.hs
index b899a16..98b4c0f 100644
--- a/src/Plugins/Monitors/Mpris.hs
+++ b/src/Plugins/Monitors/Mpris.hs
@@ -66,12 +66,15 @@ instance MprisVersion MprisVersion2 where
["org.mpris.MediaPlayer2.Player", "Metadata"]
fieldsList MprisVersion2 = [ "xesam:album", "xesam:artist", "mpris:artUrl"
- , "mpris:length", "xesam:title", "xesam:trackNumber"
+ , "mpris:length", "xesam:title",
+ "xesam:trackNumber", "xesam:composer",
+ "xesam:genre"
]
mprisConfig :: IO MConfig
mprisConfig = mkMConfig "<artist> - <title>"
- [ "album", "artist", "arturl", "length" , "title", "tracknumber"
+ [ "album", "artist", "arturl", "length"
+ , "title", "tracknumber" , "composer", "genre"
]
dbusClient :: DC.Client