mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Fix empty libraries not added
This commit is contained in:
parent
67377a2561
commit
0eaea4d011
1 changed files with 2 additions and 2 deletions
|
@ -1694,8 +1694,8 @@ class PmsConnect(object):
|
|||
section_id = library['section_id']
|
||||
children_list = self.get_library_children_details(section_id=section_id, section_type=section_type, count='1')
|
||||
|
||||
if children_list and children_list['library_count'] != '0':
|
||||
library_stats = {'section_id': library['section_id'],
|
||||
if children_list:
|
||||
library_stats = {'section_id': section_id,
|
||||
'section_name': library['section_name'],
|
||||
'section_type': section_type,
|
||||
'thumb': library['thumb'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue