kjgriffin / LivestreamServiceSuite

Tooling and support for controlling a BMD ATEM Switcher for livestreaming
https://github.com/kjgriffin/LivestreamServiceSuite/wiki
9 stars 1 forks source link

Add logic to handle a non-empty directory when publishing #37

Closed CarlCKuhl closed 8 months ago

CarlCKuhl commented 8 months ago

When publishing, if the target directory is not empty, display a message warning that all files in the target directory will be deleted. If the user selects OK, attempt to delete all files from the target directory before publishing. If the user selects cancel, then cancel the export. If an error is encountered while deleting files, display an error message then cancel the export.