- commit
- 4a5f6397ae7606fd995298f9ef79732544517d7c
- parent
- 876ffe42ff33806d4eb24fe5322b0cc6defcbd6a
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-08-02 22:18
fix playback on mpv == 0.38.0
Diffstat
| M | cplay.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/cplay.py b/cplay.py
@@ -220,7 +220,7 @@ class Player: 220 220 return 221 221 self.is_playing = True 222 222 self._playing += 1223 -1 if get_mpv_version() > (0, 38, 0):-1 223 if get_mpv_version() >= (0, 38, 0): 224 224 self._ipc('loadfile', self.path, 'replace', 0, 'start=%i' % self.position) 225 225 else: 226 226 self._ipc('loadfile', self.path, 'replace', 'start=%i' % self.position)