diff options
Diffstat (limited to 'airplay.py')
| -rw-r--r-- | airplay.py | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -54,6 +54,9 @@ class AirPlayTotemPlayer(AirPlayService): | |||
| 54 | position = float(self.totem.get_property('current-time') / 1000) | 54 | position = float(self.totem.get_property('current-time') / 1000) |
| 55 | return duration, position | 55 | return duration, position |
| 56 | 56 | ||
| 57 | def is_playing(self): | ||
| 58 | return self.totem.is_playing() | ||
| 59 | |||
| 57 | # this must seek to a certain time | 60 | # this must seek to a certain time |
| 58 | def set_scrub(self, position): | 61 | def set_scrub(self, position): |
| 59 | if self.totem.is_seekable(): | 62 | if self.totem.is_seekable(): |
