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

module callbacks in the future?

This commit is contained in:
Kuba
2025-11-01 12:00:38 +01:00
parent cccf4a2965
commit 057b8f04e1
4 changed files with 40 additions and 42 deletions

View File

@@ -110,7 +110,7 @@ class Module(PlaylistAdvisor):
def imc(self, imc: InterModuleCommunication):
self.class_imc = imc
imc.register(self, "advisor")
def imc_data(self, source: PlayerModule | ActiveModifier | PlaylistAdvisor, data: object):
def imc_data(self, source: PlayerModule | ActiveModifier | PlaylistAdvisor, data: object, broadcast: bool):
return self.custom_playlist
advisor = Module()