[mythtv-users] Firewire script to check which node is active and change channel with the right node.

Robert McNamara robert.mcnamara at gmail.com
Fri Jan 16 01:54:41 UTC 2009


On Thu, Jan 15, 2009 at 5:52 PM, Maclaren, James M <maclaren at tulane.edu> wrote:
> I, like others, find that from time to time my cable box changes node as can
> be seen from using plugreport.  I wrote this little script to check which
> node it was on and then call 6200ch.exe to change channel/record to avoid
> lost recordings.  Thought it might be of more general interest so here it
> is.
>
>
>
> #!/bin/sh
> #$1 is the first argument to the script. It is the channel as passed by
> mythtv
>
> NODE=$(plugreport |grep -B 2 bcast_channel|grep Node|cut -d " " -f 2)
> /usr/local/bin/6200ch.exe -n $NODE $1
>
> save this as say channel.sh and use it as the channel changer.
>
> James
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>

Why not just run 6200ch -g $GUID which will never change and won't
require a script?

Robert


More information about the mythtv-users mailing list