mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -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:
|
||||
_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];
|
||||
case 6:
|
||||
output.isSuccessful = true;
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
|||
destinationPath: output.newPath,
|
||||
args,
|
||||
});
|
||||
args.jobLog(`✔ Renamed ${getNewPathType.contentName} ${parseRequestResult} : '${filePath}' => '${output.newPath}'.`);
|
||||
args.jobLog(`✔ Renamed ${getNewPathType.contentName} ${parseRequestResult.id} : '${filePath}' => '${output.newPath}'.`);
|
||||
} else {
|
||||
output.isSuccessful = true;
|
||||
args.jobLog('✔ No rename necessary.');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue