mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 02:35:54 -07:00
Minor correction
This commit is contained in:
parent
2a5b73a8eb
commit
9d5f7136f8
2 changed files with 2 additions and 2 deletions
|
|
@ -201,7 +201,7 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function
|
||||||
})];
|
})];
|
||||||
case 5:
|
case 5:
|
||||||
_a.isSuccessful = _b.sent();
|
_a.isSuccessful = _b.sent();
|
||||||
args.jobLog("\u2714 Renamed ".concat(getNewPathType.contentName, " ").concat(parseRequestResult, " : '").concat(filePath, "' => '").concat(output.newPath, "'."));
|
args.jobLog("\u2714 Renamed ".concat(getNewPathType.contentName, " ").concat(parseRequestResult.id, " : '").concat(filePath, "' => '").concat(output.newPath, "'."));
|
||||||
return [3 /*break*/, 7];
|
return [3 /*break*/, 7];
|
||||||
case 6:
|
case 6:
|
||||||
output.isSuccessful = true;
|
output.isSuccessful = true;
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
||||||
destinationPath: output.newPath,
|
destinationPath: output.newPath,
|
||||||
args,
|
args,
|
||||||
});
|
});
|
||||||
args.jobLog(`✔ Renamed ${getNewPathType.contentName} ${parseRequestResult} : '${filePath}' => '${output.newPath}'.`);
|
args.jobLog(`✔ Renamed ${getNewPathType.contentName} ${parseRequestResult.id} : '${filePath}' => '${output.newPath}'.`);
|
||||||
} else {
|
} else {
|
||||||
output.isSuccessful = true;
|
output.isSuccessful = true;
|
||||||
args.jobLog('✔ No rename necessary.');
|
args.jobLog('✔ No rename necessary.');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue