Opened 13 years ago

Closed 12 years ago

#5541 closed defect (worksforme)

Network Control has lost the ability to play or resume recordings

Reported by: grhowes@… Owned by: danielk
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords: network control
Cc: Ticket locked: no


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.

Attachments (1)

playbackbox.diff (814 bytes) - added by grhowes@… 13 years ago.
patch to playbackbox.cpp

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by grhowes@…

Attachment: playbackbox.diff added

patch to playbackbox.cpp

comment:1 Changed 13 years ago by stuartm

Milestone: unknown0.22

comment:2 Changed 12 years ago by danielk

Owner: changed from Isaac Richards to danielk
Priority: majorminor
Status: newassigned

comment:3 Changed 12 years ago by danielk

Resolution: worksforme
Status: assignedclosed

This works here..

Note: See TracTickets for help on using tickets.