mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Default to show all cards until the user disables them.
This commit is contained in:
parent
d61e699dc9
commit
de4d8fb277
6 changed files with 18 additions and 10 deletions
|
@ -1277,8 +1277,6 @@ class PmsConnect(object):
|
|||
def get_library_stats(self, library_cards=''):
|
||||
server_libraries = self.get_server_children()
|
||||
|
||||
library_keys = library_cards.split(', ')
|
||||
|
||||
server_library_stats = []
|
||||
|
||||
if server_libraries['libraries_count'] != '0':
|
||||
|
@ -1287,7 +1285,7 @@ class PmsConnect(object):
|
|||
for library in libraries_list:
|
||||
library_type = library['type']
|
||||
section_key = library['key']
|
||||
if section_key in library_keys:
|
||||
if section_key in library_cards:
|
||||
library_list = self.get_library_children(library_type, section_key)
|
||||
else:
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue