diff --git a/mediadecoder/decoder.py b/mediadecoder/decoder.py index 9099302..13a42dd 100644 --- a/mediadecoder/decoder.py +++ b/mediadecoder/decoder.py @@ -118,6 +118,11 @@ def current_playtime(self): """Clocks current runtime in seconds.""" return self._clock.time + @property + def loop_count(self): + """Indicates how often the clip has looped.""" + return self._loop_count + @property def loop(self): """Indicates whether the playback should loop."""