<%inherit file="base.html"/> <%! import os import sys import plexpy from plexpy import common, notifiers from plexpy.helpers import anon_url available_notification_agents = sorted(notifiers.available_notification_agents(), key=lambda k: k['label']) %> <%def name="headIncludes()"> <%def name="headerIncludes()"> <%def name="body()">
Settings
% if config['check_github']:
% endif
% if common.VERSION_NUMBER:

### Version ${common.VERSION_NUMBER} Changelog

% endif

### PlexPy Configuration

Loading configuration table...

### PlexPy Scheduled Tasks

Loading scheduler table...

### Display Settings

Date Format

Set your preferred date format. Click here to see the parameter list.

Time Format

Set your preferred time format. Click here to see the parameter list.

Week Starting on Monday

Change the "Play by day of week" graph to start on Monday. Default is start on Sunday.

Group Table and Watch Statistics History

Group successive play history by the same user as a single entry in the tables and watch statistics.

Current Activity in History Tables

Include current activity in the history tables. Statistics will not be counted until the stream has ended.

Movie Watched Percent

Set the percentage for a movie to be considered as watched. Minimum 50, Maximum 95.

TV Episode Watched Percent

Set the percentage for a TV episode to be considered as watched. Minimum 50, Maximum 95.

Music Listened Percent

Set the percentage for a music track to be considered as listened. Minimum 50, Maximum 95.

### Updates

Enable Updates

Check for PlexPy updates periodically.

Update Automatically

Update PlexPy automatically if an update is available.

GitHub API Token

Optional: Use your own GitHub API token when checking for updates.

### Sections

Select the sections to show on the homepage. Drag the items below to reorder your homepage content.

- Current Activity
- Watch Statistics
- Library Statistics
- Recently Added

### Watch Statistics

Select the cards to show in the watch statistics on the home page. Drag the items below to reorder your homepage content.

- Most Watched Movie
- Most Popular Movie
- Most Watched TV
- Most Popular TV
- Most Listened to Artist
- Most Popular Artist
- Last Watched
- Most Active User
- Most Active Platform
- Most Concurrent Streams

### Library Statistics

Select the cards to show in the library statistics on the home page. Drag the items below to reorder your homepage content.

### Web Interface

Note: Web interface changes require a restart.

HTTP Host

localhost or an IP address to bind the web server to. Default 0.0.0.0 to bind to all interfaces.

HTTP Port

Port to bind web server to. Note that ports below 1024 may require root.

HTTP Root

The base URL of the web server. Used for reverse proxies.

Launch Browser on Startup

Launch browser pointed to PlexPy on startup.

Enable HTTPS

Enable HTTPS for web server for encrypted communication.

Create Self-signed Certificate

Check to have PlexPy create a self-signed SSL certificate. Uncheck if you want to use your own certificate.

HTTPS Domains

The domain names used to access PlexPy, separated by commas (,).

HTTPS IPs

The IP addresses used to access PlexPy, separated by commas (,).

HTTPS Certificate

The location of the SSL certificate.

HTTPS Certificate Chain

The location of the SSL certificate chain.

HTTPS Key

The location of the SSL key.

### Authentication

Authentication changes require a restart.

HTTP Username

Username for web server authentication. Leave empty to disable.

HTTP Password

Password for web server authentication. Leave empty to disable.

Hash Password in the Config File

Store a hashed password in the config file.
Warning: Your password cannot be recovered if forgotten!

Use Basic Authentication

Use basic HTTP authentication instead of the HTML login form.

### Guest Access

Allow Guest Access to PlexPy

Allow shared users to login to PlexPy using their Plex.tv account. Individual user access needs to be enabled from Users > Edit Mode.

### API

Enable API

Allow remote applications to interface with PlexPy.

API key

Current API key: ${config['api_key']}

### Plex Media Server Version ${config['pms_version']}

If you're using websocket monitoring, any server changes require a restart of PlexPy.

Monitor Plex Updates

Enable to have PlexPy check if updates are available for the Plex Media Server.

Update Channel
Release
Monitor Plex Remote Access

Enable to have PlexPy check if remote access to the Plex Media Server goes down.

Plex IP or Hostname

IP Address or hostname for Plex Media Server.

Plex Port

Port that Plex Media Server is listening on.

Remote Server

Check this if your Plex Server is not on the same local network as PlexPy.

Use SSL

If you have secure connections enabled on your Plex Server, communicate with it securely.

### Plex Logs

Logs Folder

Optional: Set your Plex logs folder to use PlexPy as a log viewer. Plex logs are not needed for PlexPy to function. A complete folder path is required, shortcuts are not recognized. Click here for help.

### Plex.tv Authentication

PMS Token

Token for Plex.tv authentication.

### Friends List

Users List Refresh Interval

The interval (in hours) PlexPy will request an updated friends list from Plex.tv. Minimum 1, maximum 24, default 12.

Refresh Users List on Startup

Refresh the users list when PlexPy starts.

### Libraries List

Libraries List Refresh Interval

The interval (in hours) PlexPy will request an updated libraries list from your Plex Media Server. Minimum 1, maximum 24, default 12.

Refresh Libraries List on Startup

Refresh the libraries list when PlexPy starts.

### Monitoring Settings

Monitoring Interval

The interval (in seconds) PlexPy will ping your Plex Server. Minimum 30 seconds, recommended 60 seconds.
Note: Only used for checking Plex remote access.

### History Logging

Ignore Interval

The interval (in seconds) an item must be in a playing state before logging it. 0 to disable.

### Buffer Warnings

Note: Buffer warnings only work on certain Plex clients. Android and Plex Web do not report buffer events accurately or at all.

Buffer Threshold

How many buffer events should we wait before triggering the first warning. Buffer events increment on each monitor ping if play state is buffering. 0 to disable buffer warnings.

Buffer Wait

The value (in seconds) PlexPy should wait before triggering the next buffer warning. 0 to always trigger.

### 3rd Party APIs

Enable Posters in Notifications

Enable to upload Plex posters to Imgur for notifications. Disable if posters are not being used to save bandwidth.

Imgur Client ID

Enter your Imgur API client ID in order to upload posters. You can register a new application here.

Lookup TheMovieDB Links

Enable to lookup links to TheMovieDB for movies and TV shows when available.

Lookup TVmaze Links

Enable to lookup links to TVmaze for TV shows when available.

### Current Activity Notifications

Allow Consecutive Notifications

Enable to allow sending of consecutive notifications (i.e. both watched & stopped notifications).

User Concurrent Streams Notifications by IP Address

Enable to only send a notification of concurrent streams by a single user from different IP addresses.

User Concurrent Stream Threshold

The number of concurrent streams by a single user for PlexPy to trigger a notification. Minimum 2.

### Recently Added Notifications

Group Notifications by Season or Album

Enable to only send one season or album notification when multiple episodes or tracks are added. Movies, single episodes, and single tracks are unaffected.
Note: An episode/track range can be shown (e.g. 01-12), but all other episode/track metadata will be unavailable.

Group Notifications by TV Show or Artist

Enable to only send one TV show or artist notification when multiple seasons or albums are added. Movies, single episodes, and single tracks are unaffected.
Note: A season range can be shown (e.g. 1-3), but all other season/episode/album/track metadata will be unavailable.

Send a Notification for New Versions [Not working]

Enable to send another recently added notification when adding a new version of existing media.
Note: If multiple versions are available, PlexPy will assume the higher quality one is newer.

### Notification Agents

Add a new notification agent, or configure an existing notification agent by clicking the settings icon on the right.

Loading notification agents...

### Extra Settings

Use Video Preview Thumbnails (BIF)

If you have media indexing enabled on your server, use these on the activity pane.

Calculate Total File Sizes [experimental]

Enable if you want PlexPy to calculate the total file size for TV Shows/Seasons and Artists/Albums on the media info tables.

Mask Sensitive Information in Logs

Enable to mask passwords, access tokens, and public IP addresses with asterisks (*) in the logs.
Note: Only logs from the time this setting is enabled will be masked. Do not post your logs publically without masking sensitive information!

Cache Plex Images

Enable to cache images from Plex to reduce API calls and improve loading times.
Note: Video preview thumbnails (BIF) are not cached.

Anonymous Redirect

Backlink protection via anonymizer service, must end in "?".

Flush Temporary Sessions

Attempt to fix history logging by flushing out all of the temporary sessions in the database.
Warning: This will reset all currently active sessions. For emergency use only when history logging is stuck!

% if plexpy.INSTALL_TYPE == 'git':

### Git Settings

Git Remote / Branch

The git tracking remote and branch (default "origin/master"). Select to switch the git branch (requires restart).

Git Path

Optional: The path to your git environment variable. Leave blank for default.

% endif

### Database Import

Click a button below to import an exisiting database from another app.

### Backup

Backup Interval

The interval (in hours) PlexPy will backup the database and configuration file. Minimum 1, maximum 24, default 6.

Backup Days

The number of days to keep scheduled backups. Minimum 1, default 3.
Note: Manual backups are not removed automatically.

### Directories

Backup Directory
Cache Directory
Log Directory

### PlexPy Android App

Get the App

Get the PlexPy Remote app on Google PlayTM to access PlexPy from your Android device!

Register Your Device

Register your device to your PlexPy server by scanning a QR code.

The API must be enabled under Access Control to use the app.
Registered Devices

List of devices currently registered with the PlexPy server.

Loading registered devices...
<%def name="modalIncludes()">

#### Guidelines

Please read the guidelines in the README document
before submitting a new !
Your post may be removed for failure to follow the guidelines.

#### Support

Please read the FAQ before asking for help!

#### Date & Time Format Options

% for category in common.DATE_TIME_FORMATS:

${category['category']}
% for parameter in category['parameters']:
${parameter['value']} | ${parameter['description']} | ${parameter['example']}
% endfor

% endfor

#### Fetch Plex.tv Token

This will attempt to fetch a new Plex.tv token for you. PlexPy does not store your username and password. Note: This will not work on Internet Explorer 9 or lower.

Plex.tv Username

Username for Plex.tv authentication.

Plex.tv Password

Password for Plex.tv authentication.

#### Add a Notification Agent

% for agent in available_notification_agents:
- ${agent['label']}
% endfor

#### Notification Parameters

If the value for a selected parameter cannot be provided, it will display as blank.

% for category in common.NOTIFICATION_PARAMETERS:

${category['category']}
% for parameter in category['parameters']:
{${parameter['value']}} | ${parameter['description']} % if parameter.get('example'): (${parameter['example']}) % endif % if parameter.get('help_text'): (${parameter['help_text']}) % endif
% endfor

% endfor

#### Notification Exclusion Tags

#### Movie Tag

All text inside <movie></movie> tags will only be sent when the media item is a movie.

Example:

    {title} <movie>({year})</movie> was recently added to Plex

#### Show / Season / Episode Tags

All text inside <show></show>/<season></season>/<episode></episode> tags will only be sent when the media item is a show/season/episode.

Example:

    {show_name}<season> - Season {season_num}</season><episode> - S{season_num}E{episode_num} - {episode_name}</episode> was recently added to Plex.

#### Artist / Album / Track Tag

All text inside <artist></artist>/<album></album>/<track></track> tags will only be sent when the media item is an artist/album/track.

Example:

    {artist_name}<album> - {album_name}</album><track> - {album_name} - {track_name}</track> was recently added to Plex.

#### Changelog

#### Restart

You have changed settings that require PlexPy to restart.
Click the restart button below to restart now.

#### Register PlexPy Android App

Instructions

Scan the QR code below with the PlexPy Android app to automatically register it with the server. Make sure the PlexPy Address below is correct.

QR Code

PlexPy Address

Note: 127.0.0.1 and localhost will not work. Please enter an internal or external IP address, or hostname or domain instead.

Note: This is a private IP address. PlexPy will not be reachable outside of your home network. Access PlexPy externally to generate the QR code for remote access.

Note: This URL is not secure. Requests between the app and the server will not be encrypted. Enable HTTPS to connect the app securely.

<%def name="javascriptIncludes()">