From 097abf81eb4cf10f26ad5c6aa485b06158eece2a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 7 Apr 2011 15:19:18 +0200 Subject: Implement playback-info request to fix playback on iOS 4.3+ --- airplay.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'airplay.py') 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(): -- cgit v1.1-32-gdbae