Commits

Luke Plant committed eb8c302

Implemented MprisPlayer.is_paused()

Comments (0)

Files changed (1)

playerdo/backends/mpris.py

         except dbus.DBusException:
             return False
 
+    def is_paused(self):
+        return self.player.GetStatus()[0] == 1
+
     def is_stopped(self):
         return self.player.GetStatus()[0] == 2