INTERACT FORUM

Please login or register.

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

Author Topic: MCWS - Determine 'Repeat' mode  (Read 2636 times)

GrantDG

  • World Citizen
  • ***
  • Posts: 199
MCWS - Determine 'Repeat' mode
« 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.
Logged
Looking to control J River Media Center from your Windows Phone?: Look for nMedium & nMedium Play in the WP store

CommandFusion

  • Member
  • *
  • Posts: 3
Re: MCWS - Determine 'Repeat' mode
« Reply #1 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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: MCWS - Determine 'Repeat' mode
« Reply #2 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
Logged
Matt Ashland, JRiver Media Center

GrantDG

  • World Citizen
  • ***
  • Posts: 199
Re: MCWS - Determine 'Repeat' mode
« Reply #3 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?
Logged
Looking to control J River Media Center from your Windows Phone?: Look for nMedium & nMedium Play in the WP store

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: MCWS - Determine 'Repeat' mode
« Reply #4 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.

Logged
Matt Ashland, JRiver Media Center

GrantDG

  • World Citizen
  • ***
  • Posts: 199
Re: MCWS - Determine 'Repeat' mode
« Reply #5 on: October 21, 2012, 05:28:30 pm »

Is there any chance at all of "Stop After Current File"??
Logged
Looking to control J River Media Center from your Windows Phone?: Look for nMedium & nMedium Play in the WP store

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: MCWS - Determine 'Repeat' mode
« Reply #6 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?
Logged
Matt Ashland, JRiver Media Center

GrantDG

  • World Citizen
  • ***
  • Posts: 199
Re: MCWS - Determine 'Repeat' mode
« Reply #7 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).
Logged
Looking to control J River Media Center from your Windows Phone?: Look for nMedium & nMedium Play in the WP store
Pages: [1]   Go Up