mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Disable tryMvdir
This commit is contained in:
parent
0cfeca600c
commit
86a7cf479a
1 changed files with 11 additions and 9 deletions
|
|
@ -68,6 +68,7 @@ const tryMove = async ({
|
|||
return true;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const tryMvdir = async ({
|
||||
sourcePath,
|
||||
destinationPath,
|
||||
|
|
@ -219,16 +220,17 @@ const fileMoveOrCopy = async ({
|
|||
return true;
|
||||
}
|
||||
|
||||
const mvdird = await tryMvdir({
|
||||
sourcePath,
|
||||
destinationPath,
|
||||
args,
|
||||
sourceFileSize,
|
||||
});
|
||||
// disable: https://github.com/HaveAGitGat/Tdarr/issues/885
|
||||
// const mvdird = await tryMvdir({
|
||||
// sourcePath,
|
||||
// destinationPath,
|
||||
// args,
|
||||
// sourceFileSize,
|
||||
// });
|
||||
|
||||
if (mvdird) {
|
||||
return true;
|
||||
}
|
||||
// if (mvdird) {
|
||||
// return true;
|
||||
// }
|
||||
|
||||
args.jobLog('Failed to move file, trying copy');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue