%inherit file="base.html"/> <%! import os import sys import plexpy from plexpy import common, notifiers, versioncheck from plexpy.helpers import anon_url available_notification_agents = sorted(notifiers.available_notification_agents(), key=lambda k: k['name']) %> <%def name="headIncludes()"> %def> <%def name="headerIncludes()"> %def> <%def name="body()">
| Year | ||
|---|---|---|
| YYYY | Numeric, four digits | E.g. 1999, 2003 |
| YY | Numeric, two digits | E.g. 99, 03 |
| Month | ||
|---|---|---|
| MMMM | Textual, full | January-December |
| MMM | Textual, three letters | Jan-Dec |
| MM | Numeric, with leading zeros | 01-12 |
| M | Numeric, without leading zeros | 1-12 |
| Day of the Year | ||
|---|---|---|
| DDDD | Numeric, with leading zeros | 001-365 |
| DDD | Numeric, without leading zeros | 1-365 |
| Day of the Month | ||
|---|---|---|
| DD | Numeric, with leading zeros | 01-31 |
| D | Numeric, without leading zeros | 1-31 |
| Do | Numeric, with suffix | E.g. 1st, 2nd ... 31st. |
| Day of the Week | ||
|---|---|---|
| dddd | Textual, full | Sunday-Saturday |
| ddd | Textual, three letters | Sun-Sat |
| d | Numeric | 0-6 |
| Hour | ||
|---|---|---|
| HH | 24-hour, with leading zeros | 00-23 |
| H | 24-hour, without leading zeros | 0-23 |
| hh | 12-hour, with leading zeros | 01-12 |
| h | 12-hour, without leading zeros | 1-12 |
| Minute | ||
|---|---|---|
| mm | Numeric, with leading zeros | 00-59 |
| m | Numeric, without leading zeros | 0-59 |
| Second | ||
|---|---|---|
| ss | Numeric, with leading zeros | 00-59 |
| s | Numeric, without leading zeros | 0-59 |
| AM / PM | ||
|---|---|---|
| A | AM/PM uppercase | AM, PM |
| a | am/pm lowercase | am, pm |
| Timezone | ||
|---|---|---|
| ZZ | UTC offset | E.g. +0100, -0700 |
| Z | UTC offset | E.g. +01:00, -07:00 |
| Timestamp | ||
|---|---|---|
| X | Unix timestamp | E.g. 1456887825 |
This will attempt to fetch your token for you. This will not work on Internet Explorer 9 or lower. PlexPy does not store your username and password.
Username for Plex.tv authentication.
Password for Plex.tv authentication.
If the value for a selected parameter cannot be provided, it will display as blank.
| Global | |
|---|---|
| {server_name} | The name of your Plex Server. |
| {server_uptime} | The uptime (in days, hours, mins, secs) of your Plex Server. |
| {server_version} | The current version of your Plex Server. |
| {action} | The action that triggered the notification. |
| {datestamp} | The date (in date format) the notification was triggered. |
| {timestamp} | The time (in time format) the notification was triggered. |
| Stream Details | |
|---|---|
| {streams} | The number of concurrent streams. |
| {user_streams} | The number of concurrent streams by the person streaming. |
| {user} | The friendly name of the person streaming. |
| {username} | The username of the person streaming. |
| {platform} | The type of client being used for playback. |
| {player} | The name of the device being used for playback. |
| {ip_address} | The IP address of the device being used for playback. (PMS 0.9.14 and above) |
| {stream_duration} | The stream duration (in minutes) for the item. |
| {stream_time} | The stream duration (in time format) for the item. |
| {remaining_duration} | The remaining duration (in minutes) for the item. |
| {remaining_time} | The remaining duration (in time format) for the item. |
| {progress_duration} | The last reported offset (in minutes) for the item. |
| {progress_time} | The last reported offset (in time format) for the item. |
| {progress_percent} | The last reported progress percent for the item. |
| {container} | The media container of the original media. |
| {video_codec} | The video codec of the original media. |
| {video_bitrate} | The video bitrate of the original media. |
| {video_width} | The video width of the original media. |
| {video_height} | The video height of the original media. |
| {video_resolution} | The video resolution of the original media. |
| {video_framerate} | The video framerate of the original media. |
| {aspect_ratio} | The aspect ratio of the original media. |
| {audio_codec} | The audio codec of the original media. |
| {audio_channels} | The audio channels of the original media. |
| {transcode_decision} | The stream transcode decisions for the media item. |
| {video_decision} | The video transcode decisions for the media item. |
| {audio_decision} | The audio transcode decisions for the media item. |
| {transcode_container} | The media container of the transcoded media. |
| {transcode_video_codec} | The video codec of the transcoded media. |
| {transcode_video_width} | The video width of the transcoded media. |
| {transcode_video_height} | The video height of the transcoded media. |
| {transcode_audio_codec} | The audio codec of the transcoded media. |
| {transcode_audio_channels} | The audio channels of the transcoded media. |
| {session_key} | The unique identifier for the stream session. |
| {transcode_key} | The unique identifier for the transcode session. |
| {user_id} | The unique identifier for the user. |
| {machine_id} | The unique identifier for the player. |
| Metadata Details | |
|---|---|
| {media_type} | The type of media. (movie, episode, track) |
| {title} | The full title of the item. |
| {library_name} | The library title of the media item. |
| {show_name} | The title of the TV series. |
| {episode_name} | The title of the episode. |
| {artist_name} | The name of the artist. |
| {album_name} | The title of the album. |
| {track_name} | The title of the track. |
| {season_num} | The season number for the episode. |
| {season_num00} | The two digit season number. |
| {episode_num} | The episode number for the episode. |
| {episode_num00} | The two digit episode number. |
| {track_num} | The track number for the track. |
| {track_num00} | The two digit track number. |
| {year} | The release year for the item. |
| {release_date} | The release date (in date format) for the item. |
| {air_date} | The air date (in date format) for the item. |
| {added_date} | The date (in date format) the item was added to Plex. |
| {updated_date} | The date (in date format) the item was updated on Plex. |
| {last_viewed_date} | The date (in date format) the item was last viewed on Plex. |
| {studio} | The studio for the item. |
| {content_rating} | The content rating for the item. (e.g. TV-MA, TV-PG, etc.) |
| {directors} | A list of directors for the item. |
| {writers} | A list of writers for the item. |
| {actors} | A list of actors for the item. |
| {genres} | A list of genres for the item. |
| {summary} | A short plot summary for the item. |
| {tagline} | A tagline for the media item. |
| {rating} | The rating (out of 10) for the item. |
| {duration} | The duration (in minutes) for the item. |
| {poster_url} | A URL for the movie, TV show, or album poster. |
| {plex_url} | The Plex URL to your server for the item. |
| {imdb_id} | The IMDB ID for the movie. (e.g. tt2488496)
(PMS agent must be Freebase) |
| {imdb_url} | The IMDB URL for the movie.
(PMS agent must be Freebase) |
| {thetvdb_id} | The TVDB ID for the TV show. (e.g. 121361)
(PMS agent must be TheTVDB) |
| {thetvdb_url} | The TVDB URL for the TV show.
(PMS agent must be TheTVDB) |
| {themoviedb_id} | The TMDb ID for the movie or TV show. (e.g. 15260)
(PMS agent must be The Movie Database) |
| {themoviedb_url} | The TMDb URL for the movie or TV show.
(PMS agent must be The Movie Database) |
| {lastfm_url} | The Last.fm URL for the album.
(PMS agent must be Last.fm) |
| {trakt_url} | The trakt.tv URL for the movie or TV show. |
| {section_id} | The unique identifier for the library. |
| {rating_key} | The unique identifier for the movie, episode, or track. |
| {parent_rating_key} | The unique identifier for the season or album. |
| {grandparent_rating_key} | The unique identifier for the TV show or artist. |
| Plex Update Available | |
|---|---|
| {update_version} | The available update version for your Plex Server. |
| {update_url} | The available update download URL. |
| {update_release_date} | The release date of the update version. |
| {update_channel} | The update channel. (Public or Plex Pass) |
| {update_platform} | The platform of your Plex Server. |
| {update_distro} | The distro of your Plex Server. |
| {update_distro_build} | The distro build of your Plex Server. |
| {update_requirements} | The requirements for the available update. |
| {update_extra_info} | Any extra info for the available update. |
| {update_changelog_added} | The added changelog for the available update. |
| {update_changelog_fixed} | The fixed changelog for the available update. |
All text inside a movie tag will only be sent when the media item being played back is a movie.
Example:
{user} has started playing {title} <movie>({year})</movie>
All text inside a tv tag will only be sent when the media item being played back is an episode.
Example:
{user} has started playing {title} <tv>(S{season_num}E{episode_num})</tv>
All text inside a music tag will only be sent when the media item being played back is a music track.
Example:
{user} has started playing {title} <music>(Track {track_num})</music>