<div class="gmail_quote">On Fri, Jan 23, 2009 at 2:25 PM,  <span dir="ltr">&lt;<a href="mailto:scott@tbwifi.ca">scott@tbwifi.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">&gt; <a href="mailto:scott@tbwifi.ca">scott@tbwifi.ca</a> wrote:<br>
&gt;&gt;&gt; On Jan 23, 2009, at 10:45 AM, <a href="mailto:scott@tbwifi.ca">scott@tbwifi.ca</a> wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I am running 0.21 fixes on a Mandriva 2008.1 box with an Asus M2N-<br>
&gt;&gt;&gt;&gt; Sli MB.<br>
&gt;&gt;&gt;&gt; My satellite receiver is an Expressvu 4100 (Dish). &nbsp;I am having<br>
&gt;&gt;&gt;&gt; trouble<br>
&gt;&gt;&gt;&gt; getting my ir blaster arrangement to work consistently. &nbsp;Oddly if I<br>
&gt;&gt;&gt;&gt; request a channel number using the script from the command line<br>
&gt;&gt;&gt;&gt; everything<br>
&gt;&gt;&gt;&gt; works fine. &nbsp;Also if I manually key in a channel number and hit enter<br>
&gt;&gt;&gt;&gt; using the keyboard while watching live tv in the frontend, it works<br>
&gt;&gt;&gt;&gt; too.<br>
&gt;&gt;&gt;&gt; The issues seem to always occur with programmed recordings. &nbsp;Is it<br>
&gt;&gt;&gt;&gt; possible for the database to be scrambled somehow causing this? &nbsp;Does<br>
&gt;&gt;&gt;&gt; anyone have any other tips to look for?<br>
&gt;&gt;&gt; It&#39;s possible that the permissions aren&#39;t appropriate for the use that<br>
&gt;&gt;&gt; is running mythbackend. Try logging in as that user and executing the<br>
&gt;&gt;&gt; channel change script from the command line. At least, without backend<br>
&gt;&gt;&gt; log files or more of a description of what &quot;trouble...to work<br>
&gt;&gt;&gt; consistently&quot; means that would be where I would start.<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; My mention of success running commandline entries was done using the<br>
&gt;&gt; mythtv user, and permissions aren&#39;t a problem.<br>
&gt;&gt;<br>
&gt;&gt; The trouble I mention seems to usually be missed digits or what appears<br>
&gt;&gt; to<br>
&gt;&gt; be that. &nbsp;If the intended program is on 210, sometimes two digits get<br>
&gt;&gt; through and the sat box just assumes an error and flips to a totally<br>
&gt;&gt; non-related default. &nbsp;On one occasion last night it seems to flip to a<br>
&gt;&gt; three digit channel correctly, but not the channel that was expected.<br>
&gt;&gt; As<br>
&gt;&gt; I mentioned, if I key in 210 in the frontend using the keyboard, I get<br>
&gt;&gt; tuned to 210. &nbsp;I&#39;m not sure if this is something people have run into<br>
&gt;&gt; before.<br>
&gt;&gt;<br>
&gt;&gt; Take note that about 50% of the recordings do get recorded correctly.<br>
&gt;&gt;<br>
&gt;&gt; I cannot guarantee that my commandline successes are a fluke, but they<br>
&gt;&gt; do<br>
&gt;&gt; seem to show an almost flawless success rate.<br>
&gt;<br>
&gt; You might want to look into the timing of the numerals being sent by the<br>
&gt; blaster, but since the script works from the command line this is<br>
&gt; probably not the problem.<br>
&gt;<br>
&gt; In any case, you might try inserting delays and see what happens, or<br>
&gt; reduce the delay if you are using them now.<br>
&gt;<br>
<br>
<br>
</div></div>I&#39;ve played with those timings extensively and have also tried adding<br>
variations of requesting the guide first, adding cancels, and selects &nbsp;You<br>
name it, I&#39;ve done some serious muddling in the script with little or no<br>
improvement.<br>
<br>
One thing I did wonder is how one requests a longer illumination time as<br>
opposed to the delays inbetween.<br>
<br>
<br>
I should also note that I am feeding the signal from the satellite box in<br>
through the coax input of a PVR-350 if that provides and ideas for anyone.<br>
</blockquote></div>Scott, <br><br>If it works 100% of the time from the command-line, then there is no reason for it to not work from myth.&nbsp; <br><br>Go into &quot;Live TV&quot; and switch between a bunch of channels - does it work fine then?&nbsp; If it does, then there&#39;s no reason for timed recordings to fail.<br>
<br>So if that works perfectly, I&#39;d start looking into what other things would cause interference with the IR signal.&nbsp; Things like bright sunlight, or a fluorescent light close by (or in some cases, even across a room), - anything that could interfere with the IR signal or cause erroneous IR detections.&nbsp; <br>
<br>I found that the only times I miss channel changes are if my track light is moved and aimed right into my receivers, thus flooding the poor receiver&#39;s IR detector with light (including IR light).&nbsp; (My receivers and myth server are on shelves up near the ceiling, and if I move the track light to illuminate the inside of my myth box, it floods the receivers too, so I have to remember to move it away from them when I&#39;m done...)<br>
<br>Oh yeah, you can also try raising the lirc &quot;min_repeat&quot; value -- if it&#39;s &quot;2&quot; now, put it to &quot;3&quot; or &quot;4&quot;.&nbsp; That basically simulates you holding down the number key on the remote a little longer. <br>
<br>J-e-f-f-A<br>