Enable temporary folder deletion after video processing #97
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First of all thanks for this upscaler utility app, I really like what you're building also code-wise it's been quite easy to implement changes as its really clean and organized 🙌🏻
This PR is just a small modification as I was having issues when trying to upscale TV series all at once. Since the frames are contained and not deleted after the video processing completes the disk space was exploding and wanted to add a checkbox to allow automatic removal of the folder that holds extracted and upscaled frame images.
Take a look and feel free to merge if you like the idea! I compiled an executable for myself but would be great to use your releases in the future instead of my custom compile.
✨ Enhancements to Temporary File Management & User Preferences ✨
🔧 Added Functionality: Introduced a new option to delete temporary frames after upscaling is complete. This feature is now configurable through the GUI and the user preferences.
💾 User Preferences: Updated the system to remember the user's choice for deleting frames across sessions, stored within default_delete_frames.
🧹 Clean-Up Process: Implemented the delete_temporary_files function to recursively remove the entire directory, ensuring that temporary files are efficiently cleaned up.
🎛️ GUI Integration: Added a checkbox for the new delete option in the settings interface.