From a7808a774299a35581386587eac933bc7b95bdee Mon Sep 17 00:00:00 2001 From: Kuba <132459354+KubaPro010@users.noreply.github.com> Date: Mon, 13 Oct 2025 20:16:02 +0200 Subject: [PATCH] wrong order --- 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 f575d47..f90bdc9 100644 --- a/modules/write_playlists.py +++ b/modules/write_playlists.py @@ -13,7 +13,7 @@ class Module(PlayerModule): if track != 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] + [self.playlist[index]] + [f"> ({track})"] + self.playlist[index+1:] + lines = self.playlist[:index] + [f"> ({track})"] + [self.playlist[index]] + self.playlist[index+1:] else: lines = self.playlist[:index] + [f"> {self.playlist[index]}"] + self.playlist[index+1:] with open("/tmp/radioPlayer_playlist", "w") as f: for line in lines: