mirror of
https://github.com/blacktwin/JBOPS.git
synced 2025-12-16 13:05:37 +00:00
metadata fix
This commit is contained in:
parent
78283403d5
commit
e6e44cb8a1
@ -41,7 +41,7 @@ def get_metadata(rating_key):
|
|||||||
r = requests.get(TAUTULLI_URL.rstrip('/') + '/api/v2', params=payload)
|
r = requests.get(TAUTULLI_URL.rstrip('/') + '/api/v2', params=payload)
|
||||||
response = r.json()
|
response = r.json()
|
||||||
|
|
||||||
res_data = response['response']['data']['metadata']
|
res_data = response['response']['data']
|
||||||
return METAINFO(data=res_data)
|
return METAINFO(data=res_data)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user