beta 2 - auto-dj scripts load/unloading problems

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: beta 2 - auto-dj scripts load/unloading problems

by Teknojnky » Wed Sep 19, 2007 10:45 am

Cool, thanks Jiri, that will make things alot more easier to work on auto-dj scripts.

by jiri » Wed Sep 19, 2007 10:06 am

Ok, it will be in the next release.

Jiri

beta 2 - auto-dj scripts load/unloading problems

by Teknojnky » Tue Sep 18, 2007 5:38 pm

I am starting to experiment with the auto-dj scripting and something that makes it difficult to develop and make changes easily...

Here it says that auto-dj scripts are unloaded when auto-dj is disabled, however that does not seem to be the case.

If I disable (unchecked via play > auto-dj) auto-dj, then re-enable (checked via play > auto-dj), the script is not re-loaded, instead it continues to use the cached code.

Specifically, I am changing the query around (using only the sample auto-dj script in the wiki) and it will not read any changes without restarting MM.

What this means for development is that there is no way to make changes to the script without continously re-starting the whole mediamonkey application.

It would be great if MM actually unloaded and re-loaded/re-reads the script upon being disabled/enabled.

This would greatly improve development efforts.

Also, If there is some other way to force a re-load of a script (or all scripts) that would be a great addition as well.

Top