Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Mythtv not changing cable box command line works

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


djlyons1 at cox

Oct 26, 2004, 5:26 PM

Post #1 of 4 (963 views)
Permalink
Mythtv not changing cable box command line works

All,

I am finally able to control my cable box. I have an
ACTiSYS blaster connected to my Windows box, and I am running a windows
program that is web-enabled which allows my linux box to send an http
request to the windows box thereby changing the channel (kludge I know).
Despite trying, I was unable to get the blaster to control my Cable Box
(SA3250) using lirc.

From the command line on my mythtv box I am able to change
the channel with the below script

[mythtv [at] mytht bin]$ cat /usr/local/bin/change_channel.sh
#!/bin/sh

CH=`echo $1 | sed 's/\(.\)/&+/g;s/$/enter/'`

wget -q -t 1 -O /dev/null
http://192.168.1.26:8080/irtuner.cgi?device=cable
<http://192.168.1.26:8080/irtuner.cgi?device=cable&cmd=$%7bCH%7d&passwor
d=mypassword> &cmd=${CH}&password=mypassword

When I try to change the channel in mythfrontend I get the
following in the mythbackend.log file.

2004-10-26 19:43:18 CheckChannel failed. Please verify channel "" in the
"setup" Channel Editor.

In mythtvsetup I have told it to use the above script, My
default channel is 35 and my starting channel is 80.

The script works great from the command line. If I enter
"./change_channel.sh 087" from the command line my cable box does change
to channel 87

Can someone explain the error and how to possibly fix it?
Since the script works from the command line I think it is a
configuration problem with my mythtv setup.

Thanks


djlyons1 at cox

Oct 26, 2004, 5:36 PM

Post #2 of 4 (943 views)
Permalink
RE: Mythtv not changing cable box command line works [In reply to]

Disregard

It would have helped if I restarted the backend after making
the changes. Working great now.

Dave



-----Original Message-----
From: mythtv-users-bounces [at] mythtv
[mailto:mythtv-users-bounces [at] mythtv] On Behalf Of David Lyons
Sent: Tuesday, October 26, 2004 8:27 PM
To: mythtv-users [at] mythtv
Subject: [mythtv-users] Mythtv not changing cable box command line works

All,

I am finally able to control my cable box. I have an
ACTiSYS blaster connected to my Windows box, and I am running a windows
program that is web-enabled which allows my linux box to send an http
request to the windows box thereby changing the channel (kludge I know).
Despite trying, I was unable to get the blaster to control my Cable Box
(SA3250) using lirc.

From the command line on my mythtv box I am able to change
the channel with the below script

[mythtv [at] mytht bin]$ cat /usr/local/bin/change_channel.sh
#!/bin/sh

CH=`echo $1 | sed 's/\(.\)/&+/g;s/$/enter/'`

wget -q -t 1 -O /dev/null
http://192.168.1.26:8080/irtuner.cgi?device=cable
<http://192.168.1.26:8080/irtuner.cgi?device=cable&cmd=$%7bCH%7d&passwor
d=mypassword> &cmd=${CH}&password=mypassword

When I try to change the channel in mythfrontend I get the
following in the mythbackend.log file.

2004-10-26 19:43:18 CheckChannel failed. Please verify channel "" in the
"setup" Channel Editor.

In mythtvsetup I have told it to use the above script, My
default channel is 35 and my starting channel is 80.

The script works great from the command line. If I enter
"./change_channel.sh 087" from the command line my cable box does change
to channel 87

Can someone explain the error and how to possibly fix it?
Since the script works from the command line I think it is a
configuration problem with my mythtv setup.

Thanks


gaberubin at gmail

Oct 26, 2004, 7:08 PM

Post #3 of 4 (927 views)
Permalink
Re: Mythtv not changing cable box command line works [In reply to]

are you sure you even want to do it this way? Why not just connect
the blaster to the linux box, and have myth use whatever script the
blaster uses to change the channel internally?

I know there are many write-ups on how to do precisly this.


