feat: 增加视频清单搜索,并在开发期缓存剧目清单
This commit is contained in:
@@ -18,7 +18,7 @@ async def load_catalog(body: SessionBody):
|
||||
|
||||
async def generate():
|
||||
try:
|
||||
async for event in catalog.stream(token, raw_device):
|
||||
async for event in catalog.stream(token, raw_device, body.refresh):
|
||||
yield json.dumps(event, ensure_ascii=False) + "\n"
|
||||
except Exception as exc:
|
||||
message = str(exc) or "获取清单失败"
|
||||
|
||||
Reference in New Issue
Block a user