Skip to content

Commit

Permalink
Added a new pattern
Browse files Browse the repository at this point in the history
Added a new pattern
  • Loading branch information
spacetimeengineer committed Dec 18, 2024
1 parent 9ef9244 commit 2c26e41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pbp/meta_gen/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def extract_timecode(filename: str, prefixes: List[str]):
"underscore_format1": r"{}[._]?(\d{{8}})_(\d{{6}})\.",
"underscore_format2": r"{}[._]?(\d{{6}})_(\d{{6}})\.",
"dot_format": r"{}[._]?(\d{{12}})\.",
"dot_format2": r"{}[.]?(\d{{6}})(\d{{6}})\.",
"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
Expand Down

0 comments on commit 2c26e41

Please sign in to comment.