diff --git a/wobuzz/player/track_progress_timer.py b/wobuzz/player/track_progress_timer.py index c8bfdf5..81e429a 100644 --- a/wobuzz/player/track_progress_timer.py +++ b/wobuzz/player/track_progress_timer.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -from PyQt6.QtCore import QTimer +from PyQt6.QtCore import Qt, QTimer class TrackProgress: @@ -10,6 +10,7 @@ class TrackProgress: self.remaining_time = 0 self.timer = QTimer() + self.timer.setTimerType(Qt.TimerType.PreciseTimer) self.timer.timeout.connect(self.track_finished) self.timer.setSingleShot(True)