- % endif
+ <%
+ padding_height = ''
+ if data['media_type'] == 'movie' or data['live']:
+ padding_height = 'height: 305px;'
+ elif data['media_type'] in ('show', 'season', 'collection'):
+ padding_height = 'height: 270px;'
+ elif data['media_type'] == 'episode':
+ padding_height = 'height: 70px;'
+ elif data['media_type'] in ('artist', 'album', 'playlist', 'photo_album', 'photo'):
+ padding_height = 'height: 150px;'
+ elif data['media_type'] in ('track', 'clip'):
+ padding_height = 'height: 180px;'
+ %>
+
% if data['media_type'] in ('movie', 'episode', 'track', 'clip'):
% if data['media_type'] != 'track' and media_info['video_codec']:
@@ -516,138 +517,169 @@ DOCUMENTATION :: END
% endif
- % if data['media_type'] not in ('photo_album', 'photo', 'clip', 'collection', 'playlist'):
+ <%
+ history_type = data['media_type'] in ('movie', 'show', 'season', 'episode', 'artist', 'album', 'track')
+ history_active = 'active' if history_type else ''
+ export_active = 'active' if not history_type else ''
+ %>
+ % if history_type:
-
-
-
-
- Delete |
- Date |
- User |
- IP Address |
- Platform |
- Product |
- Player |
- Title |
- Started |
- Paused |
- Stopped |
- Duration |
- |
-
-
-
-
+
% endif
- % if not data['live'] and _session['user_group'] == 'admin':
-
-