INTERACT FORUM

Please login or register.

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

Author Topic: avpman: Remote Control Delay in MC 11.1  (Read 1696 times)

avpman

  • Galactic Citizen
  • ****
  • Posts: 441
  • Dad to three beatuiful Boxers by rescue.
avpman: Remote Control Delay in MC 11.1
« on: January 02, 2006, 06:40:32 pm »


2. Changed: Added higher anti-repeat possibilities (1 second, 1.5 seconds, 2 seconds, 5 seconds) to the remote control options page.


The new anti-repeat values aren't calculating properly. For example, the 5000ms setting appears to generate only a .5 second delay, the 2000ms a .2 second delay, etcetra.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: avpman: Remote Control Delay in MC 11.1
« Reply #1 on: January 03, 2006, 09:02:50 am »

This seems to be working for me.  However, as a test, we'll add logging to the next build.

Search for "CRCPluginsMJ::TakeCommand" after you install the next build.  It'll show when a command comes in and whether MC processes it or ignores it.
Logged
Matt Ashland, JRiver Media Center

avpman

  • Galactic Citizen
  • ****
  • Posts: 441
  • Dad to three beatuiful Boxers by rescue.
Re: avpman: Remote Control Delay in MC 11.1
« Reply #2 on: January 03, 2006, 12:02:16 pm »

Thanks - will do. Just so I'm clear, if I set the delay to 5000 and hit the Play button on the remote, MC should accept the first Play command. If I subsequently hit Play before 5 seconds elapses, MC should ignore the command? Keeping in mind that the Play button toggles Play/Pause.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: avpman: Remote Control Delay in MC 11.1
« Reply #3 on: January 03, 2006, 12:13:12 pm »

That's right as long as you're using a remote control plugin inside MC. (some remotes don't use a plugin like the ATI, MCE, etc. remotes)
Logged
Matt Ashland, JRiver Media Center

avpman

  • Galactic Citizen
  • ****
  • Posts: 441
  • Dad to three beatuiful Boxers by rescue.
Re: avpman: Remote Control Delay in MC 11.1
« Reply #4 on: January 03, 2006, 12:32:19 pm »

That's right as long as you're using a remote control plugin inside MC. (some remotes don't use a plugin like the ATI, MCE, etc. remotes)

Yup, using the USB-Uirt device.
Logged

avpman

  • Galactic Citizen
  • ****
  • Posts: 441
  • Dad to three beatuiful Boxers by rescue.
Re: avpman: Remote Control Delay in MC 11.1
« Reply #5 on: January 03, 2006, 10:10:23 pm »

Below is a copy of the log file. I'm not sure how to read the "elapsed" time entries. But the Play command is being allowed to Play/Pause MC multiple times within the 5000ms (5 second) repeat time I've selected.

Hope this helps.
Jim

0000000: General: Starting logging: Date: 1/3/2006 11:04:56 PM
0000000: General: Log Reset: Logging reset
0007235: General: CRCPluginsMJ::TakeCommand: Start
0007235: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 181266, Anti-repeat: 5000, MCC: 10000
0007235: General: CRCPluginsMJ::TakeCommand: Accepted command... processing
0007250: General: CRCPluginsMJ::TakeCommand: Command sent
0007250: General: CRCPluginsMJ::TakeCommand: Finish (15 ms)
0007297: General: CRCPluginsMJ::TakeCommand: Start
0007297: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 62, Anti-repeat: 5000, MCC: 10000
0007297: General: CRCPluginsMJ::TakeCommand: Command rejected
0007297: General: CRCPluginsMJ::TakeCommand: Finish (0 ms)
0007360: General: CRCPluginsMJ::TakeCommand: Start
0007360: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 63, Anti-repeat: 5000, MCC: 10000
0007360: General: CRCPluginsMJ::TakeCommand: Command rejected
0007360: General: CRCPluginsMJ::TakeCommand: Finish (0 ms)
0007406: General: CRCPluginsMJ::TakeCommand: Start
0007406: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 46, Anti-repeat: 5000, MCC: 10000
0007406: General: CRCPluginsMJ::TakeCommand: Accepted command... processing
0007438: General: CRCPluginsMJ::TakeCommand: Command sent
0007438: General: CRCPluginsMJ::TakeCommand: Finish (32 ms)
0007485: General: CRCPluginsMJ::TakeCommand: Start
0007485: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 79, Anti-repeat: 5000, MCC: 10000
0007485: General: CRCPluginsMJ::TakeCommand: Command rejected
0007485: General: CRCPluginsMJ::TakeCommand: Finish (0 ms)
0007531: General: CRCPluginsMJ::TakeCommand: Start
0007547: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 46, Anti-repeat: 5000, MCC: 10000
0007547: General: CRCPluginsMJ::TakeCommand: Command rejected
0007547: General: CRCPluginsMJ::TakeCommand: Finish (16 ms)
0007594: General: CRCPluginsMJ::TakeCommand: Start
0007594: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 63, Anti-repeat: 5000, MCC: 10000
0007594: General: CRCPluginsMJ::TakeCommand: Accepted command... processing
0007610: General: CRCPluginsMJ::TakeCommand: Command sent
0007610: General: CRCPluginsMJ::TakeCommand: Finish (16 ms)
0009453: General: CRCPluginsMJ::TakeCommand: Start
0009469: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 1859, Anti-repeat: 5000, MCC: 10000
0009469: General: CRCPluginsMJ::TakeCommand: Command rejected
0009469: General: CRCPluginsMJ::TakeCommand: Finish (16 ms)
0009516: General: CRCPluginsMJ::TakeCommand: Start
0009516: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 63, Anti-repeat: 5000, MCC: 10000
0009516: General: CRCPluginsMJ::TakeCommand: Command rejected
0009516: General: CRCPluginsMJ::TakeCommand: Finish (0 ms)
0009563: General: CRCPluginsMJ::TakeCommand: Start
0009578: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 47, Anti-repeat: 5000, MCC: 10000
0009578: General: CRCPluginsMJ::TakeCommand: Accepted command... processing
0009594: General: CRCPluginsMJ::TakeCommand: Command sent
0009594: General: CRCPluginsMJ::TakeCommand: Finish (31 ms)
0009641: General: CRCPluginsMJ::TakeCommand: Start
0009641: General: CRCPluginsMJ::TakeCommand: Code: 1F0084A222EA, Elapsed: 78, Anti-repeat: 5000, MCC: 10000
0009641: General: CRCPluginsMJ::TakeCommand: Command rejected
0009641: General: CRCPluginsMJ::TakeCommand: Finish (0 ms)
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: avpman: Remote Control Delay in MC 11.1
« Reply #6 on: January 04, 2006, 09:27:18 am »

In the next build:
Changed: Revised anti-repeat logic for remote controls to ignore repeat count and only look at timing for most commands. (volume is different since it often gets held down)

Thanks.
Logged
Matt Ashland, JRiver Media Center

avpman

  • Galactic Citizen
  • ****
  • Posts: 441
  • Dad to three beatuiful Boxers by rescue.
Re: avpman: Remote Control Delay in MC 11.1
« Reply #7 on: January 06, 2006, 12:30:07 pm »

In the next build:
Changed: Revised anti-repeat logic for remote controls to ignore repeat count and only look at timing for most commands. (volume is different since it often gets held down)

Thanks.


Works like a charm! Now if I could only get a discrete key for "Pause" in addition to using the Play key to toggle the pause mode ;)
Logged
Pages: [1]   Go Up