0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00
This commit is contained in:
Kuba
2025-10-18 20:33:30 +02:00
parent a988094473
commit ee48633fe2
2 changed files with 46 additions and 0 deletions

View File

@@ -278,6 +278,7 @@ def main():
md, index = md
if isinstance(md, list): playlist_modifier_modules[index:index] = md
else: playlist_modifier_modules.insert(index, md)
elif isinstance(md, list): playlist_modifier_modules.extend(md)
else: playlist_modifier_modules.append(md)
if md := getattr(module, "advisor", None):
if playlist_advisor: raise Exception("Multiple playlist advisors")