mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Merge pull request #788 from pkubowicz/opus-audio
Add .opus as an audio extension
This commit is contained in:
commit
34a1d793a4
2 changed files with 7 additions and 5 deletions
|
@ -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>
|
||||||
|
|
||||||
********************
|
********************
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue