[mythtv-users] Restrict tuner usage at a given time

Steve Harrington mythlist at the-harringtons.org
Mon Aug 17 01:01:43 UTC 2009


Brian Wood wrote:
> On Sunday 16 August 2009 18:34:23 Steve Harrington wrote:
> 
>> Could you write a simple sh script that just presses the select button
>> after the download?  They usually only take like 5-10 minutes (I think,
>> I tend to not stay up late and watch it, LOL).  You could run it at say
>> 3:30 if the download starts at 3.
> 
> Believe it or not, what I'm doing now is just pushing the select button on the 
> DISH remote every morning when I get up, since I generally turn on the TV at 
> that time anyway, it's just an extra button press.
> 
> Of course if I try to record anything between the D/L and my arising I'll miss 
> it, and Myth will not know that it has recorded an hour of "Press Select", so 
> far this has not been a problem, there's not much I'd want to record at that 
> time anyway.
> 
> And I could get it in any case, as I have 2 PVRs connected to cable, I only 
> use DISH occasionally. Of course as analog cable channels start to go away 
> that situation might change. I have an HDHR on the cable as well, but the 
> selection of unencrypted QAM channels is limited.
> 
> I've thought about using a cron job, it'd certainly be easy enough, but the 
> status quo is working for now...
> 
>> I could do the cron job that you suggested, but it gets dicey as I don't
>> know when the recordings start.  The one that caused me grief (The
>> Universe on History HD) started at 2AM, but a movie could start earlier
>> and a show could start later.  I guess I'll just eyeball it for now.
>>
>> Also, I am on trunk (Mythbuntu weekly builds).  I have a 211k from Dish.
>>   I haven't been able to get 5.1 via optical in to work, only PCM.
>> Every time I try DD 5.1 it sounds like someone is talking through a fan.
>>   Do you have this issue?
> 
> I'm only using analog audio into a PVR right now. If I get the HD-PVR working 
> I'll think about digital audio matters.
> 

I just thought of something else.  My IRBlaster channel changing sh 
script is this:

REMOTE_NAME=dish4
irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME select
sleep 0.5
for digit in $(echo $1 | sed -e 's/./& /g'); do
irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME $digit
sleep 0.5
done
irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME select

I got this off of the Ubuntu wiki.  It presses select before it does 
anything else.  Perhaps that will solve your issue.


More information about the mythtv-users mailing list