Opened 18 years ago
Closed 17 years ago
#5541 closed defect (worksforme)
Network Control has lost the ability to play or resume recordings
| Reported by: | Owned by: | danielk | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.22 |
| Component: | mythtv | Version: | head |
| Severity: | medium | Keywords: | network control |
| Cc: | Ticket locked: | no |
Description
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)
Change History (4)
by , 18 years ago
| Attachment: | playbackbox.diff added |
|---|
comment:1 by , 18 years ago
| Milestone: | unknown → 0.22 |
|---|
comment:2 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Priority: | major → minor |
| Status: | new → assigned |

patch to playbackbox.cpp