INTERACT FORUM
Windows => Plug-in Development => Topic started by: wtf on April 17, 2008, 07:49:11 pm
-
I can control MC12 through the automation interface and have been able to find a specific smartlist and play the files, but the next time I call my function I get the same collection of files. Tried removing them, etc. but it didn't help. Does anyone know the trick to get a new set of files created?
-
dont know a direct way, but going through the back door, you could use a commandline from within your code to start playing a smart list using the playreplace with the right treepath for the smart list
http://wiki.jrmediacenter.com/index.php/The_Command_Line
-
Yeah, that's how I was doing it before. When I updated to MC12 and Homeseer 2, I wanted to change the way I remotely run MC through browsers so I wrote some VB to catch events/update playing now image/control MC. I can do it the commandline way but since I'm already playing with the object directly I figured I would try that way. I assume 'playreplace' is using the same API calls but in the 'proper' ::) way.
-
Running 'MC12.exe /MCC 22007' before GetFiles() does it.
-
What kind of smartlist are you dealing with? I always seem to get a new set of files with each call to GetFiles() (my example smartlist is 50 tracks from a particular genre).