Modify

Ticket #5870 (closed patch: wontfix)

Opened 4 years ago

Last modified 3 years ago

Channel Change Script Timeout Patch

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

Description

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

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

Change History

Changed 4 years ago by doug@…

Patch

comment:1 Changed 4 years ago by eric.bosch@…

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

comment:2 Changed 3 years ago by danielk

  • Status changed from new to closed
  • Resolution set to wontfix

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.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.