LinHES Forums
http://forum.linhes.org/

Almost there just need help changing channels with red eye
http://forum.linhes.org/viewtopic.php?f=14&t=4697
Page 1 of 1

Author:  rigga [ Thu May 26, 2005 1:22 pm ]
Post subject:  Almost there just need help changing channels with red eye

Hi,

I have almost finished the set up of my box, all that is left to do is get mythtv to change the channels on my sky digibox. I have bought a red eye serial blaster and downloaded the linux driver and can issue commands to change the channel from a command line and it works fine, the command is:

red_eye /dev/ttyS0 <channel_no> 2

The 2 on the end is just a wait time. Using the above command it works perfectly so I created a script called sendkeys.sh which contains the following:

Code:
#!/bin/sh
for digit in $(echo $1 | sed -e 's/./& /g'); do
 red_eye /dev/ttyS0 $digit 2
sleep 0.4

done


I adapted the code from what i found on the forums to use lirc to change channels with a blaster. I then updated my input connections in mythtv-setup and set the skytv source to have the following in the external program to change channels:

/home/mythtv/.mythtv/sendkeys.sh

However when I select the Sky source in live tv and then go in to the guide (or browse mode) and select another channel nothing happens!!

Is the above code right? the only part I wrote is the red_eye bit.

Can anyone help this is driving me mad..

Any help appreciated

edit: on the wiki page:
http://www.knoppmythwiki.org/index.php?page=SkyDigiBox
the guy states that
Quote:
Changing channel

I do this using the device from

http://www.redremote.co.uk/serial

Which has a linux command line program that can be used from myth with a simple shell script, once the freqids are set correctly.


However he doesnt give examples of the script - if hes out there can he enlighten me?

Author:  rigga [ Thu May 26, 2005 3:09 pm ]
Post subject: 

Problem solved, searched the mythtv-user list, loads of usefull info there, turned out all I needed to do was stop and restart mythbackend

:oops:

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/