mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add pms_image_proxy to api
This commit is contained in:
parent
ce1d2a0fd9
commit
5968b82a0b
3 changed files with 43 additions and 3 deletions
|
@ -458,6 +458,10 @@ General optional parameters:
|
|||
elif self._api_cmd == 'download_log':
|
||||
return
|
||||
|
||||
elif self._api_cmd == 'pms_image_proxy':
|
||||
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'
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue