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

Mailing List Archive: MythTV: Users

External channnel change script not getting channel number

 

 

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


ed at julian-edwards

Mar 4, 2004, 3:42 PM

Post #1 of 3 (4762 views)
Permalink
External channnel change script not getting channel number

Hi folks

I'm having trouble getting my external channel changer script to work as
it is not getting passed the channel number as the first argument to the
script.

Here's my test script (called ntl_chan):

#!/bin/csh
echo invoked with arg1 as $1, prog name is $0

When I change channel I get this in the backend log:

invoked with arg1 as , prog name is /home/ed/ntl_chan

I did a search in the list archive but could not find anything relating
to this. Any help appreciated!

Thanks,
J.

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at kosteronline

Mar 5, 2004, 12:10 AM

Post #2 of 3 (4586 views)
Permalink
Re: External channnel change script not getting channelnumber [In reply to]

From: "Julian Edwards" <ed[at]julian-edwards.com>
> I'm having trouble getting my external channel changer script to work as
> it is not getting passed the channel number as the first argument to the
> script.
>
> Here's my test script (called ntl_chan):
>
> #!/bin/csh
> echo invoked with arg1 as $1, prog name is $0
>
> When I change channel I get this in the backend log:
>
> invoked with arg1 as , prog name is /home/ed/ntl_chan

Your script does not get 'channum', but gets 'freqid'. I'm not sure how
these are called in the myth setup program, but in the database they are and
in MythWeb (Settings->Channels) also. Entering a value in that column in
MythWeb may solve your problem.

--
Paul

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ed at julian-edwards

Mar 5, 2004, 1:14 PM

Post #3 of 3 (4598 views)
Permalink
Re: External channnel change script not getting channelnumber [In reply to]

Paul Koster wrote:

>Your script does not get 'channum', but gets 'freqid'. I'm not sure how
>these are called in the myth setup program, but in the database they are and
>in MythWeb (Settings->Channels) also. Entering a value in that column in
>MythWeb may solve your problem.
>
>
Ah yes, that's fixed it. I originally figured that I didn't need a
frequency id for something that wasn't tunable! Oh well ....

Thanks for the advice,
J.

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
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 lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.