Add individual library page

This commit is contained in:
Jonathan Wong 2016-01-02 16:02:22 -08:00
commit 5fedac691d
13 changed files with 836 additions and 393 deletions

View file

@ -61,6 +61,7 @@ def refresh_libraries():
'section_name': section['title'],
'section_type': section['type'],
'thumb': section['thumb'],
'art': section['art'],
'count': section['count'],
'parent_count': section.get('parent_count', None),
'child_count': section.get('child_count', None)
@ -1460,7 +1461,8 @@ class PmsConnect(object):
libraries_output = {'key': helpers.get_xml_attr(result, 'key'),
'type': helpers.get_xml_attr(result, 'type'),
'title': helpers.get_xml_attr(result, 'title'),
'thumb': helpers.get_xml_attr(result, 'thumb')
'thumb': helpers.get_xml_attr(result, 'thumb'),
'art': helpers.get_xml_attr(result, 'art')
}
libraries_list.append(libraries_output)
@ -1564,6 +1566,7 @@ class PmsConnect(object):
'title': library['title'],
'type': library_type,
'thumb': library['thumb'],
'art': library['art'],
'count': library_list['library_count'],
'count_type': library_list['count_type']
}