INTERACT FORUM

Please login or register.

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

Author Topic: MCWS - MCC_CONTINUOUS - stop after each item  (Read 2106 times)

CommandFusion

  • Member
  • *
  • Posts: 3
MCWS - MCC_CONTINUOUS - stop after each item
« on: September 25, 2012, 02:12:39 am »

Just thought I would share that using MCC_CONTINUOUS with a parameter of 4 will set the repeat mode to 'Stop After Each Item'.
The docs in the wiki don't mention 4 as being an option (and I couldn't register on the wiki to update this - its admin only - so can an admin please update this small detail?).

Hopefully this helps anyone searching the forum for how to achieve this repeat mode.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: MCWS - MCC_CONTINUOUS - stop after each item
« Reply #1 on: September 25, 2012, 03:05:22 am »

I'll add it in the morning.
Logged
The opinions I express represent my own folly.

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: MCWS - MCC_CONTINUOUS - stop after each item
« Reply #2 on: September 25, 2012, 03:33:18 pm »

@Matt - do you have a new mcccommands.h so I can confirm this, and other changes?
Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: MCWS - MCC_CONTINUOUS - stop after each item
« Reply #3 on: September 25, 2012, 05:08:54 pm »

Thanks MrC.

I just uploaded the latest MCCommands.h here:
http://www.jriver.com/DevZone/MCCommands.h
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: MCWS - MCC_CONTINUOUS - stop after each item
« Reply #4 on: September 25, 2012, 09:46:57 pm »

Ok, Updated.

@Matt, in MCCommands.h...

the following line is missing the closing bracket ] :

    MCC_LOCATE_FILE,                               // [int nLocation (-1: on disk (internal); -2: on disk (external); 0-n: library field index)

and the following line :

    MCC_CONTINUOUS,                               // [0: toggle continuous; 1: off; 2: playlist; 3: song]

should include a mode 4:

    MCC_CONTINUOUS,                               // [0: toggle continuous; 1: off; 2: playlist; 3: song; 4: stop after each]

The EPlaybackVolumeModes enumeration in the define:

    MCC_SET_VOLUME_MODE,                           // [int value from EPlaybackVolumeModes enumeration]

is not in this header file, so I left the older header comment:

   Set volume mode (0=application, 1=internal, 2=system, 3=disabled)

which may not be accurate anymore.
Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: MCWS - MCC_CONTINUOUS - stop after each item
« Reply #5 on: September 26, 2012, 03:23:39 pm »

Thanks MrC.  I made those corrections and uploaded a new one:
http://www.jriver.com/DevZone/MCCommands.h
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up