Browse Source

Load video formats on wx.CheckListBox

doc-issue-template
MrS0m30n3 8 years ago
parent
commit
dc8e8656db
1 changed files with 3 additions and 2 deletions
  1. 5
      youtube_dl_gui/optionsframe.py

5
youtube_dl_gui/optionsframe.py

@ -23,7 +23,8 @@ from .info import (
from .utils import (
TwoWayOrderedDict as twodict,
os_path_exists,
get_icon_file
get_icon_file,
read_formats
)
#TODO Set up load-save methods
#TODO Adjust layout
@ -318,7 +319,7 @@ class FormatsTab(TabPanel):
super(FormatsTab, self).__init__(*args, **kwargs)
self.video_formats_label = self.crt_statictext("Video formats")
self.video_formats_checklistbox = self.crt_checklistbox([])
self.video_formats_checklistbox = self.crt_checklistbox(read_formats().values())
self.audio_formats_label = self.crt_statictext("Audio formats")
self.audio_formats_checklistbox = self.crt_checklistbox(self.AUDIO_FORMATS)

Loading…
Cancel
Save