Opened 14 years ago
Closed 14 years ago
#7716 closed patch (fixed)
NetworkControl play program hangs client if location != playbackbox
Reported by: | Owned by: | cpinkham | |
---|---|---|---|
Priority: | minor | Milestone: | 0.23 |
Component: | MythTV - General | Version: | head |
Severity: | medium | Keywords: | telnet network control |
Cc: | Ticket locked: | no |
Description
If the current location is not playbackbox when a 'play program' network control command is received, the frontend goes to playbackbox and then posts the NETWORK_CONTROL PLAY event. Entering playbackbox takes time and it's event handler is not registered when the event is posted. Therefore no result is ever returned to the client, which hangs.
Patch adds a sleep before the event is posted in an attempt to ensure that playbackbox's event handler is registered before the event is sent.
Attachments (2)
Change History (6)
Changed 14 years ago by
Attachment: | netcontrol_play_event.patch added |
---|
comment:1 Changed 14 years ago by
Milestone: | → 0.23 |
---|---|
Owner: | changed from Isaac Richards to cpinkham |
Status: | new → assigned |
Type: | defect → patch |
Changed 14 years ago by
Attachment: | 7716_v1.diff added |
---|
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
(In [23381]) Add a flag and corresponding get method which can be used to determine when a MythScreenType? has finished running Init().
This is used as part of the patch for #7716 since we can now verify that the Watch Recordings screen has loaded before trying to play a recording.
References #7716.
I attached a more generic patch that can be used elsewhere for checking whether a new screen has been fully initialized.