From de877ffbea198427c5fc0c71b8f524357521ac1f Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Fri, 12 Dec 2025 21:49:50 +0100 Subject: [PATCH] oh --- modules/active_modifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/active_modifier.py b/modules/active_modifier.py index 573247f..a8e632b 100644 --- a/modules/active_modifier.py +++ b/modules/active_modifier.py @@ -37,7 +37,7 @@ class Module(ActiveModifier): if not os.path.exists("/tmp/radioPlayer_toplay"): open("/tmp/radioPlayer_toplay", "a").close() with open("/tmp/radioPlayer_toplay", "r") as f: songs = [s.strip() for s in f.readlines() if s.strip()] - songs[:] = [f for s in songs for f in glob.glob(s) if os.path.isfile(f)] # expand glob + songs[:] = [f for s in songs for f in glob.glob(s.removeprefix("!")) if os.path.isfile(f)] # expand glob def get_song(pop: bool = True): nonlocal songs