LinuxMCE Forums

Archive => Archive => Pluto Main Installation & IR codes => Topic started by: archived on October 30, 2006, 07:28:44 pm

Title: MythTV not responding to Remote Control Buttons(resolved)
Post by: archived on October 30, 2006, 07:28:44 pm
The problem is that number buttons are not handled while watching TV, and with the newest upgrade the numbers are not handled in the guide as well, which meant my wife had to scroll through the channels 1 at a time.  As you can imagine, I was not thought of highly.  

This problem started with the previous version, but actually got worse with the new version.   I actually posted a report on Mantis
http://plutohome.com/support/mantis/view.php?id=2731 as per a discussion on the forums.
http://plutohome.com/support/phpbb2/viewtopic.php?t=862&highlight=

I have been under attack from my wife, and as a result I went looking for a way to fix this problem.  After some considerable time and effort, I have finally figured out how to fix the problem.  I do not know if this is the correct way to fix this issue, but it works without causing any additional problems that I can tell.

I am using phpmyadmin to make to following changes.

The way to fix this issue is to modify the follow pluto_main.RemoteMapping table:

The following entry needs to be modified.  

Code: [Select]
Navigable OSD on m/d

THe Mapping Feild needs to be modified to include the following:

Code: [Select]
Down;|0 -106 1 201
Up;|0 -106 1 200
Left;|0 -106 1 202
Right;|0 -106 1 203
ok;OK;|0 -106 1 190
recorded_tv;RecTV;|0 -106 1 548 9 old_recordings
display;info;list;Info;|0 -106 1 123
1;One;|0 -106 1 205
2;Two;|0 -106 1 206
3;Three;|0 -106 1 207
4;Four;|0 -106 1 208
5;Five;|0 -106 1 209
6;Six;|0 -106 1 210
7;Seven;|0 -106 1 211
8;Eight;|0 -106 1 212
9;Nine;|0 -106 1 213
0;Zero;|0 -106 1 204
Back;Exit;|0 -106 1 240


That is the entire field I have in Mapping Field.

The important parts of the following entries are:
-106 refers to the media plugin
the last set of digits refers to the command that is actually sent to MythTV.   These can be found in the source code.  There are several additional ones list with in the code, but these are the ones that got me out of the hot seat.  

Please take a look at the following for more specific information.
http://plutohome.com/wiki/index.php/Control_Pluto_using_an_Infrared_remote

Like I said this fixed the problem for me, but I do not know if this is the correct way of handling the problem.  I would like to hear from one of the Pluto guys about if this is the proper way of handling the remote presses while in MythTV

Thanks,
Rob