From d2f45e303afe5906297524f88c6ce0d514c8d0d5 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sat, 15 Oct 2016 15:49:08 +0300 Subject: [PATCH] Add 'selected_audio_formats' option --- youtube_dl_gui/optionsmanager.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/youtube_dl_gui/optionsmanager.py b/youtube_dl_gui/optionsmanager.py index da236ca..d2c1e04 100644 --- a/youtube_dl_gui/optionsmanager.py +++ b/youtube_dl_gui/optionsmanager.py @@ -204,6 +204,9 @@ class OptionsManager(object): selected_video_formats (list): List that contains the selected video formats to display on the main window. + selected_audio_formats (list): List that contains the selected + audio formats to display on the main window. + """ #TODO Remove old options & check options validation self.options = { @@ -252,7 +255,8 @@ class OptionsManager(object): 'locale_name': 'en_US', 'main_win_size': (710, 490), 'opts_win_size': (640, 270), - 'selected_video_formats': [] + 'selected_video_formats': [], + 'selected_audio_formats': [] } def load_from_file(self):