From 4fff74a6378faa771cf5898d7cd1e43cfdb83039 Mon Sep 17 00:00:00 2001 From: Tom Flux Date: Tue, 7 Jul 2026 11:30:54 +0100 Subject: dont crash --- overnight_transcoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'overnight_transcoder.py') 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 -- cgit v1.2.3