Skip to content
Snippets Groups Projects
Verified Commit cbdf5533 authored by Dominic Meiser's avatar Dominic Meiser
Browse files

detect .mov files

parent 6934012c
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,8 @@ fn main() {
let lower = name.to_ascii_lowercase();
if (lower.ends_with(".mp4")
|| lower.ends_with(".mts")
|| lower.ends_with(".mkv"))
|| lower.ends_with(".mkv")
|| lower.ends_with(".mov"))
&& !entry.file_type().unwrap().is_dir()
{
files.push(String::from(name));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment