add opus to supported audio list and sort

This commit is contained in:
Damien Elmes 2021-02-06 15:10:49 +10:00
parent e30b7fc36a
commit 3cd311191a

View File

@ -51,25 +51,26 @@ from aqt.webview import AnkiWebView
pics = ("jpg", "jpeg", "png", "tif", "tiff", "gif", "svg", "webp", "ico")
audio = (
"wav",
"mp3",
"ogg",
"flac",
"mp4",
"swf",
"mov",
"mpeg",
"mkv",
"m4a",
"3gp",
"spx",
"oga",
"webm",
"mpg",
"ogx",
"avi",
"flac",
"flv",
"m4a",
"mkv",
"mov",
"mp3",
"mp4",
"mpeg",
"mpg",
"oga",
"ogg",
"ogv",
"ogx",
"opus",
"spx",
"swf",
"wav",
"webm",
)
_html = """