You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
inter module communication!
This commit is contained in:
@@ -290,6 +290,12 @@ def main():
|
||||
if not playlist_advisor:
|
||||
logger.critical_error("Playlist advisor was not found")
|
||||
exit(1)
|
||||
|
||||
imc = InterModuleCommunication(playlist_advisor, active_modifier, simple_modules)
|
||||
|
||||
playlist_advisor.imc(imc)
|
||||
if active_modifier: active_modifier.imc(imc)
|
||||
for module in simple_modules: module.imc(imc)
|
||||
|
||||
try:
|
||||
arg = " ".join(sys.argv[1:]) if len(sys.argv) > 1 else None
|
||||
|
||||
Reference in New Issue
Block a user