Opened 13 years ago

Closed 13 years ago

#5870 closed patch (wontfix)

Channel Change Script Timeout Patch

Reported by: doug@… Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


Hi All,

I was having a problem where my channel change script was sometimes taking longer than 30 seconds (firewire resync issues) and so some recordings would get missed. This could have been avoided if I had a way to increase the channel change timeout to something greater than 30 seconds.

Attached is a simple patch to move this timeout from the code to the database. It still defaults to 30 seconds so users won't notice a difference but makes it easier to increase (or decrease) the timeout if necessary.

I wasn't sure how to add the default value to the db so I added it to the end of dbcheck.cpp.

Any feedback would be much appreciated!

Thanks, Doug

Attachments (1)

channeltimeout.diff (1.4 KB) - added by doug@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by doug@…

Attachment: channeltimeout.diff added


comment:1 Changed 13 years ago by…

I like this setting being made available, as I have experienced the same issue.

comment:2 Changed 13 years ago by danielk

Resolution: wontfix
Status: newclosed

Increasing this timeout ripples through to other timeouts in the code, especially in LiveTV mode, just make your channel change script run in the background and you won't have this issue.

Note: See TracTickets for help on using tickets.