diff --git a/pkg/utils/streamable.go b/pkg/utils/streamable.go index 10df276..bb02cd5 100644 --- a/pkg/utils/streamable.go +++ b/pkg/utils/streamable.go @@ -3,9 +3,11 @@ package utils import "strings" func IsStreamable(filePath string) bool { + filePath = strings.ToLower(filePath) return strings.HasSuffix(filePath, ".mkv") || strings.HasSuffix(filePath, ".mp4") || strings.HasSuffix(filePath, ".avi") || strings.HasSuffix(filePath, ".wmv") || - strings.HasSuffix(filePath, ".m4v") + strings.HasSuffix(filePath, ".m4v") || + strings.HasSuffix(filePath, ".ts") }