% for section in config['home_sections']:
% if section == 'current_activity':
Activity
Streams: |
Bandwidth:
% if PLEX_SERVER_UP:
Checking for activity...
% elif config['pms_is_cloud']:
Plex Cloud server is sleeping.
% else:
There was an error communicating with your Plex Server.
% if _session['user_group'] == 'admin':
Check the logs and verify your server connection in the settings.
% endif
% endif
% elif section == 'watch_stats':
Watch Statistics
% if config['home_stats_type'] == 0:
% else:
% endif
Lastdays
Loading stats...
% elif section == 'library_stats':
Library Statistics
${config['pms_name']}
Loading stats...
% elif section == 'recently_added':
Recently Added
items
% if PLEX_SERVER_UP:
Looking for new items...
% elif config['pms_is_cloud']:
Plex Cloud server is sleeping.
% else:
There was an error communicating with your Plex Server.
% if _session['user_group'] == 'admin':
Check the logs and verify your server connection in the settings.
% endif
% endif
% endif
% endfor
%def>
<%def name="modalIncludes()">
% if _session['user_group'] == 'admin' and config['update_show_changelog']:
<% from plexpy.common import RELEASE %>
Tautulli Updated to ${RELEASE}
% endif
% if _session['user_group'] == 'admin':
Terminate Session
Are you sure you want to terminate this session?
Raw Stream Info: ()
% endif
%def>
<%def name="javascriptIncludes()">
<% from plexpy import PLEX_SERVER_UP %>
% if 'current_activity' in config['home_sections'] and PLEX_SERVER_UP:
% endif
% if 'watch_stats' in config['home_sections']:
% endif
% if 'library_stats' in config['home_sections']:
% endif
% if 'recently_added' in config['home_sections'] and PLEX_SERVER_UP:
% endif
% if _session['user_group'] == 'admin' and config['update_show_changelog']:
% endif
%def>