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:
KubaPro010
2025-11-08 20:46:51 +01:00
parent bbeeace730
commit 3117d17c65

View File

@@ -1,4 +1,4 @@
from modules import ActiveModifier, InterModuleCommunication, PlayerModule
from modules import BaseIMCModule, InterModuleCommunication
from . import PlaylistAdvisor, log95, Path
import os, datetime
@@ -118,7 +118,7 @@ class Module(PlaylistAdvisor):
def imc(self, imc: InterModuleCommunication) -> None:
self.class_imc = imc
imc.register(self, "advisor")
def imc_data(self, source: PlayerModule | ActiveModifier | PlaylistAdvisor, source_name: str | None, data: object, broadcast: bool):
def imc_data(self, source: BaseIMCModule, source_name: str | None, data: object, broadcast: bool):
return self.custom_playlist
advisor = Module()