View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu May 26, 2005 1:22 pm 
Offline
Joined: Wed May 18, 2005 2:57 am
Posts: 63
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?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 26, 2005 3:09 pm 
Offline
Joined: Wed May 18, 2005 2:57 am
Posts: 63
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:


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu