jdxi_editor.ui.preset.save

Functions

load_programs() → List[Dict[str, str]]

save_programs(program_list) → None

Save the program list to USER_PROGRAMS_FILE, creating the file and directory if needed.

add_program_and_save(new_program) → bool

add_program_and_save

Module Contents

jdxi_editor.ui.preset.save.load_programs() → List[Dict[str, str]][source]
jdxi_editor.ui.preset.save.save_programs(program_list: List[Dict[str, str]]) → None[source]

Save the program list to USER_PROGRAMS_FILE, creating the file and directory if needed.

Parameters:

program_list – List of program dictionaries.

jdxi_editor.ui.preset.save.add_program_and_save(new_program: Dict[str, str]) → bool[source]

add_program_and_save

Parameters:

new_program

Returns: