[mythtv-commits] Ticket #12738: Mythfrontend Service API SendAction not working

MythTV noreply at mythtv.org
Thu Apr 13 14:18:12 UTC 2017


#12738: Mythfrontend Service API SendAction not working
----------------------------------------------+--------------------------
 Reporter:  paul@…                            |          Owner:  bmeek
     Type:  Bug Report - General              |         Status:  assigned
 Priority:  minor                             |      Milestone:  unknown
Component:  MythTV - Services API - Frontend  |        Version:  0.28.0
 Severity:  medium                            |     Resolution:
 Keywords:                                    |  Ticket locked:  0
----------------------------------------------+--------------------------

Comment (by rsiddons):

 Doh! I'd missed that !SendAction is explicitly setting the key code to 0.

 So the issue is !SendAction was sending an "Unknown Key" but Stuart found
 real unknown keys, which could also be 0.

 The negative thing makes me uneasy. Qt defines key codes as bit patterns.
 We shouldn't be assuming how they are interpreted as some platforms may
 differ. However I don't think that's relevant here.

 Maybe testing for ke->text().startsWith("ACTION_") would be a better way
 of distinguishing !SendAction unknowns from real unknowns. Looks to me
 like that would cover all the !SendAction events.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12738#comment:13>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list