Opened 14 years ago

Closed 14 years ago

#8751 closed defect (fixed)

MythWeb remote control seems not to transfer a 0 keypress

Reported by: Jonathan Martens <jonathan@…> Owned by: Rob Smith
Priority: minor Milestone: 0.24
Component: Plugin - MythWeb Version: 0.23-fixes
Severity: medium Keywords:
Cc: Rob Smith Ticket locked: no

Description

Since I am unable to conclude if this is an issue against mythweb or mythfrontend I therefore have chosen MythTV - General, if that is wrong feel free to re-assign it to the proper component.

If I try to enter a 0 (zero) through MythWeb remote while trying to adjust my transcoding profiles it seems that the 0 (zero) is not transferred in the network protocol to the frontend:

Below a snippet from the log mythfrontend -v "network" log (if you need more extensive logs please let me know), where I removed the current value with backspace and tried to dial in 720 after that, the screen however only shows 72:

2010-08-09 09:36:26.527 NetworkControl: New connection established.
2010-08-09 09:36:26.527 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:36:26.528 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:36:26.528 NetworkControl: emit commandReceived(query location)
2010-08-09 09:36:26.528 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:36:26.529 NetworkControl: emit commandReceived(key backspace)
2010-08-09 09:36:26.529 NetworkControl: NetworkControl::receiveCommand(key backspace)
2010-08-09 09:36:26.532 NetworkControl: emit commandReceived(exit)
2010-08-09 09:36:26.532 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:36:26.532 NetworkControl: Client Socket disconnected
2010-08-09 09:36:26.532 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:36:26.533 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:36:28.922 NetworkControl: New connection established.
2010-08-09 09:36:28.922 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:36:28.923 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:36:28.923 NetworkControl: emit commandReceived(query location)
2010-08-09 09:36:28.924 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:36:28.924 NetworkControl: emit commandReceived(key 7)
2010-08-09 09:36:28.924 NetworkControl: NetworkControl::receiveCommand(key 7)
2010-08-09 09:36:28.927 NetworkControl: emit commandReceived(exit)
2010-08-09 09:36:28.927 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:36:28.927 NetworkControl: Client Socket disconnected
2010-08-09 09:36:28.927 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:36:28.928 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:36:29.461 NetworkControl: New connection established.
2010-08-09 09:36:29.461 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:36:29.462 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:36:29.462 NetworkControl: emit commandReceived(query location)
2010-08-09 09:36:29.462 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:36:29.463 NetworkControl: emit commandReceived(key 2)
2010-08-09 09:36:29.463 NetworkControl: NetworkControl::receiveCommand(key 2)
2010-08-09 09:36:29.466 NetworkControl: emit commandReceived(exit)
2010-08-09 09:36:29.466 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:36:29.466 NetworkControl: Client Socket disconnected
2010-08-09 09:36:29.466 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:36:29.467 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:36:30.252 NetworkControl: New connection established.
2010-08-09 09:36:30.252 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:36:30.253 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:36:30.254 NetworkControl: emit commandReceived(query location)
2010-08-09 09:36:30.254 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:36:30.281 NetworkControl: emit commandReceived(exit)
2010-08-09 09:36:30.281 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:36:30.281 NetworkControl: Client Socket disconnected
2010-08-09 09:36:30.281 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:36:30.282 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:36:33.576 NetworkControl: New connection established.
2010-08-09 09:36:33.577 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:36:33.577 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:36:33.578 NetworkControl: emit commandReceived(query location)
2010-08-09 09:36:33.578 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:36:33.606 NetworkControl: emit commandReceived(exit)
2010-08-09 09:36:33.606 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:36:33.606 NetworkControl: Client Socket disconnected
2010-08-09 09:36:33.606 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:36:33.607 MythSocket(1cc34320:26): read  <- 26 2       OK

All other digits seem to be transferred properly:

