commit 44115c6c946e311c5db40f0f73f3535ceb25599f
parent 333e72e51ea00ed6ec15a30eb32266794a42d613
Author: rob <rob@tarina.org>
Date: Wed, 17 May 2023 11:56:19 +0100
pause film fix
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -3137,18 +3137,18 @@ def playdub(filmname, filename, player_menu):
pass
starttime = time.time()
elif menu[selected] == 'PAUSE':
+ player.pause()
try:
- player.pause()
playerAudio.pause()
- pause = True
except:
pass
+ pause = True
elif menu[selected] == 'PLAY':
+ player.play()
try:
- player.play()
playerAudio.play()
except:
- return
+ pass
pause = False
elif menu[selected] == 'TRIM':
selected = 1