mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 07:22:37 -07:00
Auto quality when fetching cloudinary transform
This commit is contained in:
parent
af917c4915
commit
79b45c1c46
2 changed files with 3 additions and 1 deletions
|
@ -835,6 +835,8 @@ def cloudinary_transform(rating_key=None, width=1000, height=1500, opacity=100,
|
|||
)
|
||||
|
||||
img_options = {'format': img_format,
|
||||
'fetch_format': 'auto',
|
||||
'quality': 'auto',
|
||||
'version': int(time.time())}
|
||||
|
||||
if width != 1000:
|
||||
|
|
|
@ -3476,7 +3476,7 @@ class TWITTER(Notifier):
|
|||
poster_url = parameters.get('poster_url','')
|
||||
|
||||
# Hack to add media type to attachment
|
||||
if poster_url:
|
||||
if poster_url and not helpers.get_img_service():
|
||||
poster_url += '.png'
|
||||
|
||||
if self.config['incl_subject']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue