mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 15:29:14 +02:00
dont remove non official tracks
This commit is contained in:
@@ -51,6 +51,7 @@ class Module(PlaylistModifierModule):
|
||||
|
||||
class Module2(PlayerModule):
|
||||
def on_new_track(self, index: int, track: Track, next_track: Track | None) -> None:
|
||||
if not track.official: return
|
||||
played_tracks.add(track.path)
|
||||
save_played()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user