mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
add media exists api
This commit is contained in:
@@ -37,6 +37,9 @@ class Scheduler(metaclass=Singleton):
|
||||
})
|
||||
|
||||
def __init__(self):
|
||||
# 调试模式不启动定时服务
|
||||
if settings.DEBUG:
|
||||
return
|
||||
# CookieCloud定时同步
|
||||
if settings.COOKIECLOUD_INTERVAL:
|
||||
self._scheduler.add_job(CookieCloudChain().process,
|
||||
|
||||
Reference in New Issue
Block a user