[mythtvnz] Defining some standard for using MythTV with SkyNZ

Robin Gilks mythtvnz@lists.linuxnut.co.nz
Sun, 4 Jun 2006 19:17:39 +1200 (NZST)


>
> Browsing the list archives and the various on-line howtos there doesn't
> appear to be a standard definition of how to set-up MythTV with SkyNZ.
>
> For example what channel numbers are people mapping the sky channels onto.

I'm using the Sky channels and then the tuner input prefixes the same
channel number with 99 so TV1 is 991, TV2 is 992 etc.

> How does this then map onto an IRBlaster to control your sky box.

I use the following script - note that I poke the volume in case the Sky
box has been used outside Mythtv and left with the Mute on (happened a few
times when I first started using Myth). I'm running an MCE2 for the IR
input hence the IR blaster is a seperate instance of lircd.

#!/bin/sh

REMOTE_NAME=sky
cmd="$1"
DEVICE=/dev/lircd1

case $cmd in
    [0-9]*)
    # make sure we unmute by hitting vol up
    /usr/local/bin/irsend -d $DEVICE SEND_ONCE $REMOTE_NAME Vol+
    sleep 0.1
    for digit in $(echo $1 | sed -e 's/./& /g'); do
        /usr/local/bin/irsend -d $DEVICE SEND_ONCE $REMOTE_NAME $digit
        sleep 0.1
    done
    ;;

    *)
        /usr/local/bin/irsend -d $DEVICE SEND_ONCE $REMOTE_NAME $cmd
        ;;
esac


> Do people tend to use an SVIDEO or Composite input on their capture card.

Since the Sky box has an S-video and phono outputs and my PVR-150 has the
same, it makes a lot of sense to just plug them straight together!

> If we can work out a standard definition then I'm hoping to try and come
> up with a scripted way to simplify the set-up without all of the manual
> set-up when using mythfilldatabase.

The EPG stuff will continue to be a personal solution while the TV
companies think we are telepathic in knowing what programs they are
showing so we can tune into them.

-- 
Robin Gilks