[mythtv-commits] Ticket #5541: Network Control has lost the ability to play or resume recordings
MythTV
mythtv at cvs.mythtv.org
Sun Jul 13 02:43:11 UTC 2008
#5541: Network Control has lost the ability to play or resume recordings
-----------------------------+----------------------------------------------
Reporter: grhowes at mac.com | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Mlocked: 0
-----------------------------+----------------------------------------------
If you open a telnet connection to the remote control interface you should
be able to execute a command like: "play program 1022 2007-09-30T20:00:00
resume" which will cause the frontend to jump to the playback box and play
specified program, and will cause the telnet to output "OK" followed by a
return and the "#" prompt.
What happens right now in the development branch is that executing the
command will cause the playback box to appear, but the program does not
get played and the "OK" or the "#" does not get printed out.
I've tracked this down to the fake keypress being executed in
playbackbox.cpp, I'm guessing that QT4 does not send the
Qt::MouseButtonMask | Qt::KeyButtonMask fake button through unmodified as
QT3.3 did. Someone with more experience with QT4 should look at this, but
in the meantime, I've submitted a patch which just relies on the
Qt::Key_LaunchMedia key and the presence of network control commands to
identify a fake key event. This should probably be cleaned up to not use
fake events.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5541>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list