From 8c0d9a72360c3fe589171d59edc3b273910d38b3 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Thu, 4 May 2023 19:39:22 +0100 Subject: [PATCH] handle subtitles --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 1849c90..405c5f2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -196,6 +196,7 @@ fn handle_dir(path: PathBuf) { "m4v" => { handle_video( inode) } "mkv" => { handle_video( inode) } "mp4" => { handle_video( inode) } + "srt" => { handle_video( inode) } // todo other documents _ => { println!("Not sure what to do with file: {:?}.", inode.path()); } }