New version of the patch with some variable names corrections and some functions moved to DTVRecorder.
HTML preview not available, since no preview renderer could handle it. Try downloading the file instead.