feat: Add search_imdbid to subscriptions and improve error message propagation and handling for existing subscriptions.

This commit is contained in:
jxxghp
2026-01-25 14:57:33 +08:00
parent 5d69e1d2a5
commit a2611bfa7d
3 changed files with 6 additions and 2 deletions

View File

@@ -292,7 +292,7 @@ class SubscribeChain(ChainBase):
"description": mediainfo.overview
})
# 返回结果
return sid, ""
return sid, err_msg
async def async_add(self, title: str, year: str,
mtype: MediaType = None,
@@ -469,7 +469,7 @@ class SubscribeChain(ChainBase):
"description": mediainfo.overview
})
# 返回结果
return sid, ""
return sid, err_msg
@staticmethod
def exists(mediainfo: MediaInfo, meta: MetaBase = None):