From bf92ccc32330fa738dde830c0f173342fcc0a9d7 Mon Sep 17 00:00:00 2001 From: KubaPro010 <132459354+KubaPro010@users.noreply.github.com> Date: Thu, 6 Nov 2025 16:01:26 +0100 Subject: [PATCH] idiot --- modules/write_playlists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/write_playlists.py b/modules/write_playlists.py index 5893a08..496ea9f 100644 --- a/modules/write_playlists.py +++ b/modules/write_playlists.py @@ -8,7 +8,7 @@ class Module(PlayerModule): def on_new_playlist(self, playlist: list[Track]): self.playlist = [str(t.path) for t in playlist] def on_new_track(self, index: int, track: Track): - if track.path.name != self.playlist[index]: + if str(track.path) != self.playlist[index]: # discrepancy, which means that the playing file was modified by the active modifier # we are playing a file that was not determined in the playlist, that means it was chosen by the active modifier and made up on the fly lines = self.playlist[:index] + [f"> ({track.path})"] + [self.playlist[index]] + self.playlist[index+1:]