Disable tryMvdir

make-only-subtitle-default
HaveAGitGat 2 years ago
parent 0cfeca600c
commit 86a7cf479a

@ -68,6 +68,7 @@ const tryMove = async ({
return true; return true;
}; };
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const tryMvdir = async ({ const tryMvdir = async ({
sourcePath, sourcePath,
destinationPath, destinationPath,
@ -219,16 +220,17 @@ const fileMoveOrCopy = async ({
return true; return true;
} }
const mvdird = await tryMvdir({ // disable: https://github.com/HaveAGitGat/Tdarr/issues/885
sourcePath, // const mvdird = await tryMvdir({
destinationPath, // sourcePath,
args, // destinationPath,
sourceFileSize, // args,
}); // sourceFileSize,
// });
if (mvdird) {
return true; // if (mvdird) {
} // return true;
// }
args.jobLog('Failed to move file, trying copy'); args.jobLog('Failed to move file, trying copy');
} }

Loading…
Cancel
Save