# Both order possibilities should be in the list # Following functions are invoved, but they are all implemented dynamically # MovieCenter.reload -> Add new parameter if necessary # Don't worry about buildMovieCenterEntry(*args): # MovieSelection.initButtons -> Set next button text # Green short will go through all types: D A # Green long will only toggle the sort order: normal reverse sort_choices = [(k, v[0]) for k, v in sort_modes.items()] config.EMC = ConfigSubsection() config.EMC.needsreload = ConfigYesNo(default=False) config.EMC.about = ConfigSelection(default="1", choices=[("1", " ")]) config.EMC.extmenu_plugin = ConfigYesNo(default=False) config.EMC.extmenu_list = ConfigYesNo(default=False) config.EMC.epglang = ConfigSelection(default=language.getActiveLanguage(), choices=langList()) config.EMC.langsupp = ConfigSelection(default="No", choices=extra_support_lang_choices) config.EMC.sublang1 = ConfigSelection( default=language.lang[language.getActiveLanguage()][0], choices=langList()) config.EMC.sublang2 = ConfigSelection( default=language.lang[language.getActiveLanguage()][0], choices=langList()) config.EMC.sublang3 = ConfigSelection( default=language.lang[language.getActiveLanguage()][0], choices=langList()) config.EMC.audlang1 = ConfigSelection( default=language.lang[language.getActiveLanguage()][0], choices=langList()) config.EMC.audlang2 = ConfigSelection( default=language.lang[language.getActiveLanguage()][0], choices=langList()) config.EMC.audlang3 = ConfigSelection( default=language.lang[language.getActiveLanguage()][0], choices=langList())
# Both order possibilities should be in the list # Following functions are invoved, but they are all implemented dynamically # MovieCenter.reload -> Add new parameter if necessary # Don't worry about buildMovieCenterEntry(*args): # MovieSelection.initButtons -> Set next button text # Green short will go through all types: D A # Green long will only toggle the sort order: normal reverse sort_choices = [ (k, v[0]) for k, v in sort_modes.items() ] config.EMC = ConfigSubsection() config.EMC.needsreload = ConfigYesNo(default = False) config.EMC.about = ConfigSelection(default = "1", choices = [("1", " ")]) config.EMC.extmenu_plugin = ConfigYesNo(default = False) config.EMC.extmenu_list = ConfigYesNo(default = False) config.EMC.epglang = ConfigSelection(default = language.getActiveLanguage(), choices = langList()) config.EMC.langsupp = ConfigSelection(default = "No", choices = extra_support_lang_choices) config.EMC.sublang1 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.sublang2 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.sublang3 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.audlang1 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.audlang2 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.audlang3 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.autosubs = ConfigYesNo(default = False) config.EMC.autoaudio = ConfigYesNo(default = False) config.EMC.key_period = ConfigSelectionNumber(50, 900, 50, default = 100) config.EMC.key_repeat = ConfigSelectionNumber(250, 900, 50, default= 500) config.EMC.restart = ConfigSelection(choices = restart_choices, default = "") config.EMC.restart_begin = ConfigClock(default = 60 * 60 * 2) config.EMC.restart_end = ConfigClock(default = 60 * 60 * 5) config.EMC.restart_stby = ConfigYesNo(default = False)
# Both order possibilities should be in the list # Following functions are invoved, but they are all implemented dynamically # MovieCenter.reload -> Add new parameter if necessary # Don't worry about buildMovieCenterEntry(*args): # MovieSelection.initButtons -> Set next button text # Green short will go through all types: D A # Green long will only toggle the sort order: normal reverse sort_choices = [ (k, v[0]) for k, v in sort_modes.items() ] config.EMC = ConfigSubsection() config.EMC.needsreload = ConfigYesNo(default = False) config.EMC.about = ConfigSelection(default = "1", choices = [("1", " ")]) config.EMC.extmenu_plugin = ConfigYesNo(default = False) config.EMC.extmenu_list = ConfigYesNo(default = False) config.EMC.epglang = ConfigSelection(default = language.getActiveLanguage(), choices = langList()) config.EMC.langsupp = ConfigSelection(default = "No", choices = extra_support_lang_choices) config.EMC.sublang1 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.sublang2 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.sublang3 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.audlang1 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.audlang2 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.audlang3 = ConfigSelection(default = language.lang[language.getActiveLanguage()][0], choices = langList()) config.EMC.autosubs = ConfigYesNo(default = False) config.EMC.autoaudio = ConfigYesNo(default = False) config.EMC.autoaudio_ac3 = ConfigYesNo(default = False) config.EMC.key_period = ConfigSelectionNumber(50, 900, 50, default = 100) config.EMC.key_repeat = ConfigSelectionNumber(250, 900, 50, default= 500) config.EMC.restart = ConfigSelection(choices = restart_choices, default = "") config.EMC.restart_begin = ConfigClock(default = 60 * 60 * 2) config.EMC.restart_end = ConfigClock(default = 60 * 60 * 5)