diff options
| author | Tom Flux <tom@tomflux.xyz> | 2026-07-07 11:30:54 +0100 |
|---|---|---|
| committer | Tom Flux <tom@tomflux.xyz> | 2026-07-07 11:30:54 +0100 |
| commit | 4fff74a6378faa771cf5898d7cd1e43cfdb83039 (patch) | |
| tree | 772de0c51192654b4e5f578defa6cd83ca29d649 | |
| parent | 7e446fe491a0acdad2b808f23938581a149c8d4c (diff) | |
dont crash
| -rwxr-xr-x | overnight_transcoder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overnight_transcoder.py b/overnight_transcoder.py index 6c38724..28048f9 100755 --- a/overnight_transcoder.py +++ b/overnight_transcoder.py @@ -354,7 +354,7 @@ def pick_audio_settings(info: dict) -> dict: } - +def get_cached_file(conn: sqlite3.Connection, filepath: str, size: int, mtime: float) -> Optional[dict]: """Get cached file info if file hasn't changed. Returns dict or None.""" cursor = conn.execute( """SELECT video_codec, audio_codec, is_hevc, status |