On Tue, 26 Oct 2004 20:36:02 -0400, David Lyons <djlyons1 [at] cox> wrote:
>
>
>
> Disregard
>
>
>
> It would have helped if I restarted the backend after making the
> changes. Working great now.
>
>
>
> Dave
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: mythtv-users-bounces [at] mythtv
> [mailto:mythtv-users-bounces [at] mythtv] On Behalf Of David Lyons
> Sent: Tuesday, October 26, 2004 8:27 PM
> To: mythtv-users [at] mythtv
> Subject: [mythtv-users] Mythtv not changing cable box command line works
>
>
>
> All,
>
>
>
> I am finally able to control my cable box. I have an ACTiSYS
> blaster connected to my Windows box, and I am running a windows program that
> is web-enabled which allows my linux box to send an http request to the
> windows box thereby changing the channel (kludge I know). Despite trying, I
> was unable to get the blaster to control my Cable Box (SA3250) using lirc.
>
>
>
> From the command line on my mythtv box I am able to change the
> channel with the below script
>
>
>
> [mythtv [at] mytht bin]$ cat /usr/local/bin/change_channel.sh
>
> #!/bin/sh
>
>
>
> CH=`echo $1 | sed 's/\(.\)/&+/g;s/$/enter/'`
>
>
>
> wget -q -t 1 -O /dev/null
> http://192.168.1.26:8080/irtuner.cgi?device=cable&cmd=${CH}&password=mypassword
>
>
>
> When I try to change the channel in mythfrontend I get the
> following in the mythbackend.log file…
>
>
>
> 2004-10-26 19:43:18 CheckChannel failed. Please verify channel "" in the
> "setup" Channel Editor.
>
>
>
> In mythtvsetup I have told it to use the above script, My
> default channel is 35 and my starting channel is 80.
>
>
>
> The script works great from the command line. If I enter
> "./change_channel.sh 087" from the command line my cable box does change to
> channel 87
>
>
>
> Can someone explain the error and how to possibly fix it? Since
> the script works from the command line I think it is a configuration problem
> with my mythtv setup.
>
>
>
> Thanks
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>


djlyons1 at cox

Oct 26, 2004, 7:51 PM

Post #4 of 4 (902 views)
Permalink
RE: Mythtv not changing cable box command line works [In reply to]

No I do not want to do it this way, but that is what works. I would love
to be able to use lirc/linux box but after 2 months of trying I am going
to "what works"

1. I have swapped out my SA3250 for a SA2200 (and back again)
and tried to use the default SA2000 control file that comes with lirc
and that did not work.
2. I have tried to "learn" my remote, and I am able to build a
"mylircd.conf file with no noise it still does not work.

At this point, I have kludged this together so it works (even
with mythtv). It is not my ideal config, and I am still looking at
getting any blaster to work with lirc. From reading the threads I don't
see anyone that has been able to get lirc to control a SA3250 box
successfully.

I have read every write-up and talked with other people, I have
yet to find a person controlling a SA3250 successfully with lirc. If you
can send my some links I would appreciate it.

That being said if anyone else wants details on my kludge to
control a SA3250, please let me know.

Dave


-----Original Message-----
From: mythtv-users-bounces [at] mythtv
[mailto:mythtv-users-bounces [at] mythtv] On Behalf Of Gabe Rubin
Sent: Tuesday, October 26, 2004 10:08 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] Mythtv not changing cable box command line
works

are you sure you even want to do it this way? Why not just connect
the blaster to the linux box, and have myth use whatever script the
blaster uses to change the channel internally?

I know there are many write-ups on how to do precisly this.


On Tue, 26 Oct 2004 20:36:02 -0400, David Lyons <djlyons1 [at] cox>
wrote:
>
>
>
> Disregard
>
>
>
> It would have helped if I restarted the backend after
making the
> changes. Working great now.
>
>
>
> Dave
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: mythtv-users-bounces [at] mythtv
> [mailto:mythtv-users-bounces [at] mythtv] On Behalf Of David Lyons
> Sent: Tuesday, October 26, 2004 8:27 PM
> To: mythtv-users [at] mythtv
> Subject: [mythtv-users] Mythtv not changing cable box command line
works
>
>
>
> All,
>
>
>
> I am finally able to control my cable box. I have an
ACTiSYS
> blaster connected to my Windows box, and I am running a windows
program that
> is web-enabled which allows my linux box to send an http request to
the
> windows box thereby changing the channel (kludge I know). Despite
trying, I
> was unable to get the blaster to control my Cable Box (SA3250) using
lirc.
>
>
>
> From the command line on my mythtv box I am able to change
the
> channel with the below script
>
>
>
> [mythtv [at] mytht bin]$ cat /usr/local/bin/change_channel.sh
>
> #!/bin/sh
>
>
>
> CH=`echo $1 | sed 's/\(.\)/&+/g;s/$/enter/'`
>
>
>
> wget -q -t 1 -O /dev/null
>
http://192.168.1.26:8080/irtuner.cgi?device=cable&cmd=${CH}&password=myp
assword
>
>
>
> When I try to change the channel in mythfrontend I get the
> following in the mythbackend.log file.
>
>
>
> 2004-10-26 19:43:18 CheckChannel failed. Please verify channel "" in
the
> "setup" Channel Editor.
>
>
>
> In mythtvsetup I have told it to use the above script, My
> default channel is 35 and my starting channel is 80.
>
>
>
> The script works great from the command line. If I enter
> "./change_channel.sh 087" from the command line my cable box does
change to
> channel 87
>
>
>
> Can someone explain the error and how to possibly fix it?
Since
> the script works from the command line I think it is a configuration
problem
> with my mythtv setup.
>
>
>
> Thanks
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.