diff --git a/data/interfaces/default/info.html b/data/interfaces/default/info.html
index a7acb11b..05bccf52 100644
--- a/data/interfaces/default/info.html
+++ b/data/interfaces/default/info.html
@@ -213,7 +213,7 @@ DOCUMENTATION :: END
% if _session['user_group'] == 'admin':
% endif
- % elif data['media_type'] in ('artist', 'album', 'track', 'playlist', 'photo_album', 'photo', 'clip'):
+ % elif data['media_type'] in ('artist', 'album', 'track', 'playlist', 'photo_album', 'photo', 'clip') or data['sub_media_type'] in ('artist', 'album', 'track'):
@@ -283,14 +283,14 @@ DOCUMENTATION :: END
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'):
+ elif data['media_type'] in ('artist', 'album', 'playlist', 'photo_album', 'photo') or data['sub_media_type'] in ('artist', 'album', 'track'):
padding_height = 'height: 150px;'
elif data['media_type'] in ('track', 'clip'):
padding_height = 'height: 180px;'
+ elif data['media_type'] == 'episode':
+ padding_height = 'height: 70px;'
+ elif data['media_type'] in ('show', 'season', 'collection'):
+ padding_height = 'height: 270px;'
%>
% if data['media_type'] in ('movie', 'episode', 'track', 'clip'):
diff --git a/data/interfaces/default/info_children_list.html b/data/interfaces/default/info_children_list.html
index 14f85275..d7998071 100644
--- a/data/interfaces/default/info_children_list.html
+++ b/data/interfaces/default/info_children_list.html
@@ -160,6 +160,16 @@ DOCUMENTATION :: END
% endif
+
+
+ % if media_type == 'collection':
+
+ % endif
+
% elif child['media_type'] == 'episode':
@@ -179,6 +189,29 @@ DOCUMENTATION :: END
+ % if media_type == 'collection':
+
+
+ % endif
+
+ % elif child['media_type'] == 'artist':
+
+
+
+ % if _session['user_group'] == 'admin':
+
+ % endif
+
+
+
% elif child['media_type'] == 'album':
@@ -193,6 +226,11 @@ DOCUMENTATION :: END
+ % if media_type == 'collection':
+
+ % endif
% elif child['media_type'] == 'track':
<% e = 'even' if loop.index % 2 == 0 else 'odd' %>
@@ -205,7 +243,15 @@ DOCUMENTATION :: END
${child['title']}
- % if child['original_title']:
+ % if media_type == 'collection':
+ -
+
+
+ ${child['grandparent_title']}
+
+
+
(${child['parent_title']})
+ % elif child['original_title']:
- ${child['original_title']}
% endif
diff --git a/data/interfaces/default/js/tables/collections_table.js b/data/interfaces/default/js/tables/collections_table.js
index b768c2d3..91eb68ab 100644
--- a/data/interfaces/default/js/tables/collections_table.js
+++ b/data/interfaces/default/js/tables/collections_table.js
@@ -32,7 +32,12 @@ collections_table_options = {
if (rowData['smart']) {
smart = '
'
}
- var thumb_popover = '
' + rowData['title'] + '';
+ console.log(rowData['subtype'])
+ if (rowData['subtype'] === 'artist' || rowData['subtype'] === 'album' || rowData['subtype'] === 'track') {
+ var thumb_popover = '
' + rowData['title'] + '';
+ } else {
+ var thumb_popover = '
' + rowData['title'] + '';
+ }
$(td).html(smart + '
' + thumb_popover + '');
}
},
diff --git a/plexpy/pmsconnect.py b/plexpy/pmsconnect.py
index 347de513..1d161a04 100644
--- a/plexpy/pmsconnect.py
+++ b/plexpy/pmsconnect.py
@@ -2545,7 +2545,7 @@ class PmsConnect(object):
children_list.append(children_output)
output = {'children_count': helpers.cast_to_int(helpers.get_xml_attr(xml_head[0], 'size')),
- 'children_type': helpers.get_xml_attr(xml_head[0], 'viewGroup'),
+ 'children_type': helpers.get_xml_attr(xml_head[0], 'viewGroup') or (children_list[0]['media_type'] if children_list else ''),
'title': helpers.get_xml_attr(xml_head[0], 'title2'),
'children_list': children_list
}