2014-03-09, 07:09
(2014-03-08, 22:20)lzep Wrote: Thanks, but what I'd like to do is have two links on the home screen, one that you click that would run PseudoTV regularly, and one you would click to run PseudoTV with a channel reset.
This runs PseudoTV regularly: <onclick>XBMC.runscript(script.pseudotv)</onclick>
What would it be to run it with a reset?
Thats not possible, it doesnt reset based on a parameter you pass it. It looks in your settings file and determines if its time for a reset. The "force reset on next start" option gets saved to your settings file.
You would need to change the "false" to "true" in the settings file, then start PTV.
The only xbmc built-in function that could do that is this one:
Code:
Addon.OpenSettings(id) Open a settings dialog for the addon of the given id
You're better off learning some python and modifying the addon to accept an argument to force reset.