···1111 -- default options, convert_script.conf is read
1212 local options = {
1313 bitrate_multiplier = 0.975, -- to make sure the file won’t go over the target file size, set it to 1 if you don’t care
1414+@@ -247,12 +247,12 @@
1515+ if string.len(vf) > 0 then
1616+ vf = vf .. ","
1717+ end
1818+- local sub_file_table = mp.get_property_native("options/sub-file")
1919++ local sub_file_table = mp.get_property_native("options/sub-files")
2020+ local sub_file = ""
2121+ for index, param in pairs(sub_file_table) do
2222+ sub_file = sub_file .. " --sub-file='" .. string.gsub(tostring(param), "'", "'\\''") .. "'"
2323+ end
2424+- local audio_file_table = mp.get_property_native("options/audio-file")
2525++ local audio_file_table = mp.get_property_native("options/audio-files")
2626+ local audio_file = ""
2727+ for index, param in pairs(audio_file_table) do
2828+ audio_file = audio_file .. " --audio-file='" .. string.gsub(tostring(param), "'", "'\\''") .. "'"
1429@@ -354,9 +358,9 @@
1530 if ovc == "gif" then
1631 full_command = full_command .. ' --vf-add=lavfi=graph=\\"framestep=' .. framestep .. '\\" && convert '