mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-30 07:49:18 +02:00
fix?
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
from modules import ActiveModifier, InterModuleCommunication, PlayerModule
|
from modules import BaseIMCModule, InterModuleCommunication
|
||||||
from . import PlaylistAdvisor, log95, Path
|
from . import PlaylistAdvisor, log95, Path
|
||||||
import os, datetime
|
import os, datetime
|
||||||
|
|
||||||
@@ -118,7 +118,7 @@ class Module(PlaylistAdvisor):
|
|||||||
def imc(self, imc: InterModuleCommunication) -> None:
|
def imc(self, imc: InterModuleCommunication) -> None:
|
||||||
self.class_imc = imc
|
self.class_imc = imc
|
||||||
imc.register(self, "advisor")
|
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
|
return self.custom_playlist
|
||||||
|
|
||||||
advisor = Module()
|
advisor = Module()
|
||||||
Reference in New Issue
Block a user