-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replaceOriginalFile flow plugin doesn't work correctly after renameFile flow plugin #747
Comments
So what is wrong here? You're renaming the original file, then calling "replace original file", which will indeed move the temp file over, then delete the original and remove the If you want to keep both, you'd have to use |
The reason I have this issue is that to test my own flow, after processing the video file I rename it to |
Well, you'd have to rename your file back after that. That's not what |
Oh okay, would it be possible to put more details about it in the description of |
Updated #756 |
Problem:
When using the
replaceOriginalFile
flow plugin after having used therenameFile
flow plugin, the original file isn't replaced, instead the working file is moved to the original directory and the original file is removed.Solution:
Tdarr_Plugins/FlowPluginsTs/CommunityFlowPlugins/file/replaceOriginalFile/1.0.0/index.ts
Lines 55 to 61 in 7b3f9ee
The plugin uses the filename of the working file to set the newPath, it should instead use the filename of the original file:
Maybe this could be an option to keep the working file or original file filename
The text was updated successfully, but these errors were encountered: