If you make your own private channels, these scripts will allow you to upload your channel from the linux command line or delete the channel from the command line. I saw something about modifying your make file, but this seems cleaner, especially if you have multiple roku's
I am working towards a kate script to use make to "make" the roku zip package.
and then use uproku to upload the zip file to my roku automatically.
Kate is a KDE text editor I use for modifying brightscript. hopefully they will add brightscript highlighting soon.
Eventually I will implement all the functions of the dev menu as shell scripts for completeness.
These are bash functions, either you can cut and paste them into your current shell or place them in your bashrc.
or you can make a file called uproku and populate it with text below.
#/bin/bash
uproku ()
{
uagent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)';
curl --silent --show-error --user-agent "$uagent" --form archive=@$1 --form "mysubmit=Replace" "http://$2/plugin_install" |grep "Application Received:"|tr '>' '\n'|tail -n 1 ;
echo "size on disk is $(ls -alb $1 |awk '{ print $5 }') bytes ";
}
uproku "$1" "$2";
in the example above you will notice that the function has the same name as the filename of the script. this works because the function will get executed before the local file(except the first time you run the file when the function is not defined yet)..
Does that explain the purpose?