Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#12374 closed Patch - Bug Fix (fixed)

PATCH: Log external channel change script failure as an error

Reported by: Karl Newman <SiliconFiend@…> Owned by: JYA
Priority: minor Milestone: 0.28
Component: MythTV - Recording Version: 0.27.4
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I recently encountered a situation where a perl upgrade broke my channel change script. However, since the failure of the script was not logged as an error at the general level I thought the problem was with my old tuner. Since a channel change failure results in a recording failure (0 byte file), the specific cause should be indicated as an error in the log. The attached patch maintains a successful channel change as an Info in the Channel log group but a failure is promoted as an Error in the General log group.

Attachments (1)

ChannelChangeError.patch (1.0 KB) - added by Karl Newman <SiliconFiend@…> 5 years ago.
Patch to log external channel change script failure as an error

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Karl Newman <SiliconFiend@…>

Attachment: ChannelChangeError.patch added

Patch to log external channel change script failure as an error

comment:1 Changed 5 years ago by Karl Dietz <dekarl@…>

Resolution: fixed
Status: newclosed

In d8e11b227ec494a29a4a7831ad0e1787bec4e9f9/mythtv:

Log external channel change script failure as an error

Patch by Karl Newman

Fixes #12374

comment:2 Changed 4 years ago by Karl Egly

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