mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-31 00:09:16 +02:00
move stuff to .playlist
This commit is contained in:
@@ -15,8 +15,8 @@ def load_dict_from_custom_format(file_path: str | Path) -> dict[str, str]:
|
||||
|
||||
class Module(PlayerModule):
|
||||
def __init__(self) -> None:
|
||||
self.logger = log95.log95("PlayCnt", output=_log_out)
|
||||
self.file = Path(__file__, "..", "..", "play_counter").resolve()
|
||||
self.logger = log95.log95("PlayCnt", output=_log_out) # That sounds bad...
|
||||
self.file = Path("/home/user/mixes/.playlist/count.txt").resolve()
|
||||
self.counts: dict[str, int] = {}
|
||||
loaded = load_dict_from_custom_format(self.file)
|
||||
for k, v in loaded.items():
|
||||
|
||||
Reference in New Issue
Block a user