[mythtv-users] Can I pass parameters to my channel changing script?

Brian Long briandlong at gmail.com
Mon Apr 30 12:12:31 UTC 2012


On Mon, Apr 30, 2012 at 3:34 AM, Jan Ceuleers <jan.ceuleers at gmail.com>wrote:

> On 29/04/12 22:12, Gary Buhrmaster wrote:
>
>> On Sun, Apr 29, 2012 at 19:05, Patrick Oglesby<octoberblu3 at gmail.com>
>>  wrote:
>> ....
>> You have to do locking, otherwise you can have a race condition.
>>
>> My recollection is that at least two of the scripts on the wiki
>> support locking to avoid this particular issue.  The one I
>> use (full disclosure, I wrote it, so it is clearly biased to
>> what *I* needed) is called LircChannelChanger.  There are
>> others, and the issue has been discussed on this list
>> previously (although I do not know if those scripts were
>> added to the wiki).
>>
>
> Thanks Gary. I do indeed plan to use your script as the basis for mine.
>
> I'll have to do some hacking though, because I also want to save some
> power by powering the STBs down when not in use, so I'll have to power them
> up from the channel changing script as well.
>
> Mike, happy to hear that the channel changing script is a property of the
> tuner rather than of the video source. When I'm done I'll go and make this
> clear on the wiki though, because it says in several places that it's in
> the video sources.
>

Jan, before you go to the extra effort, make sure the STBs actually pull
less power when "powered off".  The reason I say this is that most STBs
pull the same amount of power once they are plugged in whether or not the
power light is on.  The power button in my experience only disables the
outputs (like component, HDMI, DVI, etc).  The STB still pulls 20-30W of
power meaning your effort to power off when idle might be wasted.

/Brian/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120430/15d8a110/attachment.html>


More information about the mythtv-users mailing list