mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Redo newsletter CSS
This commit is contained in:
parent
a13d93f239
commit
4577704f19
11 changed files with 1561 additions and 728 deletions
|
@ -2436,15 +2436,17 @@ class PmsConnect(object):
|
|||
Output: array
|
||||
"""
|
||||
|
||||
width = width or '1000'
|
||||
height = height or '1500'
|
||||
|
||||
if img:
|
||||
if clip:
|
||||
params = {'url': '%s&%s' % (img, urllib.urlencode({'X-Plex-Token': self.token}))}
|
||||
else:
|
||||
params = {'url': 'http://127.0.0.1:32400%s?%s' % (img, urllib.urlencode({'X-Plex-Token': self.token}))}
|
||||
|
||||
if width.isdigit() and height.isdigit():
|
||||
params['width'] = width
|
||||
params['height'] = height
|
||||
params['width'] = width
|
||||
params['height'] = height
|
||||
|
||||
uri = '/photo/:/transcode?%s' % urllib.urlencode(params)
|
||||
result = self.request_handler.make_request(uri=uri,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue