From 32403725259d28323398031114ad273f3f2c358e Mon Sep 17 00:00:00 2001 From: Michael C Ryan Date: Wed, 18 Dec 2024 10:52:36 -0500 Subject: [PATCH] Added another regrex. Added another regrex. --- pbp/meta_gen/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pbp/meta_gen/utils.py b/pbp/meta_gen/utils.py index 9788599..4826585 100644 --- a/pbp/meta_gen/utils.py +++ b/pbp/meta_gen/utils.py @@ -52,6 +52,7 @@ def extract_timecode(filename: str, prefixes: List[str]): "underscore_format2": r"{}[._]?(\d{{6}})_(\d{{6}})\.", "dot_format": r"{}[._]?(\d{{12}})\.", "dot_format2": r"{}[.]?(\d{{6}})(\d{{6}})\.", + "dot_format3": r"{}[.]?(\d{{12}})\.", "iso_format": r"{}[._]?(\d{{8}}T\d{{6}}Z)\.", "dash_format1": r"{}[.-]?(\d{{8}})-(\d{{6}})\.", # Matches: MARS-YYYYMMDD-HHMMSS.wav "dash_format2": r"{}[.-]?(\d{{6}})-(\d{{6}})\.", # Matches: NRS08-150219-151716.wav