summaryrefslogtreecommitdiffstats
path: root/airplay.py
diff options
context:
space:
mode:
Diffstat (limited to 'airplay.py')
-rw-r--r--airplay.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/airplay.py b/airplay.py
index 3e6266b..e2906c0 100644
--- a/airplay.py
+++ b/airplay.py
@@ -54,6 +54,9 @@ class AirPlayTotemPlayer(AirPlayService):
position = float(self.totem.get_property('current-time') / 1000)
return duration, position
+ def is_playing(self):
+ return self.totem.is_playing()
+
# this must seek to a certain time
def set_scrub(self, position):
if self.totem.is_seekable():