From 480913362e76b00aa497d438c4e7fbed7fa64bd0 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Thu, 21 Dec 2017 11:23:11 -0800 Subject: [PATCH] Fix default setup wizard settings --- data/interfaces/default/welcome.html | 15 +++++++++------ plexpy/webserve.py | 14 +------------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/data/interfaces/default/welcome.html b/data/interfaces/default/welcome.html index 934cf642..6dd0c779 100644 --- a/data/interfaces/default/welcome.html +++ b/data/interfaces/default/welcome.html @@ -164,12 +164,15 @@
- - - - - - + + + + + + + + + diff --git a/plexpy/webserve.py b/plexpy/webserve.py index 6cc3b6fc..57dc6b9a 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -98,9 +98,6 @@ class WebInterface(object): @requireAuth(member_of("admin")) def welcome(self, **kwargs): config = { - "launch_browser": checked(plexpy.CONFIG.LAUNCH_BROWSER), - "refresh_users_on_startup": checked(plexpy.CONFIG.REFRESH_USERS_ON_STARTUP), - "refresh_libraries_on_startup": checked(plexpy.CONFIG.REFRESH_LIBRARIES_ON_STARTUP), "pms_identifier": plexpy.CONFIG.PMS_IDENTIFIER, "pms_ip": plexpy.CONFIG.PMS_IP, "pms_is_remote": checked(plexpy.CONFIG.PMS_IS_REMOTE), @@ -108,16 +105,7 @@ class WebInterface(object): "pms_token": plexpy.CONFIG.PMS_TOKEN, "pms_ssl": checked(plexpy.CONFIG.PMS_SSL), "pms_uuid": plexpy.CONFIG.PMS_UUID, - "movie_notify_enable": checked(plexpy.CONFIG.MOVIE_NOTIFY_ENABLE), - "tv_notify_enable": checked(plexpy.CONFIG.TV_NOTIFY_ENABLE), - "music_notify_enable": checked(plexpy.CONFIG.MUSIC_NOTIFY_ENABLE), - "movie_logging_enable": checked(plexpy.CONFIG.MOVIE_LOGGING_ENABLE), - "tv_logging_enable": checked(plexpy.CONFIG.TV_LOGGING_ENABLE), - "music_logging_enable": checked(plexpy.CONFIG.MUSIC_LOGGING_ENABLE), - "logging_ignore_interval": plexpy.CONFIG.LOGGING_IGNORE_INTERVAL, - "check_github": checked(plexpy.CONFIG.CHECK_GITHUB), - "log_blacklist": checked(plexpy.CONFIG.LOG_BLACKLIST), - "cache_images": checked(plexpy.CONFIG.CACHE_IMAGES) + "logging_ignore_interval": plexpy.CONFIG.LOGGING_IGNORE_INTERVAL } # The setup wizard just refreshes the page on submit so we must redirect to home if config set.