Fixed a bug where the cache of the first track gets cleared when started by doubleclick.

This commit is contained in:
The Wobbler 2025-01-26 12:27:49 +01:00
parent 027c2f6ac8
commit b106c5eb21

View file

@ -74,7 +74,7 @@ class Player:
self.track_progress.start()
self.app.gui.on_track_change(previous_track, self.current_playlist.current_track)
if self.app.settings.clear_track_cache:
if self.app.settings.clear_track_cache and not previous_track == self.current_playlist.current_track:
previous_track.clear_cache()
def pause(self):