Add support for rar extraction
This commit is contained in:
@@ -7,9 +7,10 @@ func IsPlayable(filePath string) bool {
|
||||
return strings.HasSuffix(filePath, ".avi") ||
|
||||
strings.HasSuffix(filePath, ".m2ts") ||
|
||||
strings.HasSuffix(filePath, ".m4v") ||
|
||||
strings.HasSuffix(filePath, ".mkv") ||
|
||||
strings.HasSuffix(filePath, ".mp4") ||
|
||||
strings.HasSuffix(filePath, ".mkv") || // confirmed working
|
||||
strings.HasSuffix(filePath, ".mp4") || // confirmed working
|
||||
strings.HasSuffix(filePath, ".mpg") ||
|
||||
strings.HasSuffix(filePath, ".ts") ||
|
||||
strings.HasSuffix(filePath, ".wmv")
|
||||
strings.HasSuffix(filePath, ".wmv") ||
|
||||
strings.HasSuffix(filePath, ".m4b") // confirmed working
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user