We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 405d4fe commit 337f468Copy full SHA for 337f468
ui/sura_player_ui/audio_looper.py
@@ -73,7 +73,7 @@ def check_loop(self):
73
If the position exceeds loop_end, restarts the loop after the specified delay.
74
"""
75
current_position = self.player.get_position()
76
- if current_position >= self.loop_end:
+ if current_position >= self.loop_end or current_position < self.loop_start:
77
# Stop the monitor timer to avoid multiple triggers.
78
self.monitor_timer.stop()
79
QTimer.singleShot(self.loop_delay, self.restart_loop)
0 commit comments