INTERACT FORUM

Networks and Remotes => Media Network => Topic started by: NickF on January 25, 2012, 09:11:14 am

Title: Media Center Core Commands - Confused Play and Pause Commands
Post by: NickF 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.
Title: Re: Media Center Core Commands - Confused Play and Pause Commands
Post by: MrC on January 25, 2012, 11:37:58 am
MCC 10022,-1  toggles
MCC 10022,0  pause off
MCC 10022,1 pause on
Title: Re: Media Center Core Commands - Confused Play and Pause Commands
Post by: NickF 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.
Title: Re: Media Center Core Commands - Confused Play and Pause Commands
Post by: MrC 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.
Title: Re: Media Center Core Commands - Confused Play and Pause Commands
Post by: MrC 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.