We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 202cc44 + 45fa83f commit 1fe62a3Copy full SHA for 1fe62a3
src/project/project.py
@@ -641,7 +641,7 @@ def counts(self, behavior):
641
@staticmethod
642
def get_videos(dir_path: Path):
643
""" Get list of video filenames (without path) in a directory """
644
- return [f.name for f in dir_path.glob("*.avi")]
+ return [f.name for f in dir_path.glob("*") if f.suffix in ['.avi', '.mp4']]
645
646
def get_labeled_features(self, behavior=None, progress_callable=None):
647
"""
0 commit comments