On 8/18/07, <b class="gmail_sendername">Jeff Bevis</b> &lt;<a href="mailto:digijock223@yahoo.com">digijock223@yahoo.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ryan, here is the script info that I used...&nbsp;&nbsp;(You don&#39;t need to put it<br>in /etc/rc.d, that was an arbitrary choice of location.&nbsp;&nbsp;)<br></blockquote></div>&lt;snip/&gt;<br><br><br>The script to restart the backend is all well and good, but only solves part of the problem from my point of view.&nbsp; On my box the backend can be still running and it decides not to lock onto a channel even though signal is strong.&nbsp; In liveTV it just vgives you the option to wait longer, etc. but when it is meant to be recording it just doesn&#39;t record anything, creates a 0 byte file which then the frontend is not able to find.&nbsp; Restarting the backend in these cases solves the problem, it will lock on the channel right away, but the cron script won&#39;t help, because the backend is technically running.
<br><br>My logs when this happens look something like:<br><br>=======<br>2007-08-17 20:21:38.440 EITScanner: Now looking for EIT data on multiplex of channel 701<br>QDateTime::fromString: Parameter out of range<br>QSocketDevice::writeBlock: Invalid socket
<br>QDateTime::fromString: Parameter out of range<br>QSocketDevice::writeBlock: Invalid socket<br>2007-08-17 20:26:50.015 EITScanner: Now looking for EIT data on multiplex of channel 11<br>QDateTime::fromString: Parameter out of range
<br>QSocketDevice::writeBlock: Invalid socket<br>2007-08-17 20:30:02.928 TVRec(1): Changing from None to RecordingOnly<br>2007-08-17 20:30:02.944 TVRec(1): HW Tuner: 1-&gt;1<br>2007-08-17 20:30:02.952 DVBChan(0) Error: Tune(): Setting Frontend tuning parameters failed.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eno: No such device (19)<br>2007-08-17 20:30:02.953 DVBChan(0) Error: SetChannelByString(13): Tuning to frequency.<br>2007-08-17 20:30:02.953 TVRec(1) Error: Failed to set channel to 13. Reverting to kState_None
<br>2007-08-17 20:30:02.954 TVRec(1): Changing from RecordingOnly to None<br>2007-08-17 20:30:02.966 Canceled recording (Recorder Failed): The Daily Show with Jon Stewart: channel 1013 on cardid 1, sourceid 1<br>2007-08-17 20:30:
02.983 scheduler: Canceled recording (Recorder Failed): The Daily Show with Jon Stewart: channel 1013 on cardid 1, sourceid 1<br>2007-08-17 20:30:06.034 Error deleting &#39;/var/lib/mythtv/recordings/1013_20070817203000.mpg&#39; could not open 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eno: No such file or directory (2)<br>2007-08-17 20:30:06.043 Delete Error &#39;/var/lib/mythtv/recordings/1013_20070817203000.mpg&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eno: No such file or directory (2)
<br>2007-08-17 20:30:10.066 Reschedule requested for id 0.<br>2007-08-17 20:30:10.497 Scheduled 115 items in 0.4 = 0.01 match + 0.42 place<br>2007-08-17 20:30:10.506 scheduler: Scheduled items: Scheduled 115 items in 0.4 = 
0.01 match + 0.42 place<br>QDateTime::fromString: Parameter out of range<br>=======<br><br>Any suggestions appreciated! <br><br>-James<br><br clear="all"><br>-- <br>James Cummings, Cummings dot James at GMail dot com