From 78a3d1503962ae5787896de178e6611dd6606717 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Fri, 3 Mar 2023 10:18:18 -0800 Subject: [PATCH] Add history table to collection and playlist info pages --- data/interfaces/default/info.html | 9 +++++--- plexpy/webserve.py | 36 +++++++++++++++++++------------ 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/data/interfaces/default/info.html b/data/interfaces/default/info.html index 31c83c05..43e57694 100644 --- a/data/interfaces/default/info.html +++ b/data/interfaces/default/info.html @@ -583,7 +583,7 @@ DOCUMENTATION :: END % endif <% - history_type = data['media_type'] in ('movie', 'show', 'season', 'episode', 'artist', 'album', 'track') + history_type = data['media_type'] in ('movie', 'show', 'season', 'episode', 'artist', 'album', 'track', 'collection', 'playlist') history_active = 'active' if history_type else '' export_active = 'active' if not history_type else '' %> @@ -646,7 +646,7 @@ DOCUMENTATION :: END
- % if data['media_type'] in ('artist', 'album', 'track'): + % if data['media_type'] in ('artist', 'album', 'track', 'playlist'): Play History for ${data['title']} % else: Watch History for ${data['title']} @@ -865,7 +865,7 @@ DOCUMENTATION :: END %> -% if data['media_type'] in ('movie', 'show', 'season', 'episode', 'artist', 'album', 'track'): +% if data['media_type'] in ('movie', 'show', 'season', 'episode', 'artist', 'album', 'track', 'collection', 'playlist'):