fix #1266
This commit is contained in:
@ -366,10 +366,14 @@ class SubscribeChain(ChainBase):
|
||||
"""
|
||||
判断是否应完成订阅
|
||||
"""
|
||||
mediakey = subscribe.tmdbid or subscribe.doubanid
|
||||
# 是否有剩余集
|
||||
no_lefts = lefts is None or not lefts.get(mediakey)
|
||||
# 是否完成订阅
|
||||
if not subscribe.best_version:
|
||||
# 非洗板
|
||||
if ((not lefts and meta.type == MediaType.TV)
|
||||
or ((downloads or not lefts) and meta.type == MediaType.MOVIE)):
|
||||
if ((no_lefts and meta.type == MediaType.TV)
|
||||
or ((downloads or no_lefts) and meta.type == MediaType.MOVIE)):
|
||||
# 全部下载完成
|
||||
logger.info(f'{mediainfo.title_year} 完成订阅')
|
||||
self.subscribeoper.delete(subscribe.id)
|
||||
|
Reference in New Issue
Block a user