mirror of https://github.com/mpv-player/mpv
TOOLS/lua/autoload: add various extra file extensions
Add to autoload.lua several extra file extensions that are unambiguously for media files.
This commit is contained in:
parent
a6d544d6a6
commit
56e24d535e
|
@ -49,16 +49,18 @@ function SetUnion (a,b)
|
|||
end
|
||||
|
||||
EXTENSIONS_VIDEO = Set {
|
||||
'3gp', 'avi', 'flv', 'm2ts', 'm4v', 'mkv', 'mp4', 'mpeg', 'mpg',
|
||||
'ogv', 'rmvb', 'webm', 'wmv'
|
||||
'3g2', '3gp', 'avi', 'flv', 'm2ts', 'm4v', 'mj2', 'mkv', 'mov',
|
||||
'mp4', 'mpeg', 'mpg', 'ogv', 'rmvb', 'webm', 'wmv', 'y4m'
|
||||
}
|
||||
|
||||
EXTENSIONS_AUDIO = Set {
|
||||
'flac', 'm4a', 'mp3', 'ogg', 'ogm', 'opus', 'wav', 'wma'
|
||||
'aiff', 'ape', 'au', 'flac', 'm4a', 'mka', 'mp3', 'oga', 'ogg',
|
||||
'ogm', 'opus', 'wav', 'wma'
|
||||
}
|
||||
|
||||
EXTENSIONS_IMAGES = Set {
|
||||
'bmp', 'gif', 'jpeg', 'jpg', 'png', 'svg', 'tif', 'tiff', 'webp'
|
||||
'avif', 'bmp', 'gif', 'j2k', 'jp2', 'jpeg', 'jpg', 'jxl', 'png',
|
||||
'svg', 'tga', 'tif', 'tiff', 'webp'
|
||||
}
|
||||
|
||||
EXTENSIONS = Set {}
|
||||
|
|
Loading…
Reference in New Issue