Merge branch 'master' into feature/improve-audio-torrent-poster-selection

This commit is contained in:
Borewit
2018-04-20 07:38:53 +02:00
12 changed files with 106 additions and 32 deletions

View File

@@ -33,12 +33,18 @@ function isVideo (file) {
function isAudio (file) {
return [
'.aac',
'.aiff',
'.ape',
'.ac3',
'.mp3',
'.ogg',
'.wav',
'.flac',
'.m4a'
'.m4a',
'.mp2',
'.mp3',
'.oga',
'.ogg',
'.opus',
'.wav',
'.wma'
].includes(getFileExtension(file))
}