mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Fix default setup wizard settings
This commit is contained in:
parent
ad2f61132a
commit
480913362e
2 changed files with 10 additions and 19 deletions
|
@ -164,12 +164,15 @@
|
||||||
<!-- Required fields but hidden -->
|
<!-- Required fields but hidden -->
|
||||||
<div style="display: none;">
|
<div style="display: none;">
|
||||||
<input type="checkbox" name="first_run" id="first_run" value="1" checked>
|
<input type="checkbox" name="first_run" id="first_run" value="1" checked>
|
||||||
<input type="checkbox" name="launch_browser" id="launch_browser" value="1" ${config['launch_browser']}>
|
<input type="checkbox" name="group_history_tables" id="group_history_tables" value="1" checked>
|
||||||
<input type="checkbox" name="refresh_users_on_startup" id="refresh_users_on_startup" value="1" ${config['refresh_users_on_startup']}>
|
<input type="checkbox" name="history_table_activity" id="history_table_activity" value="1" checked>
|
||||||
<input type="checkbox" name="refresh_libraries_on_startup" id="refresh_libraries_on_startup" value="1" ${config['refresh_libraries_on_startup']}>
|
<input type="checkbox" name="launch_browser" id="launch_browser" value="1" checked>
|
||||||
<input type="checkbox" name="check_github" id="check_github" value="1" ${config['check_github']}>
|
<input type="checkbox" name="api_enabled" id="api_enabled" value="1" checked>
|
||||||
<input type="checkbox" name="log_blacklist" id="log_blacklist" value="1" ${config['log_blacklist']}>
|
<input type="checkbox" name="refresh_users_on_startup" id="refresh_users_on_startup" value="1" checked>
|
||||||
<input type="checkbox" name="cache_images" id="cache_images" value="1" ${config['cache_images']}>
|
<input type="checkbox" name="refresh_libraries_on_startup" id="refresh_libraries_on_startup" value="1" checked>
|
||||||
|
<input type="checkbox" name="check_github" id="check_github" value="1" checked>
|
||||||
|
<input type="checkbox" name="log_blacklist" id="log_blacklist" value="1" checked>
|
||||||
|
<input type="checkbox" name="cache_images" id="cache_images" value="1" checked>
|
||||||
<input type="checkbox" name="server_changed" id="server_changed" value="1" checked>
|
<input type="checkbox" name="server_changed" id="server_changed" value="1" checked>
|
||||||
<input type="checkbox" name="first_run_complete" id="first_run_complete" value="1" checked>
|
<input type="checkbox" name="first_run_complete" id="first_run_complete" value="1" checked>
|
||||||
<input type="text" name="home_stats_cards" id="home_stats_cards" value="first_run_wizard">
|
<input type="text" name="home_stats_cards" id="home_stats_cards" value="first_run_wizard">
|
||||||
|
|
|
@ -98,9 +98,6 @@ class WebInterface(object):
|
||||||
@requireAuth(member_of("admin"))
|
@requireAuth(member_of("admin"))
|
||||||
def welcome(self, **kwargs):
|
def welcome(self, **kwargs):
|
||||||
config = {
|
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_identifier": plexpy.CONFIG.PMS_IDENTIFIER,
|
||||||
"pms_ip": plexpy.CONFIG.PMS_IP,
|
"pms_ip": plexpy.CONFIG.PMS_IP,
|
||||||
"pms_is_remote": checked(plexpy.CONFIG.PMS_IS_REMOTE),
|
"pms_is_remote": checked(plexpy.CONFIG.PMS_IS_REMOTE),
|
||||||
|
@ -108,16 +105,7 @@ class WebInterface(object):
|
||||||
"pms_token": plexpy.CONFIG.PMS_TOKEN,
|
"pms_token": plexpy.CONFIG.PMS_TOKEN,
|
||||||
"pms_ssl": checked(plexpy.CONFIG.PMS_SSL),
|
"pms_ssl": checked(plexpy.CONFIG.PMS_SSL),
|
||||||
"pms_uuid": plexpy.CONFIG.PMS_UUID,
|
"pms_uuid": plexpy.CONFIG.PMS_UUID,
|
||||||
"movie_notify_enable": checked(plexpy.CONFIG.MOVIE_NOTIFY_ENABLE),
|
"logging_ignore_interval": plexpy.CONFIG.LOGGING_IGNORE_INTERVAL
|
||||||
"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)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The setup wizard just refreshes the page on submit so we must redirect to home if config set.
|
# The setup wizard just refreshes the page on submit so we must redirect to home if config set.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue