INTERACT FORUM

Windows => Plug-in Development => Topic started by: GrantDG on November 13, 2011, 07:08:07 pm

Title: MCWS - Determine 'Repeat' mode
Post by: GrantDG on November 13, 2011, 07:08:07 pm
Is there a way to determine the current 'Repeat' mode via MCWS?

I think that I can set the mode via MCC command MCC_CONTINUOUS (??) - but can't see where to get it.
Title: Re: MCWS - Determine 'Repeat' mode
Post by: CommandFusion on September 25, 2012, 02:08:26 am
I'd also like to know how to determine the current repeat mode, as well as shuffle mode.

It seems this should be included in the Playback/Info call (along with the currently playing track info, etc), but it's not.
Title: Re: MCWS - Determine 'Repeat' mode
Post by: Matt on September 27, 2012, 03:29:33 pm
We'd be happy to add this to MC18.

Would this stuff be better in Playback/Info, or since you might want to set, as new calls like:
Playback/Shuffle
Playback/Repeat

Where it would work similar to:
Playback/Position
Title: Re: MCWS - Determine 'Repeat' mode
Post by: GrantDG on September 27, 2012, 06:11:10 pm
We'd be happy to add this to MC18.

Would this stuff be better in Playback/Info, or since you might want to set, as new calls like:
Playback/Shuffle
Playback/Repeat

Where it would work similar to:
Playback/Position

I think a separate call would suffice  - as Matt has suggested.

While you're at it - can something be added for "Stop After Current File" in a similar manner?
Title: Re: MCWS - Determine 'Repeat' mode
Post by: Matt on October 12, 2012, 10:04:25 am
In a coming build of MC18:
SDK: Added MCWS/v1/Playback/Repeat function to get or set the repeat state of the program.
SDK: Added MCWS/v1/Playback/Shuffle function to get or set the shuffle state of the program.

Title: Re: MCWS - Determine 'Repeat' mode
Post by: GrantDG on October 21, 2012, 05:28:30 pm
Is there any chance at all of "Stop After Current File"??
Title: Re: MCWS - Determine 'Repeat' mode
Post by: Matt on October 26, 2012, 11:15:12 am
Is there any chance at all of "Stop After Current File"??

Are you looking to query / set, or just a simple command to engage?

In other words, would something simple like this work:
MCWS/v1/Playback/Stop?Mode=AfterCurrentFile

Or do you need more flexibility?
Title: Re: MCWS - Determine 'Repeat' mode
Post by: GrantDG on October 26, 2012, 04:57:11 pm
Query & Set would be great - this helps to report the current stopping state (like in the main UI the Stop After Current File menu item is checked).