chadalon / Studio-One-File-Finder

A cross-platform application made to update sample file locations in Studio One .song files en masse
GNU General Public License v3.0
1 stars 0 forks source link

Make Song directory validation run on a new task #47

Closed chadalon closed 1 month ago

chadalon commented 1 month ago

This keeps it from hanging the dispatcher thread. The only thing to design is the cancelation of the current thread running it if we change the directory while it's still validating. Also while validating display a message so the user isn't confused.

If the user is using the textbox to type in a path, make sure it is still a seamless experience while implementing this.

chadalon commented 1 month ago

use cancellationtokens: Cancel thread wait (on new thread) until other one is done proceed (new cancellationtoken?)

chadalon commented 1 month ago

Also now that we can select folders that contain access denied subfolders there is a need to implement skipping over these folders in the updater (for updating files, deleting, AND restoring).

chadalon commented 1 month ago

song folder file verify Also added a try/catch in FindEnclosingStudioOneFolders so selected project directories can have invalid subfolders in them (access rights etc) and just skip over those.