mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
commit
8ccb308942
1 changed files with 4 additions and 2 deletions
|
@ -22,6 +22,8 @@ from core.utorrent.client import UTorrentClient
|
||||||
from core.transmissionrpc.client import Client as TransmissionClient
|
from core.transmissionrpc.client import Client as TransmissionClient
|
||||||
from core import logger, nzbToMediaDB
|
from core import logger, nzbToMediaDB
|
||||||
|
|
||||||
|
requests.packages.urllib3.disable_warnings()
|
||||||
|
|
||||||
def reportNzb(failure_link, clientAgent):
|
def reportNzb(failure_link, clientAgent):
|
||||||
# Contact indexer site
|
# Contact indexer site
|
||||||
logger.info("Sending failure notification to indexer site")
|
logger.info("Sending failure notification to indexer site")
|
||||||
|
@ -1094,9 +1096,9 @@ def plex_update(category):
|
||||||
if core.FAILED:
|
if core.FAILED:
|
||||||
return
|
return
|
||||||
if core.PLEXSSL:
|
if core.PLEXSSL:
|
||||||
url = 'https://'
|
url = "https://"
|
||||||
else:
|
else:
|
||||||
url = 'http://'
|
url = "http://"
|
||||||
url = url + core.PLEXHOST + ':' + core.PLEXPORT + '/library/sections/'
|
url = url + core.PLEXHOST + ':' + core.PLEXPORT + '/library/sections/'
|
||||||
section = None
|
section = None
|
||||||
if not core.PLEXSEC:
|
if not core.PLEXSEC:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue