mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Add collection export levels
This commit is contained in:
parent
063b7ce7cc
commit
8f4da14611
2 changed files with 106 additions and 59 deletions
|
@ -1176,6 +1176,10 @@ def bool_true(value, return_none=False):
|
|||
|
||||
|
||||
def get_attrs_to_dict(obj, attrs):
|
||||
# Reload ~plexapi.base.PlexPartialObject
|
||||
if hasattr(obj, 'isPartialObject'):
|
||||
obj = obj.reload() if obj.isPartialObject() else obj
|
||||
|
||||
d = {}
|
||||
|
||||
for attr, sub in attrs.items():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue