Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#6556 closed defect (fixed)

mythbackend HTTP status not accounting for RecordPreRoll/RecordOverTime

Reported by: david.ward@… Owned by: Isaac Richards
Priority: trivial Milestone: 0.22
Component: MythTV - General Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The mythbackend HTTP status information can be misleading, because it does not account for RecordPreRoll? or RecordOverTime? (see end of description if this is unclear). Specifically, the message displayed in the 'Encoder status' section is problematic:

"Encoder 1 is local on server and is recording: 'Star Trek: The Enemy Within' on TVLAND. This recording will end at 7:00 AM."

However, suppose that RecordOverTime? is set to 300 seconds (or 5 minutes). If no recordings are scheduled at 7:00 AM, and the HTTP status page is accessed at 7:02 AM, the encoder status message above will still be displayed -- which says that it is still recording (which is correct), but that the recording "will end" two minutes ago.

Perhaps a simple fix is to replace the text "This recording will end at 7:00 AM", with "This program ends at 7:00 AM". Then the message is no longer incorrect -- although it may not be obvious why it is still recording.

It may also be desired to further improve the overall display of information on this page to reflect RecordPreRoll? and RecordOverTime?, but those changes are probably more subject to opinion (should the program times be shown, or the recording times?)

I am using MythTV 0.21 revision 20567.

(The HTTP status information I am referring to can be accessed through a web browser on port 6544 by default, or via the Mythweb plugin. The RecordPreRoll? and RecordOverTime? settings allow MythTV to start a recording early or end a recording late, if no other program is scheduled to record before or after, respectively. This helps for TV networks that do not air programs at an accurate time. These values can be set through mythfrontend in 'Utilities / Setup' > 'Setup' > 'TV Settings' > 'General' > page 4, first two settings.)

Change History (2)

comment:1 Changed 10 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [21421]) Clarify the recording status message in mythbackend's HTTP status webpage by indicating that a recording "is scheduled to end" or "was scheduled to end" instead of always saying "will end" at a certain time.

Closes #6556. If someone desires this status page to take into account the RecordOverTime? and RecordPreRoll?, they'll have to submit a patch to accomplish this. We don't really know when the recording will end if RecordOverTime? is set, the recording may record the overtime or it may get preempted by another recording starting.

comment:2 Changed 10 years ago by stuartm

Milestone: unknown0.22
Note: See TracTickets for help on using tickets.