更新 ChineseNfoRegistry 类,增加季节 NFO 文件创建逻辑;更新 JobTriggerController 类,新增根据路径转换中文 NFO 的方法,支持季号和集号参数。
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user