Merge pull request #788 from pkubowicz/opus-audio

Add .opus as an audio extension
This commit is contained in:
Damien Elmes 2020-10-12 12:32:56 +10:00 committed by GitHub
commit 34a1d793a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -64,6 +64,7 @@ Akshara Balachandra <akshara.bala.18@gmail.com>
lukkea <github.com/lukkea/>
David Allison <davidallisongithub@gmail.com>
Tsung-Han Yu <johan456789@gmail.com>
Piotr Kubowicz <piotr.kubowicz@gmail.com>
********************

View File

@ -72,14 +72,15 @@ class Player(ABC):
AUDIO_EXTENSIONS = {
"wav",
"mp3",
"ogg",
"3gp",
"flac",
"m4a",
"3gp",
"spx",
"mp3",
"oga",
"ogg",
"opus",
"spx",
"wav",
}