mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Remove shared Imgur client ID
This commit is contained in:
parent
354700fcbb
commit
d285107cfb
2 changed files with 2 additions and 9 deletions
|
@ -915,8 +915,6 @@
|
||||||
</div>
|
</div>
|
||||||
<p class="help-block">Enter your Imgur API client ID in order to upload posters.
|
<p class="help-block">Enter your Imgur API client ID in order to upload posters.
|
||||||
You can register a new application <a href="${anon_url('https://api.imgur.com/oauth2/addclient')}" target="_blank">here</a>.<br />
|
You can register a new application <a href="${anon_url('https://api.imgur.com/oauth2/addclient')}" target="_blank">here</a>.<br />
|
||||||
<span style="color: #eb8600;">Note: The shared Imgur client id will be removed in a future PlexPy update!
|
|
||||||
Please enter your own client id in to continue uploading posters!</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -678,13 +678,8 @@ def uploadToImgur(imgPath, imgTitle=''):
|
||||||
img_url = ''
|
img_url = ''
|
||||||
|
|
||||||
if not client_id:
|
if not client_id:
|
||||||
#logger.error(u"PlexPy Helpers :: Cannot upload poster to Imgur. No Imgur client id specified in the settings.")
|
logger.error(u"PlexPy Helpers :: Cannot upload poster to Imgur. No Imgur client id specified in the settings.")
|
||||||
#return img_url
|
return img_url
|
||||||
# Fallback to shared client id for now. This will be remove in a future update.
|
|
||||||
logger.warn(u"PlexPy Helpers :: No Imgur client id specified in the settings. Falling back to the shared client id.")
|
|
||||||
logger.warn(u"***** The shared Imgur client id will be removed in a future PlexPy update! "
|
|
||||||
"Please enter your own client id in the settings to continue uploading posters! *****")
|
|
||||||
client_id = '743b1a443ccd2b0'
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(imgPath, 'rb') as imgFile:
|
with open(imgPath, 'rb') as imgFile:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue