Skip to content

Commit

Permalink
seekable
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson committed Dec 29, 2024
1 parent 6891df7 commit 8391b18
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions simba/ui/pop_ups/check_videos_seekable_pop_up.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self):
def run(self, directory: bool):
if directory:
data_path = self.directory_path.folder_path
check_if_dir_exists(in_dir=dir, source=self.__class__.__name__)
check_if_dir_exists(in_dir=data_path, source=self.__class__.__name__)
file_paths = find_files_of_filetypes_in_directory(directory=data_path, extensions=Options.ALL_VIDEO_FORMAT_OPTIONS.value, raise_error=True)
for file_path in file_paths:
_ = is_valid_video_file(file_path=file_path, raise_error=True)
Expand All @@ -69,4 +69,7 @@ def run(self, directory: bool):
gpu=gpu,
batch_size=batch_size,
verbose=False,
save_path=save_path)
save_path=save_path)


#CheckVideoSeekablePopUp()

0 comments on commit 8391b18

Please sign in to comment.