William wrote:
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?I'm having an issue with simultaneous channel changes on a homebrew ir blaster.
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.
Bill
_______________________________________________
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
