﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
7043	fix to deal with new firewire behavior of video-switching cable boxes	Martin Purschke	Isaac Richards	"Cablevision on Long Island switched a number of channels to ""switched-video"", meaning that the (SA4250HD) cablebox talks to some upstream server to request that particular video stream, rather than just picking from streams that arrive all the time. 

The actual channel change takes effect a long time after we are done with the change command, and we are losing lock on the firewire stream at this point. The end result is a recording of a few seconds, a few hundred KB; the recording stops after that. From that point on, the firewire is blocked and we need a restart of the backend to get back to normal.

I envision a per-channel setting for an adjustable delay to wait with the onset of the actual recording until after the channel switching is done. This will take some work with an additional column in the channel table and a new GUI to set this. The attached interim patch adds a hard-coded global 15s delay to wait out the channel change. This is for users who are desperate because their recordings routinely fail. The patch will work in .21 versions, too.

mythfrontend --version
Please include all output in bug reports.
MythTV Version   : 21818
MythTV Branch    : trunk
Network Protocol : 48
Library API      : 0.22.20090912-1
QT Version       : 4.4.2
Options compiled in:
 linux release using_oss using_alsa using_arts using_backend using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_ffmpeg_threads using_libavc_5_3 using_live using_mheg
"	patch	closed	minor	unknown	MythTV - Recording	head	medium	wontfix	firewire cable-box		0
