Expose the metadata format option in the UI

This commit is contained in:
cmdr2 2022-12-12 14:06:20 +05:30
parent b57649828d
commit d0e50584ea
2 changed files with 14 additions and 0 deletions

View File

@ -38,6 +38,7 @@ const SETTINGS_IDS_LIST = [
"sound_toggle", "sound_toggle",
"turbo", "turbo",
"confirm_dangerous_actions", "confirm_dangerous_actions",
"metadata_output_format",
"auto_save_settings", "auto_save_settings",
"apply_color_correction" "apply_color_correction"
] ]

View File

@ -53,6 +53,19 @@ var PARAMETERS = [
return `<input id="${parameter.id}" name="${parameter.id}" size="30" disabled>` return `<input id="${parameter.id}" name="${parameter.id}" size="30" disabled>`
} }
}, },
{
id: "metadata_output_format",
type: ParameterType.select,
label: "Metadata format",
note: "the metadata will be saved to disk in this format",
default: "txt",
options: [
{
value: "txt",
label: "json"
}
],
},
{ {
id: "sound_toggle", id: "sound_toggle",
type: ParameterType.checkbox, type: ParameterType.checkbox,