﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
9369	Error while tuning: timeout after 7000 ms	vezza@…		"See also ticket #8137:

Sorry if I reopen this bug but I can't understand why It has been closed to wontfix... the correction suggested by Alberto Mattea works for me either, please consider to fix this bug, thanks.

Andrea Vezzali

Bug and fix description:
On slow tuners/drivers, tuning can take more than 7000 ms (kMythSocketShortTimeout). Currently this makes mythfrontend hang. In the logs it is written: MythSocket?(887ddd8:40): readStringList: Error, timed out after 7000 ms. I've experienced this, for example, while switching from DVB-T to DVB-S with a Hauppauge HVR-4000. The quick solution is to raise the value of kMythSocketShortTimeout in mythtv/libs/libmythdb/mythsocket_cb.h (17000 ms worked for me), but it would be best to make it an option in mythtv-setup. This bug applies to all version I tested, up to current trunk. I'm attaching a very simple patch that raises the timeout to 20000 ms. 
"	Bug Report	closed	minor	0.24.1	MythTV - General	0.24	medium	Invalid			1
