1. Luke Plant
  2. playerdo

Commits

Luke Plant  committed eb8c302

Implemented MprisPlayer.is_paused()

  • Participants
  • Parent commits e59e463
  • Branches default

Comments (0)

Files changed (1)

File playerdo/backends/mpris.py

View file
         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