2010-08-09 09:41:30.979 NetworkControl: New connection established.
2010-08-09 09:41:30.979 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:30.980 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:30.980 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:30.980 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:30.981 NetworkControl: emit commandReceived(key 1)
2010-08-09 09:41:30.981 NetworkControl: NetworkControl::receiveCommand(key 1)
2010-08-09 09:41:31.051 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:31.051 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:31.052 NetworkControl: Client Socket disconnected
2010-08-09 09:41:31.052 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:31.056 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:31.486 NetworkControl: New connection established.
2010-08-09 09:41:31.487 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:31.487 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:31.488 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:31.488 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:31.488 NetworkControl: emit commandReceived(key 2)
2010-08-09 09:41:31.488 NetworkControl: NetworkControl::receiveCommand(key 2)
2010-08-09 09:41:31.491 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:31.491 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:31.491 NetworkControl: Client Socket disconnected
2010-08-09 09:41:31.491 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:31.492 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:32.040 NetworkControl: New connection established.
2010-08-09 09:41:32.040 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:32.040 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:32.041 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:32.041 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:32.041 NetworkControl: emit commandReceived(key 3)
2010-08-09 09:41:32.041 NetworkControl: NetworkControl::receiveCommand(key 3)
2010-08-09 09:41:32.044 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:32.044 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:32.044 NetworkControl: Client Socket disconnected
2010-08-09 09:41:32.044 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:32.047 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:32.514 NetworkControl: New connection established.
2010-08-09 09:41:32.515 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:32.515 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:32.516 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:32.516 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:32.516 NetworkControl: emit commandReceived(key 4)
2010-08-09 09:41:32.516 NetworkControl: NetworkControl::receiveCommand(key 4)
2010-08-09 09:41:32.519 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:32.519 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:32.519 NetworkControl: Client Socket disconnected
2010-08-09 09:41:32.519 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:32.520 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:32.918 NetworkControl: New connection established.
2010-08-09 09:41:32.918 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:32.919 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:32.919 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:32.919 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:32.920 NetworkControl: emit commandReceived(key 5)
2010-08-09 09:41:32.920 NetworkControl: NetworkControl::receiveCommand(key 5)
2010-08-09 09:41:32.922 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:32.922 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:32.923 NetworkControl: Client Socket disconnected
2010-08-09 09:41:32.923 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:32.923 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:33.253 NetworkControl: New connection established.
2010-08-09 09:41:33.253 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:33.254 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:33.254 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:33.254 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:33.255 NetworkControl: emit commandReceived(key 6)
2010-08-09 09:41:33.255 NetworkControl: NetworkControl::receiveCommand(key 6)
2010-08-09 09:41:33.257 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:33.257 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:33.258 NetworkControl: Client Socket disconnected
2010-08-09 09:41:33.258 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:33.258 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:33.583 NetworkControl: New connection established.
2010-08-09 09:41:33.583 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:33.584 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:33.585 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:33.585 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:33.585 NetworkControl: emit commandReceived(key 7)
2010-08-09 09:41:33.586 NetworkControl: NetworkControl::receiveCommand(key 7)
2010-08-09 09:41:33.588 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:33.588 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:33.589 NetworkControl: Client Socket disconnected
2010-08-09 09:41:33.589 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:33.589 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:33.867 NetworkControl: New connection established.
2010-08-09 09:41:33.867 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:33.867 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:33.868 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:33.868 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:33.868 NetworkControl: emit commandReceived(key 8)
2010-08-09 09:41:33.868 NetworkControl: NetworkControl::receiveCommand(key 8)
2010-08-09 09:41:33.871 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:33.871 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:33.871 NetworkControl: Client Socket disconnected
2010-08-09 09:41:33.871 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:33.872 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:34.163 NetworkControl: New connection established.
2010-08-09 09:41:34.164 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:34.164 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:34.165 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:34.165 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:34.165 NetworkControl: emit commandReceived(key 9)
2010-08-09 09:41:34.165 NetworkControl: NetworkControl::receiveCommand(key 9)
2010-08-09 09:41:34.167 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:34.168 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:34.168 NetworkControl: Client Socket disconnected
2010-08-09 09:41:34.168 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:34.168 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:34.434 NetworkControl: New connection established.
2010-08-09 09:41:34.434 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:41:34.435 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:41:34.435 NetworkControl: emit commandReceived(query location)
2010-08-09 09:41:34.435 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:41:34.463 NetworkControl: emit commandReceived(exit)
2010-08-09 09:41:34.464 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:41:34.464 NetworkControl: Client Socket disconnected
2010-08-09 09:41:34.464 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:41:34.464 MythSocket(1cc34320:26): read  <- 26 2       OK

