You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Topic Reason
Update-Metadata currently remuxes in the same directory as the source file. This presents some risks that would be mitigated if it followed similar workflows to the transcoding process.
Issues that would be mitigated
NFS locations would not be at risk of corruption due to dropped packets.
File watching applications like plex would not cause disruption during transcoding.
Disruptions during the remux process would result in the process not continuing until handled.
Changes to implement
Create a temp database for logging file original locations. Needed for knowing where to put post processed file given update-metadata should not update the prod shows/movies tables beyond the existing contexts.
Foreach file confirm fftools directories are empty
Copy File into source process directory
Write a table entry in the temp db with filename, fullpath, & tempname to avoid conflicts.
Remux into target process directory
Remove file from source process directory
Move file from target process directory into processed directory.
Check source, target, and processed directories are empty on next clean run of dta. If they are and temp db exists, delete it.
Overwrite original file with file that is in processed directory. Match fullpath from the database to confirm target location where processed filename matches tempname.
Update readme to remove update-metadata warning and instead just keep a warning about keeping backups.
The text was updated successfully, but these errors were encountered:
Topic Reason
Update-Metadata currently remuxes in the same directory as the source file. This presents some risks that would be mitigated if it followed similar workflows to the transcoding process.
Issues that would be mitigated
Changes to implement
The text was updated successfully, but these errors were encountered: