detect add real media files

This commit is contained in:
j 2021-11-14 13:35:26 +00:00
parent 67c6c24131
commit 868a401553

View file

@ -19,7 +19,8 @@ __all__ = ['sha1sum', 'oshash', 'avinfo', 'makedirs', 'iexists']
EXTENSIONS = { EXTENSIONS = {
'audio': [ 'audio': [
'aac', 'aif', 'aiff', 'amr', 'aac', 'aif', 'aiff', 'amr',
'flac', 'm4a', 'mp3', 'oga', 'ogg', 'wav', 'wma', 'opus' 'flac', 'm4a', 'mp3', 'oga', 'ogg', 'wav', 'wma', 'opus',
'ra', # Real Audio
], ],
'image': [ 'image': [
'bmp', 'gif', 'jpeg', 'jpg', 'png', 'svg', 'webp' 'bmp', 'gif', 'jpeg', 'jpg', 'png', 'svg', 'webp'
@ -34,6 +35,7 @@ EXTENSIONS = {
'mod', 'tod', # http://en.wikipedia.org/wiki/MOD_and_TOD 'mod', 'tod', # http://en.wikipedia.org/wiki/MOD_and_TOD
'mxf', 'ts', 'mxf', 'ts',
'dat', # VOD files 'dat', # VOD files
'rm', # Real Media
], ],
} }