detect .mov files
All checks were successful
Trigger quay.io Webhook / run (push) Successful in 6s

This commit is contained in:
Dominic 2024-05-27 20:05:41 +02:00
parent 6934012c11
commit cbdf55335a
Signed by: msrd0
GPG key ID: AAF7C8430CA3345D

View file

@ -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));