[mythtv-users] Simultaneous IRblaster channel changes fubar'd

Mark fairlane at springcom.com
Sat Dec 4 22:57:04 UTC 2004

William wrote:

>>I'm having an issue with simultaneous channel changes on a 
>>homebrew ir 
>Simplest way would be to have myth call a shell script that does a sleep(2)
>and then executes your program. This will keep you from doubling up but it
>adds time to every change. A better way would be to add support for a lock
>file to your script. Thats what I did in my MyBlaster script and it works
>well. Search the archives if you are interested in looking at my script.
A lock file sounds more elegant.  If myth is trying to run both scripts 
at the same time, and one is lockfiled, will the second script run as 
soon as the lockfile is removed?

More information about the mythtv-users mailing list