The zero key wil not be transferred, it makes no difference if I use interactive mode and press the zero on my keyboard or if I click on the 0 in the mythweb interface using my mouse.

The value for Shift+zero (a round closing bracket) is send OK however:

2010-08-09 09:50:03.194 NetworkControl: New connection established.
2010-08-09 09:50:03.194 MythSocket(1cc34320:26): write -> 26 68      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_CONNECTED SENDER mythtv.snetram.nl
2010-08-09 09:50:03.194 MythSocket(1cc34320:26): read  <- 26 2       OK
2010-08-09 09:50:03.195 NetworkControl: emit commandReceived(query location)
2010-08-09 09:50:03.195 NetworkControl: NetworkControl::receiveCommand(query location)
2010-08-09 09:50:03.196 NetworkControl: emit commandReceived(key ))
2010-08-09 09:50:03.196 NetworkControl: NetworkControl::receiveCommand(key ))
2010-08-09 09:50:03.198 NetworkControl: emit commandReceived(exit)
2010-08-09 09:50:03.198 NetworkControl: NetworkControl::receiveCommand(exit)
2010-08-09 09:50:03.198 NetworkControl: Client Socket disconnected
2010-08-09 09:50:03.198 MythSocket(1cc34320:26): write -> 26 71      MESSAGE[]:[]SYSTEM_EVENT NET_CTRL_DISCONNECTED SENDER mythtv.snet...
2010-08-09 09:50:03.199 MythSocket(1cc34320:26): read  <- 26 2       OK

Could it be that the zero value send to the send_keys function is not evaluated properly in that function and seen as an empty value instead of '0'?

I am running latest 0.23-fixes from ATrpms:

[mythtv@mythtv ~]$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version   : 25469
MythTV Branch    : branches/release-0-23-fixes/mythtv/
Network Protocol : 23056
Library API      : 0.23.1.201000710-1
QT Version       : 4.4.3
Options compiled in:
 linux release using_oss using_alsa using_jack using_backend using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg
[mythtv@mythtv ~]$ 
[mythtv@mythtv ~]$ mythfrontend --version
Please attach all output as a file in bug reports.
MythTV Version   : 25469
MythTV Branch    : branches/release-0-23-fixes/mythtv/
Network Protocol : 23056
Library API      : 0.23.1.201000710-1
QT Version       : 4.4.3
Options compiled in:
 linux release using_oss using_alsa using_jack using_backend using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg
[mythtv@mythtv ~]$

Change History (4)

comment:1 Changed 14 years ago by robertm

Owner: set to sphery
Status: newassigned

comment:2 Changed 14 years ago by Rob Smith

Cc: Rob Smith added

comment:3 Changed 14 years ago by Rob Smith

Component: MythTV - GeneralPlugin - MythWeb
Milestone: unknown0.24
Owner: changed from sphery to Rob Smith
Status: assignedaccepted

comment:4 Changed 14 years ago by Rob Smith

Resolution: fixed
Status: acceptedclosed

(In [26222]) Fixes #8751, stop eating commands that happen to map to false

Note: See TracTickets for help on using tickets.