-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure video processing and add gpx, nmea and exiftool runtime s…
…upport (#654)
- Loading branch information
Showing
19 changed files
with
874 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,6 @@ __pycache__ | |
/build/ | ||
/dist/ | ||
/venv/ | ||
/.pyre/ | ||
.DS_Store | ||
*.log | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import typing as T | ||
from pathlib import Path | ||
|
||
|
||
known_parser_options = ["source", "pattern", "exiftool_path"] | ||
|
||
|
||
class CliParserOptions(T.TypedDict, total=False): | ||
source: str | ||
pattern: T.Optional[str] | ||
exiftool_path: T.Optional[Path] | ||
|
||
|
||
class CliOptions(T.TypedDict, total=False): | ||
paths: T.Sequence[Path] | ||
recursive: bool | ||
geotag_sources_options: T.Sequence[CliParserOptions] | ||
geotag_source_path: Path | ||
exiftool_path: Path | ||
num_processes: int | ||
device_make: T.Optional[str] | ||
device_model: T.Optional[str] |
Oops, something went wrong.