2011-03-17, 23:45
mrloofer Wrote:Cool, thanks for the explanation, but that's not what I'm seeing, I'm seeing random settings being reset. For example, at one point the music volume in the trivia settings was being reset 100%, trailer folder reset to nothing, trailers changed from 3 to 1 was resetting back to 3, Intro folders being reset to defaults and more that I didn't take note of.
Now I will admit that during testing I would skip through each section with the next button (or return button to exit out of trivia then skip through trailers etc. and finally stop to exit out of main movie). For what it's worth I will note that having been a seasoned HTE user I can say that is pretty much the norm depending on who is in my HT at the time (ie the wife wants to skip previews or ending the trivia slides sooner than the allotted time) so that may be worth taking into consideration when doing things with settings updates based upon stopping/starting the script. Just sayin'.
I just thought of a possible cause of this(not saving settings). If the script is still running, the copy of settings saved will be the copy the script is using. The script could be still running for a couple of reasons, If you press stop on the remote, the script is still running in the back ground. Or if part of the script crashes and it seems like the script has completely crashed(rare but can happen). To make sure that the script is not running, before opening the settings from the Addon Window, click on the script as if you were wanting it to run. It should error out if it is not running, or end the script if it is running.
I see if I can find away for detecting that the script needs to be off...