<%doc> USAGE DOCUMENTATION :: PLEASE LEAVE THIS AT THE TOP OF THIS FILE For Mako templating syntax documentation please visit: http://docs.makotemplates.org/en/latest/ Filename: user.html Version: 0.1 Variable names: data [list] data :: Usable parameters user_id Returns the user id of the user. username Returns the user's username. friendly_name Returns the friendly name of the user. email Returns the user's email address. user_thumb Returns the thumbnail for the user. is_home_user Returns bool value for whether the user is part of a Plex Home. is_allow_sync Returns bool value for whether the user has sync rights. is_restricted Returns bool value for whether the user account is restricted. do_notify Returns bool value for whether to send notifications for the user. keep_history Returns bool value for whether to keep history for the user. DOCUMENTATION :: END <%inherit file="base.html"/> <%! from plexpy.helpers import page %> <%def name="headIncludes()"> <%def name="body()"> % if data:
% if not data['is_active']: % endif
${data['friendly_name']} % if _session['user_group'] == 'admin': % endif
Global Stats
Loading data...
Player Stats
Loading data...
Recently Played
Loading data...
History for ${data['friendly_name']}
% if _session['user_group'] == 'admin':
% endif
Movies TV Shows Music Live TV
Direct Play Direct Stream Transcode

Delete | Date | User | IP Address | Platform | Product | Player | Title | Started | Paused | Stopped | Duration |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---

Playlists for ${data['friendly_name']}
% if _session['user_group'] == 'admin':
% endif

Playlist Title | Playlist Items | Playlist Duration
--- | --- | ---

% if _session['user_group'] == 'admin':
Metadata Exports for ${data['friendly_name']}

Exported At | Media Type | Rating Key | Filename | File Format | Metadata Level | Media Info Level | Custom Fields | File Size | Download | Delete
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---

% endif
IP Addresses for ${data['friendly_name']}

Last Streamed | First Streamed | IP Address | Last Platform | Last Player | Last Played | Play Count
--- | --- | --- | --- | --- | --- | ---

Tautulli Login for ${data['friendly_name']}

Timestamp | User | User Group | IP Address | Host | Operating System | Browser | Expiry |
--- | --- | --- | --- | --- | --- | --- | --- | ---

% else:
Error retrieving user information. Please see the logs for more details.
% endif <%def name="modalIncludes()">

#### Confirm Delete

Are you REALLY sure you want to delete item(s)?

This is permanent and cannot be undone!

<%def name="javascriptIncludes()">
% if data:
% if _session['user_group'] == 'admin':
% endif % endif