%inherit file="base.html"/> <%! import sys import plexpy from plexpy import notifiers, common, 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, 4 digits | Eg., 1999, 2003 |
| YY | Numeric, 2 digits | Eg., 99, 03 |
Month |
||
| MM | Numeric, with leading zeros | 01-12 |
| M | Numeric, without leading zeros | 1-12 |
| MMMM | Textual full | January-December |
| MMM | Textual three letters | Jan-Dec |
Day |
||
| DD | Numeric, with leading zeros | 01-31 |
| D | Numeric, without leading zeros | 1-31 |
| Do | The English suffix for the day of the month | st, nd or th in the 1st, 2nd or 15th. |
Time |
||
| a | am/pm Lowercase | am, pm |
| A | AM/PM Uppercase | AM, PM |
| h | Hour, 12-hour, without leading zeros | 1-12 |
| hh | Hour, 12-hour, with leading zeros | 01-12 |
| H | Hour, 24-hour, without leading zeros | 0-23 |
| HH | Hour, 24-hour, with leading zeros | 00-23 |
| mm | Minutes, with leading zeros | 00-59 |
| ss | Seconds, with leading zeros | 00-59 |
| zz | Timezone abbreviation | Eg., EST, MDT ... |
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. |
| {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} | 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 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 artistd. |
| {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. |
| {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. |
| {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. |
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>