mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-13 00:07:13 +00:00
timeout fix
This commit is contained in:
parent
eb3740b739
commit
f7fad1ca2a
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ import argparse, logging, os, sys, time
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from logging.handlers import RotatingFileHandler
|
from logging.handlers import RotatingFileHandler
|
||||||
try:
|
try:
|
||||||
import schedule
|
import plexapi, schedule
|
||||||
from modules import util
|
from modules import util
|
||||||
from modules.builder import CollectionBuilder
|
from modules.builder import CollectionBuilder
|
||||||
from modules.config import Config
|
from modules.config import Config
|
||||||
|
@ -161,7 +161,7 @@ def update_libraries(config):
|
||||||
library_handler.doRollover()
|
library_handler.doRollover()
|
||||||
logger.addHandler(library_handler)
|
logger.addHandler(library_handler)
|
||||||
|
|
||||||
os.environ["PLEXAPI_PLEXAPI_TIMEOUT"] = str(library.timeout)
|
plexapi.TIMEOUT = library.timeout
|
||||||
logger.info("")
|
logger.info("")
|
||||||
util.separator(f"{library.name} Library")
|
util.separator(f"{library.name} Library")
|
||||||
items = None
|
items = None
|
||||||
|
|
Loading…
Reference in a new issue