INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: help adding group of files to playing now  (Read 1607 times)

pipsqueak

  • Citizen of the Universe
  • *****
  • Posts: 689
  • "Actually, it's elementary, my dear Dawson!"
help adding group of files to playing now
« 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

pipsqueak

  • Citizen of the Universe
  • *****
  • Posts: 689
  • "Actually, it's elementary, my dear Dawson!"
Re:help adding group of files to playing now
« Reply #1 on: November 03, 2004, 12:04:15 pm »

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

hsc

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:help adding group of files to playing now
« Reply #2 on: November 19, 2004, 08:58:08 am »

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)

Logged
Pages: [1]   Go Up