INTERACT FORUM
Windows => Plug-in Development => Topic started by: pipsqueak on October 26, 2004, 02:50:21 pm
-
how you add a group of files (MJFilesAutomation) to the playing now playlist, and how do you just play them, because: "theFiles.play" isn't working and nor is: "call theFiles.play"
vb is throwing up an error
pip
-
was kind of hoping someone would know whats going wrong here...
really want to get the plugin done and out there - should allow a radio station esque way of automatically generating playlists, which i think would be a cool thing to have ...
when its done you will able to pick a genre (or whatever), throw in a few commands and hit go - the plugin will choose tracks in a user weighted manner from the input genre.
The outcome of this is that you can get a radio station style playlist (ie. mainly higher rated stuff, but with some lower rated material creeping in to keep it fresh)...
and before anyone says it, this is NOT the same as just saying 5% 1* and 50% 5* or whatever - thats static. this way the output is weighted according to the input (i can show the math is people want to understand more)...
Anyway so any ideas on how to get the sdk working here?
thanks
pip
-
I guess the SDK documentation needs some updates. I just did some experiments and the following worked for me (MC 11):
Dim MJFile As MediaJukebox.MJFileAutomation
Set MJFiles = <what ever playlist should be played>
Call MJFiles.Play(-1)