更新 ChineseNfoRegistry 类,增加季节 NFO 文件创建逻辑;更新 JobTriggerController 类,新增根据路径转换中文 NFO 的方法,支持季号和集号参数。
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 14s
Docker Build & Deploy / Deploy to Production (push) Successful in 4s

This commit is contained in:
孙诚
2025-04-21 13:23:42 +08:00
parent 84357b7f31
commit 8ceb88846c
2 changed files with 60 additions and 36 deletions

View File

@@ -133,6 +133,20 @@ public class JobTriggerController : BaseController
return "OK";
}
[HttpGet]
public string ConvertChineseNfoByPath(
string path,
string? seasonNumber = null,
string? episodeNumber = null,
bool ignoreLocked = true,
bool ignoreCompleted = true)
{
_chineseNfoRegistry.Job(path: path, seasonNumber: seasonNumber, episodeNumber: episodeNumber, ignoreLocked: ignoreLocked, ignoreCompleted: ignoreCompleted);
return "OK";
}
[HttpGet]
public string DiskMonitor()
{