mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add return_hash to pms_image_proxy API
This commit is contained in:
parent
1eee03fa8f
commit
dd3f75f154
4 changed files with 35 additions and 21 deletions
|
@ -596,8 +596,9 @@ General optional parameters:
|
|||
return
|
||||
|
||||
elif self._api_cmd == 'pms_image_proxy':
|
||||
cherrypy.response.headers['Content-Type'] = 'image/jpeg'
|
||||
return out['response']['data']
|
||||
if 'return_hash' not in self._api_kwargs:
|
||||
cherrypy.response.headers['Content-Type'] = 'image/jpeg'
|
||||
return out['response']['data']
|
||||
|
||||
if self._api_out_type == 'json':
|
||||
cherrypy.response.headers['Content-Type'] = 'application/json;charset=UTF-8'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue