0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00

small cosmetic change

This commit is contained in:
Kuba
2025-10-13 20:15:29 +02:00
parent d2ae3fdb40
commit d2aa06cc3b

View File

@@ -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] + [self.playlist[index]] + [f"> ({track})"] + 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: