Difference between revisions of "SKY dog remover script"

From MythTV Official Wiki
Jump to: navigation, search
(Edit performed by mwstuffer.pl)
 
m (LiRc 2f Sky Dog Remover Script moved to SKY dog remover script)
(No difference)

Revision as of 20:42, 5 February 2006

Sky Dog Remover

Sky has a habit of putting red dots and other annoyances on-screen. Pressing 'Backup' on the remote gets rid of (some of) them.

This script runs all the time and sends a BACKUP every 5 seconds.

It uses locking to co-operate with ../Sky Channel Changer Script (so it doesn't send a backup whilst you try and change channel)

I install it as /usr/local/bin/send_sky_backup

#!/usr/bin/perl -w

use ir;

while (1)
{
  sleep 5;
  get_lock && do {
    system "/usr/local/bin/irsend SEND_ONCE SKY BACKUP";
    clear_lock;
  }
}

TODO

Only actually send whilst Myth is recording.

This is because at the moment you can't use the Sky menus whilst this is running. Eg trying to use interactive or sky teletext is impossible - the script keeps 'backup'ing you out of it.