diff --git a/data/interfaces/default/base.html b/data/interfaces/default/base.html
index e756fd4e..fbfad400 100644
--- a/data/interfaces/default/base.html
+++ b/data/interfaces/default/base.html
@@ -174,37 +174,42 @@ from plexpy import version
- % if title=="Home":
+ % if title == "Home":
% else:
% endif
- % if title=="Users" or title=="User":
+ % if title == "Libraries" or title == "Library" or title == "Info":
+
Are you REALLY sure you want to purge all history for this library?
+
This is permanent and cannot be undone!
+
+
+
+
+
+
+% endif
\ No newline at end of file
diff --git a/data/interfaces/default/edit_user.html b/data/interfaces/default/edit_user.html
index 502ab11a..583a918e 100644
--- a/data/interfaces/default/edit_user.html
+++ b/data/interfaces/default/edit_user.html
@@ -10,21 +10,30 @@ Variable names: data [list]
data :: Usable parameters
== Global keys ==
-user Return the real Plex username
-user_id Return the Plex user_id
-friendly_name Returns the friendly edited Plex username
-do_notify Returns bool value for whether the user should trigger notifications
-keep_history Returns bool value for whether the user's activity should be logged
+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
%doc>
-% if data is not None:
+<%!
+ from plexpy import helpers
+%>
+
+% if data != None:
-
Edit user ${data['user']}
+
Edit user ${data['username']}
Uncheck this if you do not want to receive notifications for this user's activity.
Uncheck this if you do not want this keep any history on this user's activity.
@@ -69,7 +78,7 @@ DOCUMENTATION :: END
@@ -93,10 +102,10 @@ DOCUMENTATION :: END
-
% endif
\ No newline at end of file
diff --git a/data/interfaces/default/history.html b/data/interfaces/default/history.html
index 59cb8aa0..992f2df6 100644
--- a/data/interfaces/default/history.html
+++ b/data/interfaces/default/history.html
@@ -25,18 +25,18 @@
% endif
\ No newline at end of file
diff --git a/data/interfaces/default/images/media_info/1080.png b/data/interfaces/default/images/media_info/1080.png
new file mode 100644
index 00000000..8b2c95cb
Binary files /dev/null and b/data/interfaces/default/images/media_info/1080.png differ
diff --git a/data/interfaces/default/images/media_info/1ch.png b/data/interfaces/default/images/media_info/1ch.png
new file mode 100644
index 00000000..bb2a811e
Binary files /dev/null and b/data/interfaces/default/images/media_info/1ch.png differ
diff --git a/data/interfaces/default/images/media_info/2ch.png b/data/interfaces/default/images/media_info/2ch.png
new file mode 100644
index 00000000..cbff6a76
Binary files /dev/null and b/data/interfaces/default/images/media_info/2ch.png differ
diff --git a/data/interfaces/default/images/media_info/480.png b/data/interfaces/default/images/media_info/480.png
new file mode 100644
index 00000000..adc348ab
Binary files /dev/null and b/data/interfaces/default/images/media_info/480.png differ
diff --git a/data/interfaces/default/images/media_info/576.png b/data/interfaces/default/images/media_info/576.png
new file mode 100644
index 00000000..9871f3f9
Binary files /dev/null and b/data/interfaces/default/images/media_info/576.png differ
diff --git a/data/interfaces/default/images/media_info/6ch.png b/data/interfaces/default/images/media_info/6ch.png
new file mode 100644
index 00000000..aeda8593
Binary files /dev/null and b/data/interfaces/default/images/media_info/6ch.png differ
diff --git a/data/interfaces/default/images/media_info/720.png b/data/interfaces/default/images/media_info/720.png
new file mode 100644
index 00000000..a9f7d925
Binary files /dev/null and b/data/interfaces/default/images/media_info/720.png differ
diff --git a/data/interfaces/default/images/media_info/8ch.png b/data/interfaces/default/images/media_info/8ch.png
new file mode 100644
index 00000000..30537cde
Binary files /dev/null and b/data/interfaces/default/images/media_info/8ch.png differ
diff --git a/data/interfaces/default/images/media_info/aac.png b/data/interfaces/default/images/media_info/aac.png
new file mode 100644
index 00000000..fa4572bb
Binary files /dev/null and b/data/interfaces/default/images/media_info/aac.png differ
diff --git a/data/interfaces/default/images/media_info/ac3.png b/data/interfaces/default/images/media_info/ac3.png
new file mode 100644
index 00000000..b63c4b96
Binary files /dev/null and b/data/interfaces/default/images/media_info/ac3.png differ
diff --git a/data/interfaces/default/images/media_info/dca-ma.png b/data/interfaces/default/images/media_info/dca-ma.png
new file mode 100644
index 00000000..02871172
Binary files /dev/null and b/data/interfaces/default/images/media_info/dca-ma.png differ
diff --git a/data/interfaces/default/images/media_info/dca.png b/data/interfaces/default/images/media_info/dca.png
new file mode 100644
index 00000000..29e19538
Binary files /dev/null and b/data/interfaces/default/images/media_info/dca.png differ
diff --git a/data/interfaces/default/images/media_info/mp3.png b/data/interfaces/default/images/media_info/mp3.png
new file mode 100644
index 00000000..d2438f27
Binary files /dev/null and b/data/interfaces/default/images/media_info/mp3.png differ
diff --git a/data/interfaces/default/images/media_info/sd.png b/data/interfaces/default/images/media_info/sd.png
new file mode 100644
index 00000000..5791c4dc
Binary files /dev/null and b/data/interfaces/default/images/media_info/sd.png differ
diff --git a/data/interfaces/default/images/media_info/vorbis.png b/data/interfaces/default/images/media_info/vorbis.png
new file mode 100644
index 00000000..ea16c966
Binary files /dev/null and b/data/interfaces/default/images/media_info/vorbis.png differ
diff --git a/data/interfaces/default/images/platforms/cloudsync.png b/data/interfaces/default/images/platforms/cloudsync.png
new file mode 100644
index 00000000..6ecbbad9
Binary files /dev/null and b/data/interfaces/default/images/platforms/cloudsync.png differ
diff --git a/data/interfaces/default/images/platforms/dlna.png b/data/interfaces/default/images/platforms/dlna.png
new file mode 100644
index 00000000..f9ea08ab
Binary files /dev/null and b/data/interfaces/default/images/platforms/dlna.png differ
diff --git a/data/interfaces/default/images/platforms/linux.png b/data/interfaces/default/images/platforms/linux.png
new file mode 100644
index 00000000..338c40a3
Binary files /dev/null and b/data/interfaces/default/images/platforms/linux.png differ
diff --git a/data/interfaces/default/images/platforms/osx.png b/data/interfaces/default/images/platforms/osx.png
new file mode 100644
index 00000000..81003657
Binary files /dev/null and b/data/interfaces/default/images/platforms/osx.png differ
diff --git a/data/interfaces/default/index.html b/data/interfaces/default/index.html
index 1eb26c1d..b73a0495 100644
--- a/data/interfaces/default/index.html
+++ b/data/interfaces/default/index.html
@@ -16,7 +16,7 @@
- % if config['home_stats_cards'] > 'watch_statistics':
+ % if config['home_stats_cards']:
@@ -29,7 +29,7 @@
% endif
- % if config['home_library_cards'] > 'library_statistics':
+ % if config['home_library_cards']:
diff --git a/data/interfaces/default/info.html b/data/interfaces/default/info.html
index eb0bf32a..0d4c66a5 100644
--- a/data/interfaces/default/info.html
+++ b/data/interfaces/default/info.html
@@ -11,15 +11,15 @@ data :: Usable parameters (if not applicable for media type, blank value will be
== Global keys ==
rating_key Returns the unique identifier for the media item.
-media_type Returns the type of media. Either 'movie', 'show', 'season', 'episode', 'artist', 'album', or 'track'.
+media_type Returns the type of media. Either 'movie', 'show', 'season', 'episode', 'artist', 'album', or 'track'.
art Returns the location of the item's artwork
title Returns the name of the movie, show, episode, artist, album, or track.
duration Returns the standard runtime of the media.
content_rating Returns the age rating for the media.
summary Returns a brief description of the media plot.
grandparent_title Returns the name of the show, or artist.
-parent_index Returns the index number of the season.
-index Returns the index number of the episode, or track.
+parent_media_index Returns the index number of the season.
+media_index Returns the index number of the episode, or track.
parent_thumb Returns the location of the item's thumbnail. Use with pms_image_proxy.
writers Returns an array of writers.
thumb Returns the location of the item's thumbnail. Use with pms_image_proxy.
@@ -32,19 +32,6 @@ directors Returns an array of directors.
studio Returns the name of the studio.
originally_available_at Returns the air date of the item.
-query :: Usable parameters
-
-== Global keys ==
-query_string Returns the string used for the search query.
-title Returns the name of the movie, episode, or track.
-parent_title Returns the name of the album.
-grandparent_title Returns the name of the show, or artist.
-media_index Returns the index number of the episode, or track.
-parent_media_index Returns the index number of the season.
-year Returns the release year of the movie, or show.
-media_type Returns the type of media. Either 'movie', 'show', 'season', 'episode', 'artist', 'album', or 'track'.
-rating_key Returns the unique identifier for the media item.
-
DOCUMENTATION :: END
%doc>
@@ -60,61 +47,50 @@ DOCUMENTATION :: END
% if data:
- % if data['media_type'] != 'library':
- % endif
- % if data['media_type'] == 'library':
- % if data['library'] == 'movie':
-
All items for ${query['grandparent_title']} will also be updated.
- % endif
-
This is permanent and cannot be undone!
-
-
-
-
-
- % endif
-
-
-
-
-
% endif
%def>
@@ -499,28 +401,18 @@ DOCUMENTATION :: END
% if data:
-% if data['media_type'] == 'library':
+
+% if data['media_type'] == 'show' or data['media_type'] == 'artist':
-% elif data['media_type'] == 'show' or data['media_type'] == 'artist':
-
% endif
-% if data['media_type'] != 'library':
-
-% endif
-% if data['media_type'] != 'library' and data['rating']:
+% if data['rating']:
% endif
-% elif query:
-
% endif
%def>
diff --git a/data/interfaces/default/info_children_list.html b/data/interfaces/default/info_children_list.html
index e2994206..decb2049 100644
--- a/data/interfaces/default/info_children_list.html
+++ b/data/interfaces/default/info_children_list.html
@@ -18,7 +18,7 @@ data['children_list'] :: Usable paramaters
== Global keys ==
rating_key Returns the unique identifier for the media item.
-index Returns the episode number.
+media_index Returns the episode number.
title Returns the name of the episode.
thumb Returns the location of the item's thumbnail. Use with pms_image_proxy.
parent_thumb Returns the location of the item's parent thumbnail. Use with pms_image_proxy.
@@ -37,7 +37,7 @@ DOCUMENTATION :: END
% else:
',
content: function () {
return '';
}
@@ -469,7 +472,7 @@ function childTableOptions(rowData) {
// Format the detailed history child table
function childTableFormat(rowData) {
return '
+ PlexPy needs to update the Library IDs in your databse. Click the "Refresh libraries" button below to begin the update.
+
+ % elif config['update_section_ids'] == -1:
+
+ PlexPy is updating library IDs in the database. This could take a few minutes depending on the size of your database.
+
+ You may leave this page and come back later.
+
 Select libraries to delete/purge. Data is deleted/purged upon exiting edit mode.
+
+
+
+
+
+
+
Edit
+
+
Library Name
+
Library Type
+
Total Movies / TV Shows / Artists
+
Total Seasons / Albums
+
Total Episodes / Tracks
+
Last Accessed
+
Last Watched
+
Total Plays
+
+
+
+
+
+
+
+
+
+
+
Confirm Delete/Purge
+
+
+
+
+
This is permanent and cannot be undone!
+
+
+
+
+
+
+
+
+%def>
+
+<%def name="javascriptIncludes()">
+
+
+
+
+
+
+%def>
\ No newline at end of file
diff --git a/data/interfaces/default/library.html b/data/interfaces/default/library.html
new file mode 100644
index 00000000..4f75e7fd
--- /dev/null
+++ b/data/interfaces/default/library.html
@@ -0,0 +1,519 @@
+<%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: library.html
+Version: 0.1
+Variable names: data [list]
+
+data :: Usable parameters
+
+section_id Returns the library id of the library.
+section_name Returns the name of the library.
+section_type Returns the type of the library.
+library_thumb Returns the thumbnail for the library.
+custom_thumb Returns the custom thumbnail for the library.
+library_art Returns the artwork for the library.
+count Returns the item count for the library.
+parent_count Returns the parent item count for the library.
+child_count Returns the child item count for the library.
+do_notify Returns bool value for whether to send notifications for the library.
+keep_history Returns bool value for whether to keep history for the library.
+
+DOCUMENTATION :: END
+
+%doc>
+
+<%inherit file="base.html"/>
+
+<%def name="headIncludes()">
+
+
+
+%def>
+
+<%def name="body()">
+% if data:
+
+
+ Watch History for
+ ${data['section_name']}
+
+
+
+
+
+
+
 Select rows to delete. Data is deleted upon exiting delete mode.
+
+
+
+
+
+
+
Delete
+
Time
+
User
+
IP Address
+
Platform
+
Player
+
Title
+
Started
+
Paused
+
Stopped
+
Duration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ % if config['get_file_sizes'] and data['section_id'] in config['get_file_sizes_hold']['section_ids']:
+
+ % else:
+
+ % endif
+ PlexPy is calculating the file sizes for the library's media info. This could take a few minutes depending on the size of your library.
+
+ You may leave this page and come back later.
+
+
+
+
+ All Media Info for
+ ${data['section_name']}
+
+
+
+
+ % if config['get_file_sizes'] and data['section_id'] in config['get_file_sizes_hold']['section_ids']:
+
+ % else:
+
+ % endif
+
+
+
+
+
+
+
+
Added At
+
Title
+
Container
+
Bitrate
+
Video Codec
+
Video Resolution
+
Video Framerate
+
Audio Codec
+
Audio Channels
+
File Size
+
Last Watched
+
Total Plays
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Confirm Delete
+
+
+
Are you REALLY sure you want to delete history item(s)?
+
This is permanent and cannot be undone!
+
+
+
+
+
+
+
+
+
+
+
+% else:
+
+
+
+
+
+
+
+
+
+
+
+
+ Error retrieving library information. Please see the logs for more details.
+
+
+
+
+
+
+% endif
+%def>
+
+<%def name="javascriptIncludes()">
+
+
+
+
+% if data:
+
+
+
+
+
+% endif
+%def>
\ No newline at end of file
diff --git a/data/interfaces/default/library_recently_added.html b/data/interfaces/default/library_recently_added.html
new file mode 100644
index 00000000..264bce2b
--- /dev/null
+++ b/data/interfaces/default/library_recently_added.html
@@ -0,0 +1,96 @@
+<%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: library_recently_added.html
+Version: 0.1
+Variable names: data [array]
+
+data[array_index] :: Usable parameters
+
+== Global keys ==
+media_type Returns the type of media. Either 'movie' or 'episode' or 'album'.
+rating_key Returns the unique identifier for the media item.
+parent_rating_key Returns the unique identifier for the season or artist.
+grandparent_rating_key Returns the unique identifier for the show.
+title Returns the name of the movie, episode, album.
+parent_title Returns the name of the artist.
+grandparent_title Returns the name of the show.
+media_index Returns the index number of the episode.
+parent_media_index Returns the index number of the season.
+section_id Returns the library section number of the media item.
+library_name Returns the library section name of the media item.
+year Returns the release year of the movie, episode, or album.
+thumb Returns the location of the item's thumbnail. Use with pms_image_proxy.
+parent_thumb Returns the location of the artist's thumbnail. Use with pms_image_proxy.
+grandparent_thumb Returns the location of the show's thumbnail. Use with pms_image_proxy.
+added_at Returns the time when the media was added to the library.
+
+DOCUMENTATION :: END
+%doc>
+
+% if data:
+
+
+ % for item in data:
+
+ % if item['media_type'] == 'episode' or item['media_type'] == 'movie':
+
+
+% endif
\ No newline at end of file
diff --git a/data/interfaces/default/library_stats.html b/data/interfaces/default/library_stats.html
index f310ab5c..048d5e6f 100644
--- a/data/interfaces/default/library_stats.html
+++ b/data/interfaces/default/library_stats.html
@@ -9,23 +9,16 @@ Variable names: data [array]
data[array_index] :: Usable parameters
-data['type'] Returns the type of the library. Either 'movie', 'show', 'photo', or 'artist'.
-data['rows'] Returns an array containing stat data
+data Returns an array containing stat data
-data[array_index]['rows'] :: Usable parameters
+data[array_index] :: Usable parameters
-title Returns the title of the library.
+section_name Returns the title of the library.
+section_type Returns the type of the library.
thumb Returns the thumb of the library.
-count Returns the number of items in the library.
-count_type Returns the sorting type for the library
-
-== Only if 'type' is 'show'
-episode_count Return the number of episodes in the library.
-episode_count_type Return the sorting type for the episodes.
-
-== Only if 'type' is 'artist'
-album_count Return the number of episodes in the library.
-album_count_type Return the sorting type for the episodes.
+count Returns the number of top level items in the library.
+parent_count Returns the number of parent items in the library.
+child_count Returns the number of child items in the library.
DOCUMENTATION :: END
%doc>
@@ -37,37 +30,54 @@ DOCUMENTATION :: END
Unable to retrieve data from server. Please check your settings.
-
+
No stats to show.
% endif
\ No newline at end of file
diff --git a/data/interfaces/default/library_user_stats.html b/data/interfaces/default/library_user_stats.html
new file mode 100644
index 00000000..c8bf832a
--- /dev/null
+++ b/data/interfaces/default/library_user_stats.html
@@ -0,0 +1,42 @@
+<%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: library_user_stats.html
+Version: 0.1
+Variable names: data [array]
+
+data[array_index] :: Usable parameters
+
+== Global keys ==
+user Returns the name of the user.
+user_id Returns the user id of the user.
+thumb Returns the avatar of the user.
+total_plays Returns the play count for the user.
+
+DOCUMENTATION :: END
+%doc>
+
+% if data:
+% for a in data:
+
+% endif
\ No newline at end of file
diff --git a/data/interfaces/default/logs.html b/data/interfaces/default/logs.html
index bb992c17..ecb1d17f 100644
--- a/data/interfaces/default/logs.html
+++ b/data/interfaces/default/logs.html
@@ -18,7 +18,7 @@ from plexpy import helpers
- Logs
+ Logs
diff --git a/data/interfaces/default/recently_added.html b/data/interfaces/default/recently_added.html
index f961801a..bba1601b 100644
--- a/data/interfaces/default/recently_added.html
+++ b/data/interfaces/default/recently_added.html
@@ -10,15 +10,22 @@ Variable names: data [array]
data[array_index] :: Usable parameters
== Global keys ==
+media_type Returns the type of media. Either 'movie' or 'episode' or 'album'.
rating_key Returns the unique identifier for the media item.
-media_type Returns the media type of media. Either 'movie' or 'season' or 'album'.
+parent_rating_key Returns the unique identifier for the season or artist.
+grandparent_rating_key Returns the unique identifier for the show.
+title Returns the name of the movie, episode, album.
+parent_title Returns the name of the artist.
+grandparent_title Returns the name of the show.
+media_index Returns the index number of the episode.
+parent_media_index Returns the index number of the season.
+section_id Returns the library section number of the media item.
+library_name Returns the library section name of the media item.
+year Returns the release year of the movie, episode, or album.
thumb Returns the location of the item's thumbnail. Use with pms_image_proxy.
+parent_thumb Returns the location of the artist's thumbnail. Use with pms_image_proxy.
+grandparent_thumb Returns the location of the show's thumbnail. Use with pms_image_proxy.
added_at Returns the time when the media was added to the library.
-title Returns the name of the movie or season.
-parent_title Returns the name of the TV Show a season belongs too.
-
-== Only if 'media_type' is 'movie' ==
-year Returns the movie release year.
DOCUMENTATION :: END
%doc>
@@ -30,7 +37,7 @@ DOCUMENTATION :: END
% if item['media_type'] == 'season' or item['media_type'] == 'movie':
-
+
@@ -1313,6 +1399,7 @@ available_notification_agents = sorted(notifiers.available_notification_agents()
<%def name="javascriptIncludes()">
+
+% endif
+%def>
diff --git a/data/interfaces/default/user.html b/data/interfaces/default/user.html
index 8c84a3b6..f5183b95 100644
--- a/data/interfaces/default/user.html
+++ b/data/interfaces/default/user.html
@@ -13,10 +13,12 @@ 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.
-thumb Returns the thumbnail for the user.
+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
@@ -33,223 +35,261 @@ from plexpy import helpers
%def>
-% if user != None:
<%def name="body()">
+% if data:
- Watch History for
- ${data['friendly_name']}
-
+
+
+
+
+
+
+
+
+
+ Global Stats
+
+
+
+
+
Loading data...
+
+
+
+
+
-
-
-
-
 Select rows to delete. Data is deleted upon exiting delete mode.
+
+
+
+
+
+ Player Stats
+
+
+
+
+
Loading data...
+
+
+
+
+
+
+
+
+
+
+
+ Recently Watched
+
+
+
+
+
Loading data...
+
+
+
+
+
-
-
-
-
-
Delete
-
Time
-
User
-
IP Address
-
Platform
-
Player
-
Title
-
Started
-
Paused
-
Stopped
-
Duration
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Synced Items for
- ${data['friendly_name']}
-
-
-
+
+
+
+
+
+
+
+ IP Addresses for
+ ${data['friendly_name']}
+
+
+
+
+
+
+
+
+
Last Seen
+
IP Address
+
Last Platform
+
Last Player
+
Last Watched
+
Play Count
+
+
+
+
+
+
-
-
-
-
-
State
-
Username
-
Title
-
Type
-
Platform
-
Device
-
Total Size
-
Total Items
-
Converted
-
Downloaded
-
Complete
-
-
-
-
-
+
+
+
+
+
+
+
+ Watch History for
+ ${data['friendly_name']}
+
+
+
+
+
+
+
 Select rows to delete. Data is deleted upon exiting delete mode.
+
+
+
+
+
+
+
Delete
+
Time
+
User
+
IP Address
+
Platform
+
Player
+
Title
+
Started
+
Paused
+
Stopped
+
Duration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Synced Items for
+ ${data['friendly_name']}
+
+
+
+
+
+
+
+
+
+
+
State
+
Username
+
Title
+
Type
+
Platform
+
Device
+
Total Size
+
Total Items
+
Converted
+
Downloaded
+
Complete
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Confirm Delete
+
+
+
Are you REALLY sure you want to delete history item(s)?
+
This is permanent and cannot be undone!
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Confirm Delete
-
-
-
Are you REALLY sure you want to delete history item(s)?
-
This is permanent and cannot be undone!
-
-
+% else:
+
+
+
+
+
+
+
+
+
+
+
+
+ Error retrieving user information. Please see the logs for more details.
+
+
+
+
+
+
+% endif
%def>
<%def name="javascriptIncludes()">
@@ -257,6 +297,7 @@ from plexpy import helpers
+% if data:
@@ -264,10 +305,10 @@ from plexpy import helpers
-%def>
-% else:
-
-
-
-
-
Error retrieving user information. Please see the logs for more details.
-
-
-
-% endif
\ No newline at end of file
+% endif
+%def>
\ No newline at end of file
diff --git a/data/interfaces/default/user_player_stats.html b/data/interfaces/default/user_player_stats.html
index 7aab53b6..6520cfec 100644
--- a/data/interfaces/default/user_player_stats.html
+++ b/data/interfaces/default/user_player_stats.html
@@ -18,7 +18,7 @@ total_plays Returns the play count for the player.
DOCUMENTATION :: END
%doc>
-% if data != None:
+% if data:
% for a in data:
Unable to retrieve data from database. Please check your settings.
-
+
No stats to show.
% endif
\ No newline at end of file
diff --git a/data/interfaces/default/user_recently_watched.html b/data/interfaces/default/user_recently_watched.html
index 2e432203..d13652b9 100644
--- a/data/interfaces/default/user_recently_watched.html
+++ b/data/interfaces/default/user_recently_watched.html
@@ -12,29 +12,27 @@ data[array_index] :: Usable parameters
== Global keys ==
rating_key Returns the unique identifier for the media item.
row_id Returns the unique row id for the media item in the database.
-type Returns the type of media. Either 'movie' or 'episode'.
+media_type Returns the type of media. Either 'movie' or 'episode' or 'album'.
thumb Returns the location of the item's thumbnail. Use with pms_image_proxy.
time Returns the last watched time of the media.
-title Returns the name of the movie or episode.
-
-== Only if 'type' is 'episode ==
-parent_title Returns the name of the TV Show a season belongs too.
-parent_index Returns the season number.
-index Returns the episode number.
-
-== Only if 'type' is 'movie' ==
-year Returns the movie release year.
+user Returns the name of the user that watched the item.
+title Returns the name of the movie, episode, album.
+parent_title Returns the name of the artist.
+grandparent_title Returns the name of the show.
+media_index Returns the index number of the episode.
+parent_media_index Returns the index number of the season.
+year Returns the release year of the movie, episode, or album.
DOCUMENTATION :: END
%doc>
-% if data != None:
+% if data:
% endif
\ No newline at end of file
diff --git a/data/interfaces/default/user_watch_time_stats.html b/data/interfaces/default/user_watch_time_stats.html
index fdaba5f6..ba2c86ec 100644
--- a/data/interfaces/default/user_watch_time_stats.html
+++ b/data/interfaces/default/user_watch_time_stats.html
@@ -16,7 +16,7 @@ total_plays Returns the play count for the watch stat period..
DOCUMENTATION :: END
%doc>
-% if data != None:
+% if data: