更新 ChineseNfoRegistry 类,修正路径检查逻辑以使用最新路径;更新 JobTriggerController 类,移除 tmdbId 参数,改为使用路径参数。
This commit is contained in:
@@ -101,7 +101,9 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
||||
{
|
||||
if (!string.IsNullOrEmpty(requestPath))
|
||||
{
|
||||
if (!tv.Contains(requestPath))
|
||||
var latestPath = Path.GetFileName(requestPath) ?? string.Empty;
|
||||
|
||||
if (!tv.Contains(latestPath))
|
||||
{
|
||||
_logger.LogInformation("ChineseNfoRegistry.Job() tv is not contains path");
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user