INTERACT FORUM

Please login or register.

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

Author Topic: Media Center Core Commands - Confused Play and Pause Commands  (Read 1536 times)

NickF

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 860
Media Center Core Commands - Confused Play and Pause Commands
« on: January 25, 2012, 09:11:14 am »

I have been doing some fine tuning of my iPad browser based remote and need discrete commands for Play and for Pause.  I looked in the Media Center Core Commands page on the wiki which shows code 10001 - MCC_PLAY which I assumed to be a discrete Play command but it behaves as a Play/Pause command.  So, if that's the case, what is code 10000 - MCC_PLAY_PAUSE for?   Then there is  code 10022 - MCC_SET_PAUSE which Matt has said is a discrete Pause command but it doesn't appear to do anything.  So what is the story here?  Can 10001 be corrected to do what its title says and why doesn't 10022 work?

Nick.
Logged
HTPC - Intel i5-760 CPU, Windows 7 64 bit, NVIDIA GTS450 Silent, RME 9632 with A04, BlackGold BGT3600; Video Processor - Lumagen Radiance XD Processor; Projector - ProjectionDesign Action Model 3 1080; Denon AVC-A1HD; 4 x Tannoy Berkley and Velodyne DD-10

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Media Center Core Commands - Confused Play and Pause Commands
« Reply #1 on: January 25, 2012, 11:37:58 am »

MCC 10022,-1  toggles
MCC 10022,0  pause off
MCC 10022,1 pause on
Logged
The opinions I express represent my own folly.

NickF

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 860
Re: Media Center Core Commands - Confused Play and Pause Commands
« Reply #2 on: January 25, 2012, 12:44:14 pm »

MCC 10022,-1  toggles
MCC 10022,0  pause off
MCC 10022,1 pause on

Thanks MrC, I had tried with parameters of -1 and 0 but not 1!  So Pause now works fine but what about Play?  Why has this been designed to behave as Play/Pause?

Nick.
Logged
HTPC - Intel i5-760 CPU, Windows 7 64 bit, NVIDIA GTS450 Silent, RME 9632 with A04, BlackGold BGT3600; Video Processor - Lumagen Radiance XD Processor; Projector - ProjectionDesign Action Model 3 1080; Denon AVC-A1HD; 4 x Tannoy Berkley and Velodyne DD-10

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Media Center Core Commands - Confused Play and Pause Commands
« Reply #3 on: January 25, 2012, 12:53:47 pm »

Dunno.  I suppose some of this stuff is legacy.  I documented based upon what was in the source code file Matt sent me, so Matt will have to comment for further clarification.
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: Media Center Core Commands - Confused Play and Pause Commands
« Reply #4 on: January 25, 2012, 12:55:59 pm »

@matt - if you read this, can you send me your latest MCCommands.h?  I think the wiki is up to date, but I'd like to run a diff against the last version you sent back in July.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up