This commit is contained in:
parent
6934012c11
commit
cbdf55335a
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue