metadata fix
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user