Added setting to disable the server for LAN chromecast devices
This commit is contained in:
@@ -154,6 +154,10 @@ class ApplicationState:
|
||||
def migrate(self):
|
||||
"""Use this function to migrate any state storage that has changed."""
|
||||
self.config.migrate()
|
||||
self.save_config()
|
||||
|
||||
if self.config.server:
|
||||
self.save()
|
||||
|
||||
def save(self):
|
||||
# Make the necessary directories before writing the state.
|
||||
|
Reference in New Issue
Block a user