beta 2 - auto-dj scripts load/unloading problems

Beta Testing for Windows Products and plugins

Moderator: Gurus

Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

beta 2 - auto-dj scripts load/unloading problems

Post by Teknojnky »

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.
jiri
Posts: 5433
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

Ok, it will be in the next release.

Jiri
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

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