INTERACT FORUM

Please login or register.

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

Author Topic: MJCurPlaylistAutomation.Shuffle property not working in MC12  (Read 4626 times)

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
MJCurPlaylistAutomation.Shuffle property not working in MC12
« 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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42381
  • Shoes gone again!
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #1 on: November 16, 2007, 09:59:09 am »

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.
Logged
Matt Ashland, JRiver Media Center

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #2 on: November 16, 2007, 01:06:54 pm »

My testing indicates that SetShuffle() no longer has any effect.  GetShuffle() returns the correct value, but SetShuffle() does nothing.
Logged

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #3 on: November 16, 2007, 01:07:56 pm »

Sorry I meant PutShuffle().  According to the TLB, there is no SetShuffle() function.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #4 on: November 16, 2007, 01:27:22 pm »

Carl,
Someone just asked today where to get your software.  I couldn't find it.  Could you provide a link?

Thanks,

Jim
Logged

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #5 on: November 16, 2007, 03:33:02 pm »

Sorry - link was broken!  Now I fixed it: http://www.objective.se/cav66.zip.
Logged

blipszyc

  • Recent member
  • *
  • Posts: 7
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #6 on: December 12, 2007, 10:40:19 pm »

JimH - any progress on this for Zoner?  Does the 388 build have the latest TLB?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42381
  • Shoes gone again!
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #7 on: February 18, 2009, 10:14:42 am »

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.
Logged
Matt Ashland, JRiver Media Center

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #8 on: February 18, 2009, 10:16:11 am »

Woohoo!  Thanks Matt!
Logged

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #9 on: April 01, 2009, 02:26:26 am »

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!
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42381
  • Shoes gone again!
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #10 on: April 01, 2009, 10:56:37 am »

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.
Logged
Matt Ashland, JRiver Media Center

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #11 on: April 01, 2009, 11:01:16 am »

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.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: MJCurPlaylistAutomation.Shuffle property not working in MC12
« Reply #12 on: April 01, 2009, 11:09:51 am »

Logged
Pages: [1]   Go Up