Refactor of modals and storing server-side

This commit is contained in:
James Barnsley
2022-05-08 20:33:53 +12:00
parent c4f45574f7
commit e561cce2af
15 changed files with 1208 additions and 1299 deletions

View File

@ -39,11 +39,7 @@ class IrisCore(pykka.ThreadingActor):
"seed_tracks": [],
"results": [],
}
data = {
"commands": [],
"pinned": [],
"client_config": {},
}
data = {}
ioloop = None
@classmethod
@ -885,6 +881,9 @@ class IrisCore(pykka.ThreadingActor):
# Portable configuration template for other users to import
##
def get_shared_config(self, *args, **kwargs):
return self.get_data("shared_config", *args, **kwargs)
def set_shared_config(self, *args, **kwargs):
return self.set_data("shared_config", *args, **kwargs)