Added support for .vid

This commit is contained in:
Fabrice Quenneville 2020-11-07 19:22:42 -05:00
parent 628e8cad4a
commit b31f21b568

View File

@ -136,6 +136,8 @@ def get_videolist(parentdir, inputs = ["any"], filters = []):
videolist += list(path.rglob("*.[fF][lL][vV]")) videolist += list(path.rglob("*.[fF][lL][vV]"))
if "mpg" in inputs or "any" in inputs or len(inputs) < 1: if "mpg" in inputs or "any" in inputs or len(inputs) < 1:
videolist += list(path.rglob("*.[mM][pP][gG]")) videolist += list(path.rglob("*.[mM][pP][gG]"))
if "vid" in inputs or "any" in inputs or len(inputs) < 1:
videolist += list(path.rglob("*.[vV][iI][dD]"))
# Remove folders # Remove folders