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/> lukkea <github.com/lukkea/>
David Allison <davidallisongithub@gmail.com> David Allison <davidallisongithub@gmail.com>
Tsung-Han Yu <johan456789@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 = { AUDIO_EXTENSIONS = {
"wav", "3gp",
"mp3",
"ogg",
"flac", "flac",
"m4a", "m4a",
"3gp", "mp3",
"spx",
"oga", "oga",
"ogg",
"opus",
"spx",
"wav",
} }