<%inherit file="base.html"/> <%def name="headIncludes()"> <%def name="body()"> <% from plexpy import PLEX_SERVER_UP %>
% for section in config['home_sections']: % if section == 'current_activity':

### Activity Sessions: | Bandwidth:

% if PLEX_SERVER_UP:
Checking for activity...
% elif config['pms_is_cloud']:
Plex Cloud server is sleeping.
% elif not config['first_run_complete']:
The Tautulli setup wizard has not been completed. Please click here to go to the setup wizard.
% 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

Play Count Play Duration
Last days
Loading stats...
% elif section == 'library_stats':

### Library Statistics

${config['pms_name']}
Loading stats...
% elif section == 'recently_added':

### Recently Added

All Movies TV Shows Music Videos
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 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?

Terminate Message

#### Raw Stream Info: ()

% endif
<%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