Removed some mechanic that is going to be reimplemented.

This commit is contained in:
The Wobbler 2025-02-03 17:53:35 +01:00
parent 67d353dcef
commit bedca22ca6
9 changed files with 24 additions and 28 deletions

View file

@ -30,5 +30,5 @@ class TrackProgress:
def stop(self):
self.timer.stop()
if not self.app.player.current_playlist.current_track is None:
if self.app.player.current_playlist is not None and self.app.player.current_playlist.current_track is not None:
self.remaining_time = self.app.player.current_playlist.current_track.duration