Skip to content

Commit

Permalink
chore: more video ext
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxsen committed Jul 6, 2024
1 parent fb6b5cf commit f0f30ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/file_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
func IsVideoFile(f string) bool {
ext := strings.ToLower(filepath.Ext(f))
switch ext {
case ".mp4", ".wmv", ".avi", ".mkv", ".rmvb", ".m4a", ".ts":
case ".mp4", ".wmv", ".flv", ".mpeg", ".m2ts", ".mts", ".mpe", ".mpg", ".m4v", ".avi", ".mkv", ".rmvb", ".ts", ".mov", ".rm":
return true
default:
return false
Expand Down

0 comments on commit f0f30ac

Please sign in to comment.