diff --git a/youtube_dl_gui/optionsframe.py b/youtube_dl_gui/optionsframe.py index 774d88f..f360c17 100644 --- a/youtube_dl_gui/optionsframe.py +++ b/youtube_dl_gui/optionsframe.py @@ -765,7 +765,7 @@ class AudioTab(TabPanel): """ AUDIO_QUALITY = twodict([("0", _("high")), ("5", _("mid")), ("9", _("low"))]) - AUDIO_FORMATS = ["mp3", "wav", "aac", "m4a", "vorbis"] + AUDIO_FORMATS = ["mp3", "wav", "aac", "m4a", "vorbis", "opus"] TO_AUDIO_LABEL = _("Convert to Audio") KEEP_VIDEO_LABEL = _("Keep Video") diff --git a/youtube_dl_gui/optionsmanager.py b/youtube_dl_gui/optionsmanager.py index a2d97c1..ca18db3 100644 --- a/youtube_dl_gui/optionsmanager.py +++ b/youtube_dl_gui/optionsmanager.py @@ -76,7 +76,7 @@ class OptionsManager(object): after post processing it. audio_format (string): Audio format of the post processed file. - Available values are "mp3", "wav", "aac", "m4a", "vorbis". + Available values are "mp3", "wav", "aac", "m4a", "vorbis", "opus". audio_quality (string): Audio quality of the post processed file. Available values are "9", "5", "0". The lowest the value the @@ -285,7 +285,7 @@ class OptionsManager(object): '264', '138', '242', '243', '244', '247', '248', '271', '272', '82', '83', '84', '85', '100', '101', '102', '139', '140', '141', '171', '172') - VALID_AUDIO_FORMAT = ('mp3', 'wav', 'aac', 'm4a', 'vorbis') + VALID_AUDIO_FORMAT = ('mp3', 'wav', 'aac', 'm4a', 'vorbis', 'opus') VALID_AUDIO_QUALITY = ('0', '5', '9')