2017-08-09, 09:01
(2017-08-08, 22:49)MikeKL Wrote: Actually looking in main.py you appear to have applied changes inconsistently for elif index 4 & 5 items (config_output_folder & xmltv_output_folder are not correctly aligned)
Code:elif index == 4:
plugin.set_setting('device','2')
plugin.set_setting('exe','C:\\Program Files\\WebGrab+Plus\\bin\\WebGrab+Plus.exe')
plugin.set_setting('config_output_folder',os.path.join(os.getenv("LOCALAPPDATA"), "WebGrab+Plus"))
plugin.set_setting('xmltv_name','xmltv.xml')
plugin.set_setting('xmltv_output_folder','C:\\ProgramData\\ServerCare\\WebGrab\\')
elif index == 5:
plugin.set_setting('device','3')
plugin.set_setting('exe','C:\\Program Files (x86)\\WebGrab+Plus\\bin\\WebGrab+Plus.exe')
plugin.set_setting('config_output_folder','C:\\ProgramData\\ServerCare\\WebGrab\\')
plugin.set_setting('xmltv_name','xmltv.xml')
plugin.set_setting('xmltv_output_folder',os.path.join(os.getenv("LOCALAPPDATA"), "WebGrab+Plus"))
Apologies for not checking resulting settings.xml more fully, first time around.
Thanks for that. I've changed all 4 paths to the new values and hidden the Device Setting in version 0.0.38. It probably was more confusing than helpful.