INTERACT FORUM
Windows => Plug-in Development => Topic started by: Zoner on November 16, 2007, 03:15:16 am
-
The MJCurPlaylistAutomation.Shuffle property used to be a BOOL, but according to http://wiki.jrmediacenter.com/index.php/MJCurPlaylistAutomation#number_Shuffle.28.29_.28read_.2F_write.29 is now a "number". I see in the GUI that there are now 3 settings: On, Off, and Automatic, so I guess it makes sense that it should be changed. The problem is that the TLB file included with the latest MC12 build still lists it as a BOOL. GetShuffle() returns accurate values, but PutShuffle() no longer has any effect. In other words, the BOOL property is no longer writeable, and there is no "number" property in the TLB. Can we please have a new TLB file that includes a working method for changing the shuffle mode.
-
SetShuffle(...) should still work. The only hitch is that you be able to set the player to "automatic".
Note that this is the same as MCC_SHUFFLE with the parameter set to 3, 4 (and now 5). So you could also fire the command as an MCC through the command line or with a windows message.
-
My testing indicates that SetShuffle() no longer has any effect. GetShuffle() returns the correct value, but SetShuffle() does nothing.
-
Sorry I meant PutShuffle(). According to the TLB, there is no SetShuffle() function.
-
Carl,
Someone just asked today where to get your software. I couldn't find it. Could you provide a link?
Thanks,
Jim
-
Sorry - link was broken! Now I fixed it: http://www.objective.se/cav66.zip.
-
JimH - any progress on this for Zoner? Does the 388 build have the latest TLB?
-
Sorry for the late response on this one, but in Media Center 13.0.125 and later:
Fixed: Setting the shuffle mode using CMJCurPlaylistAutomation worked in reverse, so off turned it on and on turned it off.
Thanks.
-
Woohoo! Thanks Matt!
-
I'm afraid it seems that this is still not fixed in MC13. The problem is that the Shuffle property in the TLB is a BOOL, not a long. From the TLB:
VARIANT_BOOL GetShuffle();
void PutShuffle(VARIANT_BOOL _val);
Can we get a fix for this? Thanks!
-
I'm afraid it seems that this is still not fixed in MC13. The problem is that the Shuffle property in the TLB is a BOOL, not a long. From the TLB:
VARIANT_BOOL GetShuffle();
void PutShuffle(VARIANT_BOOL _val);
Can we get a fix for this? Thanks!
It will only support toggling on and off.
Is the problem that you can't even toggle it on and off, or that you want access to more advanced shuffle modes? We can't really change the interface, but we could add Shuffle2 or something.
-
Good question. Right now I'm server-less, so I can't test myself, but I am told that it doesn't work at all. I should have my server setup again in a couple of days, so I'll test it and get back to you.
-
Here's a link to the thread on AVSForum:
http://www.avsforum.com/avs-vb/showthread.php?t=534233&page=27