Change default refresh to 10 seconds

This commit is contained in:
JonnyWong16 2018-03-27 22:08:12 -07:00
commit c35fcc727c
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@
<h3 class="pull-left"><span id="sessions-shortcut">Current Activity</span></h3> <h3 class="pull-left"><span id="sessions-shortcut">Current Activity</span></h3>
<div class="button-bar"> <div class="button-bar">
<div class="input-group pull-left" style="width: 1px; margin-right: 3px" id="activity-refresh-interval-selection"> <div class="input-group pull-left" style="width: 1px; margin-right: 3px" id="activity-refresh-interval-selection">
<span class="input-group-addon btn-dark inactive">Refresh every</span> <span class="input-group-addon btn-dark inactive">Refresh Every</span>
<input type="number" class="form-control number-input" name="activity-refresh-interval" id="activity-refresh-interval" value="${config['home_refresh_interval']}" min="2" data-default="2" data-toggle="tooltip" title="Min: 2 seconds" /> <input type="number" class="form-control number-input" name="activity-refresh-interval" id="activity-refresh-interval" value="${config['home_refresh_interval']}" min="2" data-default="2" data-toggle="tooltip" title="Min: 2 seconds" />
<span class="input-group-addon btn-dark inactive">seconds</span> <span class="input-group-addon btn-dark inactive">seconds</span>
</div> </div>

View file

@ -209,7 +209,7 @@ _CONFIG_DEFINITIONS = {
'HOME_STATS_CARDS': (list, 'General', ['top_movies', 'popular_movies', 'top_tv', 'popular_tv', 'top_music', \ 'HOME_STATS_CARDS': (list, 'General', ['top_movies', 'popular_movies', 'top_tv', 'popular_tv', 'top_music', \
'popular_music', 'last_watched', 'top_users', 'top_platforms', 'most_concurrent']), 'popular_music', 'last_watched', 'top_users', 'top_platforms', 'most_concurrent']),
'HOME_STATS_RECENTLY_ADDED_COUNT': (int, 'General', 50), 'HOME_STATS_RECENTLY_ADDED_COUNT': (int, 'General', 50),
'HOME_REFRESH_INTERVAL': (int, 'General', 2), 'HOME_REFRESH_INTERVAL': (int, 'General', 10),
'HTTPS_CREATE_CERT': (int, 'General', 1), 'HTTPS_CREATE_CERT': (int, 'General', 1),
'HTTPS_CERT': (str, 'General', ''), 'HTTPS_CERT': (str, 'General', ''),
'HTTPS_CERT_CHAIN': (str, 'General', ''), 'HTTPS_CERT_CHAIN': (str, 'General', ''),