Skip to content

Commit

Permalink
Merge pull request #331 from jhogsett/ignore-non-project-dirs
Browse files Browse the repository at this point in the history
Video Remixer: Bulk Open - Skip directories without project files
  • Loading branch information
jhogsett authored Aug 15, 2024
2 parents 46b3b9b + 457fea6 commit 2268393
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tabs/video_remixer_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -3527,6 +3527,13 @@ def open_button718(self, projects_path, project_state):
for dir in dir_list:
try:
project_path = os.path.join(projects_path, dir)

try:
VideoRemixerProject.determine_project_filepath(project_path)
except ValueError:
self.log(f"skipping non project directory {project_path}")
continue

messages = self._next_button01(project_path)
self.log(messages)
Mtqdm().update_bar(bar)
Expand Down

0 comments on commit 2268393

Please sign in to comment.