Search found 76 matches

by uwuerfel
Sun Jan 27, 2008 6:46 am
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

Hi all,

does everybody prefer shuffle instead of true random or is there anybody who prefers true random instead of shuffle?

CIAo, uwe..
by uwuerfel
Thu Jan 24, 2008 4:01 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

I have uploaded V0.5.0. I cleaned up the code a bit and it is now an auto-script. Therefore now you only need one section in scripts.ini: [RadioDJasAutoDJ] FileName=auto\RadioDJ.vbs DisplayName=RadioDJ as AutoDJ Plug-in Language=VBScript ScriptType=4 Here is the script: [Link removed] Please tell me...
by uwuerfel
Thu Jan 24, 2008 3:54 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

Hi Olli, Unfortunately, the way mm handles random is the most important factor It's not MM that handles the randomizer. The randomizer is part of VBS and therefore MS has implemented it. I just made some experiments with the randomizer. It behaves as normal as a randomizer can. In every rating some ...
by uwuerfel
Mon Jan 21, 2008 7:46 am
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

Wonderful script. Thanks for contirbuting it. Thanks. I'm glad to hear this :D I know you say it's not an auto script because you consider it as beta software but I would really like to have this (because I use it for Auto DJ) and forget to turn it on half the time. If you just want to use the Auto...
by uwuerfel
Sun Jan 20, 2008 1:17 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

I have uploaded V0.4.3 Changed the code when and where options are saved to and loaded from file. Changed logging to use random filenames for each script instance. Logging still is disabled by default. ---- This should make the issue with saving the options better. At least I were not able to reprod...
by uwuerfel
Sun Jan 20, 2008 1:01 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

Hi Red, Thanks for your help. Can this work even if the script is started from scratch? I think every script instance would have its own variable "insub" with its own value and they wouldn't know about each other... I'm not realy a VBS expert and I don't know how MM handles VBS sripts internaly. But...
by uwuerfel
Sun Jan 20, 2008 4:39 am
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

It looks like this has to to with the fact, that MM starts the script more than once. I made a quick test: in just 2 minutes the script got started 12 times!! When concurrent processes are accessing the same data such problems as you describe can happen. Since in the documentation of MM it states so...
by uwuerfel
Sat Jan 19, 2008 9:45 am
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

ollifant wrote:It saves the settings, until i choose the "RadioDJ-Playlist" at the AutoDJ-Options.
Hm, does this happen, when you play muic?

I only could reproduce s.th. like this, when the music was playing using RadioDJ.



CIAo, uwe..
by uwuerfel
Fri Jan 18, 2008 2:39 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

sorry, but there's a new problem: changes in the settings won't be saved :( When i open the options windows again, the old settings are back... Hm, that's strange. I have no idea why this could hapen. And I can't reproduce it here. Can you please describe detailed what you are doing. Hopefully I ca...
by uwuerfel
Fri Jan 18, 2008 2:34 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

Hi Olli, about the "repeat after x songs" thing: are the songs from one rating picked by true random (means, one song could be played more often than another), or by shuffle (every song is played, just the order changes)? Yes it's true random. I really like your script! Thanks :D CIAo, uwe..
by uwuerfel
Thu Jan 17, 2008 4:34 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

I have Uploaded V0.4.2 The strange messagebox saying "Unknown name" doesn't appear anymore. It turned out, that the subs "InitOptionSheet" and "SaveOptionSheet" must exist, even if they are not used. chooseWheigtedRating checks if songlists for a randomly chosen rating are empty. If they are, anothe...
by uwuerfel
Thu Jan 17, 2008 4:26 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

Hi Olli, Some higher rated songs were played a bit too often, but i guess, "15" for 5 Star rated songs is a bit too much, when you only have 3 or 4 songs with this rating :D This is far too high. I will show you an example below. But there's the problem at the moment: At the moment, the Auto-DJ Play...
by uwuerfel
Tue Jan 15, 2008 5:17 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

m_bojangles wrote:
I'll try this uwe, but I don't have an editor with line numbers. Is this the line you want me to modify?

Code: Select all

m_sIntTraceLevel = VERBOSEMSG

Yes it is.
Good luck.


CIAo, uwe..
by uwuerfel
Tue Jan 15, 2008 5:04 pm
Forum: Need Help with Addons?
Topic: Script: Radio-DJ [MM3]
Replies: 156
Views: 85963

Hi Olli, it seems that at least for one rating (one star) you have no song. Obviously in the options you have enabled songs with one star. The error happens, because the algorithm tries to select a song with one star but can't find any song. This should give you enough information for a workaround. ...
by uwuerfel
Tue Jan 15, 2008 2:31 pm
Forum: Need Help with Addons?
Topic: When and how often gets a script started?
Replies: 0
Views: 598

When and how often gets a script started?

Hi all, I have a strange problem with my script (RadioDJ). In that script I write logging information to a tracefile. Tracing is encapsulated in its own class and the object is held in a global variable so that it exists only once. Somewhere I have read, that scripts are loaded only once into memory...