topic Re: bash scripts to upload and delete from the roku menu in Roku Developer Programhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295002#M14260
<BLOCKQUOTE>"manoflinux" wrote:<BR />ok I have two roku's I want to test on. so I have to make two make files? my way seems easier.</BLOCKQUOTE><BR /><BR />No... As kbenson pointed out, all you have to do is change the value of the ROKU_DEV_TARGET env variable to target a different device. If your way is easier for you, that's great. We were just pointing out another alternative.Tue, 26 Apr 2011 19:26:37 GMTRokuChris2011-04-26T19:26:37Zbash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294991#M14249
I know there are better ways to do this, but I thought someone might find this useful.<BR /><PRE><BR />#parameters filename then ipaddress of roku ie uproku simplevideoplayer.zip 192.168.2.23 <BR />uproku ()<BR />{<BR />uagent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)';<BR />curl --silent --show-error --user-agent "$uagent" --form archive=@$1 --form "mysubmit=Replace" "http://$2/plugin_install" |grep "Application Received:"|tr '&gt;' '\n'|tail -n 1 ;<BR />echo "size on disk is $(ls -alb $1 |awk '{ print $5 }') bytes ";<BR />}<BR />#all it needs is the ip address. ie delroku 192.168.2.23<BR />#deltron when is the next album<BR />delroku ()<BR />{<BR />uagent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)';<BR />curl --silent --show-error --user-agent "$uagent" --form "archive=" --form 'mysubmit=Delete' "http://$1/plugin_install" |grep Delete|tr '&gt;' '\n'|tail -n 1 ;<BR />}<BR /></PRE><BR />NOTE: it will upload a file even if there is no initial file there. I know the form is different if you don't have a file. but the roku doesn't care as long as my http post is correct.Mon, 25 Apr 2011 07:26:37 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294991#M14249manoflinux2011-04-25T07:26:37ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294992#M14250
Can you explain what this is for?Mon, 25 Apr 2011 18:57:35 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294992#M14250dynamitemedia2011-04-25T18:57:35ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294993#M14251
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<BR /> I am working towards a kate script to use make to "make" the roku zip package.<BR />and then use uproku to upload the zip file to my roku automatically.<BR />Kate is a KDE text editor I use for modifying brightscript. hopefully they will add brightscript highlighting soon. <BR /><BR />Eventually I will implement all the functions of the dev menu as shell scripts for completeness. <BR /><BR /><BR />These are bash functions, either you can cut and paste them into your current shell or place them in your bashrc.<BR />or you can make a file called uproku and populate it with text below. <PRE><BR />#/bin/bash<BR />uproku ()<BR />{<BR />uagent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)';<BR />curl --silent --show-error --user-agent "$uagent" --form archive=@$1 --form "mysubmit=Replace" "http://$2/plugin_install" |grep "Application Received:"|tr '&gt;' '\n'|tail -n 1 ;<BR />echo "size on disk is $(ls -alb $1 |awk '{ print $5 }') bytes ";<BR />}<BR />uproku "$1" "$2";<BR /></PRE><BR />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).. <BR /><BR />Does that explain the purpose?Tue, 26 Apr 2011 07:23:15 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294993#M14251manoflinux2011-04-26T07:23:15ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294994#M14252
Just a tip, but <B>Code</B> tags make things much more readable (and they preserve indentation).<BR /><BR /><PRE>Like this.</PRE>Tue, 26 Apr 2011 13:32:54 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294994#M14252evilmax172011-04-26T13:32:54ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294995#M14253
<BLOCKQUOTE>"evilmax17" wrote:<BR />Just a tip, but <B>Code</B> tags make things much more readable (and they preserve indentation).<BR /><BR /><PRE>Like this.</PRE></BLOCKQUOTE><BR />done and did my other posts. it does make it more readable.Tue, 26 Apr 2011 14:55:23 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294995#M14253manoflinux2011-04-26T14:55:23ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294996#M14254
I do not use linux but in windows and i believe in mac, the page roku already has set up for us is quite simple as clicking a button.<BR /><BR />Not sure what makes this any simpler than that, but i do not have a Linux to see what the Linux page looks like from Roku.<BR /><BR />Maybe will be helpful to someone and i am sure they appreciate your sharing.Tue, 26 Apr 2011 16:30:07 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294996#M14254dynamitemedia2011-04-26T16:30:07ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294997#M14255
The Makefiles in the SDK are also great tools for automating the build process, IMO. They make zipping, sideloading, and packaging tasks much more efficient.Tue, 26 Apr 2011 16:41:51 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294997#M14255RokuChris2011-04-26T16:41:51ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294998#M14256
<BLOCKQUOTE>"RokuChris" wrote:<BR />The Makefiles in the SDK are also great tools for automating the build process, IMO. They make zipping, sideloading, and packaging tasks much more efficient.</BLOCKQUOTE><BR /><BR />Indeed. The makefile setup included in the examples makes uploading as simple as:<BR /><BR />ROKU_DEV_TARGET=10.11.12.13 make install<BR /><BR />from the target channel's source dir. All it takes is a change of the ROKU_DEV_TARGET address supplied to target a different system. Additionally, special directives can be put in each individual apps' Makefile, such as to pre-process files in some manner. We've seriously considered writing our own macro pre-processor to get around some limitations (such as inlining some common functions to ease programming and reduce function call overhead). This becomes much more important in 3.0...Tue, 26 Apr 2011 17:16:04 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294998#M14256kbenson2011-04-26T17:16:04ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294999#M14257
<BLOCKQUOTE>"dynamitemedia" wrote:<BR />I do not use linux but in windows and i believe in mac, the page roku already has set up for us is quite simple as clicking a button.<BR /><BR />Not sure what makes this any simpler than that, but i do not have a Linux to see what the Linux page looks like from Roku.<BR /><BR />Maybe will be helpful to someone and i am sure they appreciate your sharing.</BLOCKQUOTE><BR />If you dont understand the difference between a web and command line interface and why you would need both, I cant help you.Tue, 26 Apr 2011 19:00:37 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/294999#M14257manoflinux2011-04-26T19:00:37ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295000#M14258
<BLOCKQUOTE>"kbenson" wrote:<BR /><BLOCKQUOTE>"RokuChris" wrote:<BR />The Makefiles in the SDK are also great tools for automating the build process, IMO. They make zipping, sideloading, and packaging tasks much more efficient.</BLOCKQUOTE><BR /><BR />Indeed. The makefile setup included in the examples makes uploading as simple as:<BR /><BR />ROKU_DEV_TARGET=10.11.12.13 make install<BR /><BR />from the target channel's source dir. All it takes is a change of the ROKU_DEV_TARGET address supplied to target a different system. Additionally, special directives can be put in each individual apps' Makefile, such as to pre-process files in some manner. We've seriously considered writing our own macro pre-processor to get around some limitations (such as inlining some common functions to ease programming and reduce function call overhead). This becomes much more important in 3.0...</BLOCKQUOTE><BR />ok I have two roku's I want to test on. so I have to make two make files? my way seems easier.Tue, 26 Apr 2011 19:01:25 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295000#M14258manoflinux2011-04-26T19:01:25ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295001#M14259
Oh i understand what it is, but again in this case why?<BR /><BR />I am not sure why in every thread you post or start, you have such an attitude towards everyone, and 90% of the time its with developers who have developed channels for Roku, so we do know a little about what were doing.<BR /><BR />for some reason you believe your way is the only way, and even when people with some experience tell you differently you lash out.<BR /><BR />I am sure it maybe helpful to some people, but don't get upset when people do not agree your idea or way is the best way.Tue, 26 Apr 2011 19:09:31 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295001#M14259dynamitemedia2011-04-26T19:09:31ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295002#M14260
<BLOCKQUOTE>"manoflinux" wrote:<BR />ok I have two roku's I want to test on. so I have to make two make files? my way seems easier.</BLOCKQUOTE><BR /><BR />No... As kbenson pointed out, all you have to do is change the value of the ROKU_DEV_TARGET env variable to target a different device. If your way is easier for you, that's great. We were just pointing out another alternative.Tue, 26 Apr 2011 19:26:37 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295002#M14260RokuChris2011-04-26T19:26:37ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295003#M14261
<BLOCKQUOTE>"kbenson" wrote:<BR /><BLOCKQUOTE>"RokuChris" wrote:<BR />The Makefiles in the SDK are also great tools for automating the build process, IMO. They make zipping, sideloading, and packaging tasks much more efficient.</BLOCKQUOTE><BR /><BR />Indeed. The makefile setup included in the examples makes uploading as simple as:<BR /><BR />ROKU_DEV_TARGET=10.11.12.13 make install<BR /><BR />from the target channel's source dir. All it takes is a change of the ROKU_DEV_TARGET address supplied to target a different system. Additionally, special directives can be put in each individual apps' Makefile, such as to pre-process files in some manner. We've seriously considered writing our own macro pre-processor to get around some limitations (such as inlining some common functions to ease programming and reduce function call overhead). This becomes much more important in 3.0...</BLOCKQUOTE><BR />can I have multiple dev targets?Tue, 26 Apr 2011 19:52:40 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295003#M14261manoflinux2011-04-26T19:52:40ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295004#M14262
<BLOCKQUOTE>"manoflinux" wrote:<BR /><BLOCKQUOTE>"kbenson" wrote:<BR /><BLOCKQUOTE>"RokuChris" wrote:<BR />The Makefiles in the SDK are also great tools for automating the build process, IMO. They make zipping, sideloading, and packaging tasks much more efficient.</BLOCKQUOTE><BR /><BR />Indeed. The makefile setup included in the examples makes uploading as simple as:<BR /><BR />ROKU_DEV_TARGET=10.11.12.13 make install<BR /><BR />from the target channel's source dir. All it takes is a change of the ROKU_DEV_TARGET address supplied to target a different system. Additionally, special directives can be put in each individual apps' Makefile, such as to pre-process files in some manner. We've seriously considered writing our own macro pre-processor to get around some limitations (such as inlining some common functions to ease programming and reduce function call overhead). This becomes much more important in 3.0...</BLOCKQUOTE><BR />can I have multiple dev targets?</BLOCKQUOTE><BR />I just alias my different Rokus.<BR /><BR /><PRE><BR />alias rokuA='export ROKU_DEV_TARGET="1.2.3.4"'<BR />alias rokuB='export ROKU_DEV_TARGET="4.3.2.1"'<BR /></PRE><BR />Then I can either do a "make install", or telnet into the Roku for debugging.Tue, 26 Apr 2011 19:59:04 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295004#M14262evilmax172011-04-26T19:59:04ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295005#M14263
still doesn't seem as clean to me. we are going to have to agree to disagree on this one. <BR />What I have done though is setup my rokus in my /etc/avahi/hosts file so I can refer to them as roku01.local and roku02.local<BR />if you dont use avahi you should check it out. I wouldn't put it on a box outside a firewall. but for your home network its great. . I dont use it for autoip because I stilll have a windows box(if it was not for playon I wouldnt have any windows boxes, just virtuals will get a multi core box to host it as a virtual at some point) and some windows virtuals that need dhcp, but you can use autoip and get rid of your dhcp server if you have nothing but Linux boxes. But I do use it for local dns. I never have to remember ips any more as long as I named the box something I can remember. <BR />wish someone would make a windows avahi autoip client. it would make my life very easy.Tue, 26 Apr 2011 20:14:14 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295005#M14263manoflinux2011-04-26T20:14:14ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295006#M14264
Yeah all of these methods look like really bad hacks to me. :roll: I use the web page myself and that seems to work.Wed, 27 Apr 2011 02:53:39 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295006#M14264destruk2011-04-27T02:53:39ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295007#M14265
really? Your obviously not qualified to make any such evaluation.Wed, 27 Apr 2011 12:25:38 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295007#M14265manoflinux2011-04-27T12:25:38ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295008#M14266
I thought the rollseyes icon would get a point across. It's really cool there are so many ways to get this to work, but I think everyone would be really super impressed if we could see the pure assembly language bytes to make it do this too - maybe you can type that up. <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" />Wed, 27 Apr 2011 15:45:28 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295008#M14266destruk2011-04-27T15:45:28ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295009#M14267
<BLOCKQUOTE>"manoflinux" wrote:<BR />still doesn't seem as clean to me. we are going to have to agree to disagree on this one. <BR />What I have done though is setup my rokus in my /etc/avahi/hosts file so I can refer to them as roku01.local and roku02.local<BR />if you dont use avahi you should check it out. I wouldn't put it on a box outside a firewall. but for your home network its great. . I dont use it for autoip because I stilll have a windows box(if it was not for playon I wouldnt have any windows boxes, just virtuals will get a multi core box to host it as a virtual at some point) and some windows virtuals that need dhcp, but you can use autoip and get rid of your dhcp server if you have nothing but Linux boxes. But I do use it for local dns. I never have to remember ips any more as long as I named the box something I can remember. <BR />wish someone would make a windows avahi autoip client. it would make my life very easy.</BLOCKQUOTE><BR /><BR /><BR />ROKU_DEV_TARGET in the command referenced is just a bash environment variable. It's something that gets passed to the make command on run.<BR />All the following would work, assuming the addresses/hostnames are reachable/resolvable:<BR /><PRE><BR />ROKU_DEV_TARGET=192.168.0.10 make install<BR />ROKU_DEV_TARGET=roku01.local make install<BR />ROKU_DEV_TARGET=roku02.local make install<BR /></PRE><BR /><BR />or even:<BR /><PRE><BR />export ROKU_DEV_TARGET=roku01.local<BR /># Do some stuff<BR />make install # Installs into roku01<BR />export ROKU_DEV_TARGET=roku02.local<BR /># do some other stuff, <BR />make install # installs into roku02<BR />ROKU_DEV_TARGET=roku01.local make install # Installs into roku01 FOR THIS COMMAND<BR />make install # Installs into roku02 because the main environment var is still set to that<BR /></PRE><BR /><BR />The nice benefit of the makefiles included is that you don't have to zip the channel. They do that automatically ("make" will zip the channel for deployment, "make install" implies first a make, then the install portion which uses curl to upload it). You can also set certain files to not be included automatically in the zip, in case they are purely for local development (such as the Makefile itself, or any buffer/swap files from editors left around during zip). In addition to that, when creating the zip, it actually first zips up all PNG files it finds with no compression (they already have their own compression), and then all the other files with max compression.<BR /><BR />There's something to be said for having much of the complexity bundled with the development environment itself (the guts of the makefiles are actually in a single app.mk file, shared/loaded by the individual Makefiles for each sample channel).<BR /><BR />There's nothing wrong with rolling your own deployment system, but it's worth seeing what Roku's already provided, because they may have a few tricks you haven't considered (I hadn't noticed the separate compression for PNG files before looking closer at the file when writing this post).Wed, 27 Apr 2011 16:31:02 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295009#M14267kbenson2011-04-27T16:31:02ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295010#M14268
well finally a well thought out response. <BR />I asked the question "can you do multiple dev targets " awhile back no one said yes you can .<BR />this does look interesting.Wed, 27 Apr 2011 18:45:58 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295010#M14268manoflinux2011-04-27T18:45:58ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295011#M14269
<BLOCKQUOTE>"destruk" wrote:<BR />I thought the rollseyes icon would get a point across. It's really cool there are so many ways to get this to work, but I think everyone would be really super impressed if we could see the pure assembly language bytes to make it do this too - maybe you can type that up. <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /></BLOCKQUOTE><BR />oh if I misinterpreted your remarks, sorry.Wed, 27 Apr 2011 18:48:58 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295011#M14269manoflinux2011-04-27T18:48:58ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295012#M14270
I use a mac, and in addition to my ~/.bash_profile which has the ROKU_DEV_TARGET, I have two copies named after the ip address (I assign a fixed address from my router based on the mac addr), one each with a different target. When I want to upload I just type:<BR /><BR />&gt;source ~/.67<BR />&gt;make install<BR /><BR />for roku A<BR /><BR />&gt;source ~/.69<BR />make install<BR /><BR />for roku B<BR /><BR />Nice and simple. The reason one doesn't want to use the web interface becomes clear when you do hundreds of builds and tests per day, you would get carpel tunnel in a week.<BR /><BR /> - JoelThu, 28 Apr 2011 00:01:04 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295012#M14270jbrave2011-04-28T00:01:04ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295013#M14271
<BLOCKQUOTE>"jbrave" wrote:<BR /><BR />&gt;source ~/.67<BR />&gt;make install<BR /></BLOCKQUOTE><BR /><BR />You can save a few keystrokes by typing "." (a single dot) instead of "source".<BR /><BR />--MarkThu, 28 Apr 2011 01:27:03 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295013#M14271RokuMarkn2011-04-28T01:27:03ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295014#M14272
<BLOCKQUOTE>"jbrave" wrote:<BR />I use a mac, and in addition to my ~/.bash_profile which has the ROKU_DEV_TARGET, I have two copies named after the ip address (I assign a fixed address from my router based on the mac addr), one each with a different target. When I want to upload I just type:<BR /><BR />&gt;source ~/.67<BR />&gt;make install<BR /><BR />for roku A<BR /><BR />&gt;source ~/.69<BR />make install<BR /><BR />for roku B<BR /><BR />Nice and simple. The reason one doesn't want to use the web interface becomes clear when you do hundreds of builds and tests per day, you would get carpel tunnel in a week.<BR /><BR /> - Joel</BLOCKQUOTE><BR />I think this is one of those culture things I dont get because although I have years of coding I avoided coding C. <BR />now I can do ./configure; make; make install with the best of them. but making my own make files was something I always left to the c guys. I would write a script to do whatever the make file didn't. always have. Maybe its from having to administer thousands of boxes, I think how do I script around what someone else has forgotten to do or to customize to my situation instead of modifying the make file. Still don't think its as clean but it makes more sense now thanks to kbenson. I am going to finish the command line interface for the web interface. I am sure someone will use it. maybe some linux lurker. I may make a command line that looks for rokus on the network and creates a script to automatically "make" them to all rokus on the network or give you a choice of which ones. that script will use the environment variable.Thu, 28 Apr 2011 03:08:28 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295014#M14272manoflinux2011-04-28T03:08:28ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295015#M14273
<BLOCKQUOTE>"jbrave" wrote:<BR /><BR />Nice and simple. The reason one doesn't want to use the web interface becomes clear when you do hundreds of builds and tests per day, you would get carpel tunnel in a week.<BR /><BR /> - Joel</BLOCKQUOTE><BR /><BR />Thats Funny Joel, its not that bad its how i do it and have been doing it since last summer. I don't want to get the same treatment as destruk because i know i am not qualified to talk about this, as a windows user i just go to the webpage, i honestly can't see how it is that much simpler than a click of the mouse, of course as a windows user not sure we have any other choice.Thu, 28 Apr 2011 04:58:27 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295015#M14273dynamitemedia2011-04-28T04:58:27ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295016#M14274
<BLOCKQUOTE>"dynamitemedia" wrote:<BR /><BLOCKQUOTE>"jbrave" wrote:<BR /><BR />Nice and simple. The reason one doesn't want to use the web interface becomes clear when you do hundreds of builds and tests per day, you would get carpel tunnel in a week.<BR /><BR /> - Joel</BLOCKQUOTE><BR /><BR />Thats Funny Joel, its not that bad its how i do it and have been doing it since last summer. I don't want to get the same treatment as destruk because i know i am not qualified to talk about this, as a windows user i just go to the webpage, i honestly can't see how it is that much simpler than a click of the mouse, of course as a windows user not sure we have any other choice.</BLOCKQUOTE><BR />come on guys. This is not a windows vs linux thing. I dont judge the quality of your VB script because I am unqualified to do so and vice versa. That is what I meant. As a linux guy, you wont hear me saying something like "you used windows scripting host for that, what a hack", because I dont know if its a good choice or not. <BR />But I do agree with Joel. My point in doing this is to make a script for my editor so when I am done with some brightscript I can hit an option in my editor and it will run a script and package up the brightscript and send it to all my rokus's(all two of them) in one fell swoop.Thu, 28 Apr 2011 10:06:33 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295016#M14274manoflinux2011-04-28T10:06:33ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295017#M14275
<BLOCKQUOTE>"dynamitemedia" wrote:<BR /><BR />of course as a windows user not sure we have any other choice.</BLOCKQUOTE><BR />I am not trying to be snarky on this, but you do have a choice. Cygwin(<!-- m --><A class="postlink" href="http://www.cygwin.com/">http://www.cygwin.com/</A><!-- m -->).<BR />They have a bash shell and you could take that code and run it on a windows machine in theory. I have taken some pretty complex bash scripts and ran them in windows before. You just have to make sure you dont use linux only stuff like writing files to /tmp in widows thats normally c:\temp if I remember correctly. What I do is write it to a temp dir underneath the current one. that way it will work in both. then I delete that dir. <BR />But I digress, check out cygwin, I think all the scripts I posted here will work in cygwin. If you try one out and it doesn't work say so and I will fix it so it does. <BR />If you make a roku related script in C# I would appreciate it if you would make it work in mono.<BR />This is what being part of a community is about, we work together to make it stronger as a whole, not just our faction.Thu, 28 Apr 2011 10:49:21 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295017#M14275manoflinux2011-04-28T10:49:21ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295018#M14276
Cygwin is one way to get the job done, certainly. And it adds a lot of other benefits. But if you don't have any other need for it, the Windows XP command line (and a few other tools built for Win32/64) are more than capable enough to do the same work as the configure/make/install tools, for the purposes of packaging and installing Roku channels. I put the following into my "SendTo" menu (C:\Users\USER_NAME\AppData\Roaming\Microsoft\Windows\SendTo in Windows 7) and also have something similar installed as a command macro in my code editor. Then I can click on the folder icon my code lives in (the directory above the manifest) and "Send To...&gt;Roku"; or I can have the manifest open in my editor and simply hit a shortcut key there to install.<BR /><PRE>7z %1.zip %1\*<BR />curl -s -S -F "archive=@%1.zip" -F "mysubmit=Replace" http://192.168.1.10/plugin_install<BR />pause<BR /></PRE><BR />Curl is available here: <!-- m --><A class="postlink" href="http://curl.haxx.se/download.html">http://curl.haxx.se/download.html</A><!-- m --> (I use the win32 2000/XP binary with ssl, it's most of the way down the page)<BR />7Zip is here: <!-- m --><A class="postlink" href="http://www.7-zip.org/download.html">http://www.7-zip.org/download.html</A><!-- m --><BR /> <BR />I have to look into adding the possibility of leaving the pngs uncompressed, now that I know about it. <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /> I could also easily replace the hardcoded IP with an environment variable, but I only have one box I am using for development, and my addresses are stable thanks to dhcp reservations on the router.<BR /><BR />Dynamitemedia(and destruk), what is your development environment like(OS and editor)? It can probably be adapted to more automatically build and install your channel changes and save you time as you develop. After you get it set up and working, and you can compare how effortless it is compared to the manual process, you'll probably agree with everyone else that it was worth it <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" />. The more options developers have, be it windows, mac, linux, or other, the better!Thu, 28 Apr 2011 12:10:07 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295018#M14276gonzotek2011-04-28T12:10:07ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295019#M14277
<BLOCKQUOTE>"gonzotek" wrote:<BR />Cygwin is one way to get the job done, certainly. And it adds a lot of other benefits. But if you don't have any other need for it, the Windows XP command line (and a few other tools built for Win32/64) are more than capable enough to do the same work as the configure/make/install tools, for the purposes of packaging and installing Roku channels. I put the following into my "SendTo" menu ..............................................................................<BR />Dynamitemedia(and destruk), what is your development environment like(OS and editor)? It can probably be adapted to more automatically build and install your channel changes and save you time as you develop. After you get it set up and working, and you can compare how effortless it is compared to the manual process, you'll probably agree with everyone else that it was worth it <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" />. The more options developers have, be it windows, mac, linux, or other, the better!</BLOCKQUOTE><BR />This is what I am talking about, a well thought out response that helps expands all our knowledge. <BR />Thanks gonzotek, I am for automation no matter what the OS.Thu, 28 Apr 2011 12:51:30 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295019#M14277manoflinux2011-04-28T12:51:30ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295020#M14278
<BLOCKQUOTE>"gonzotek" wrote:<BR /><BR />Dynamitemedia(and destruk), what is your development environment like(OS and editor)? It can probably be adapted to more automatically build and install your channel changes and save you time as you develop. After you get it set up and working, and you can compare how effortless it is compared to the manual process, you'll probably agree with everyone else that it was worth it <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" />. The more options developers have, be it windows, mac, linux, or other, the better!</BLOCKQUOTE><BR /><BR />i have said here many times i use windows, i understand your guys intentions and that great. but i am ok with the 2-5 seconds of click browse and upload. I am not in that much of a hurry.Thu, 28 Apr 2011 17:13:00 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295020#M14278dynamitemedia2011-04-28T17:13:00ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295021#M14279
<BLOCKQUOTE>"manoflinux" wrote:<BR /> My point in doing this is to make a script for my editor so when I am done with some brightscript I can hit an option in my editor and it will run a script and package up the brightscript and send it to all my rokus's(all two of them) in one fell swoop.</BLOCKQUOTE><BR /><BR />I would love to have my editor (jedit) run a make install whenever I save, actually. I'm sure there is a way to do it.<BR /><BR />-JoelThu, 28 Apr 2011 17:33:43 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295021#M14279jbrave2011-04-28T17:33:43ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295022#M14280
<BLOCKQUOTE>"dynamitemedia" wrote:<BR />i have said here many times i use windows, i understand your guys intentions and that great. but i am ok with the 2-5 seconds of click browse and upload. I am not in that much of a hurry.</BLOCKQUOTE>Hey, it's your rig, do what you like. <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /> But there's always room for improvement, and if you wanted to try (or someone else does), I was looking for specifically what version of windows(the "Send to" folder is in different places under XP, Vista and 7) and what editor for coding do you use? For instance, I use Crimson Editor (and sometimes Notepad++) under Windows 7. I know, for me, because I am not very comfortable with Brightscript, when I am trying things, I am constantly changing a small piece of code over and over until I get the results I want, and I might do as many as 30 (just slightly different) versions in an hour. Switching away from my editor to zip in explorer, then upload in the browser, takes both my time and my concentration away from the goal of improving my code.Thu, 28 Apr 2011 17:55:05 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295022#M14280gonzotek2011-04-28T17:55:05ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295023#M14281
<BLOCKQUOTE>"jbrave" wrote:<BR /><BLOCKQUOTE>"manoflinux" wrote:<BR /> My point in doing this is to make a script for my editor so when I am done with some brightscript I can hit an option in my editor and it will run a script and package up the brightscript and send it to all my rokus's(all two of them) in one fell swoop.</BLOCKQUOTE><BR /><BR />I would love to have my editor (jedit) run a make install whenever I save, actually. I'm sure there is a way to do it.<BR /><BR />-Joel</BLOCKQUOTE>Looks like you could write a macro to save, then zip and upload. The jedit user's guide has details: <!-- m --><A class="postlink" href="http://www.jedit.org/users-guide/index.html">http://www.jedit.org/users-guide/index.html</A><!-- m --><BR />And here's a blog post that looks helpful: <!-- m --><A class="postlink" href="http://hasseg.org/blog/post/96/jedit-macros-for-running-compilers/">http://hasseg.org/blog/post/96/jedit-ma ... compilers/</A><!-- m -->Thu, 28 Apr 2011 18:06:59 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295023#M14281gonzotek2011-04-28T18:06:59ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295024#M14282
all that arguing and at least one person got help, at least indirectly. wonderful.<BR />its always good to brainstorm about a subject publicly, no telling what sort of solutions will come out of it.Thu, 28 Apr 2011 18:54:39 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295024#M14282manoflinux2011-04-28T18:54:39ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295025#M14283
if you have root and are at home you can do this to show all the rokus on the network, just replace 192.168.0.* with your network info. <BR />sudo nmap -O 192.168.0.*|grep "MAC Address:\|report for"|grep -i -B 1 roku<BR /><BR />And yes you windows guys can do this to. <!-- m --><A class="postlink" href="http://nmap.org/book/inst-windows.html">http://nmap.org/book/inst-windows.html</A><!-- m --><BR />just don't do it at work. and if you do don't blame me if you get a visit from your network admin. <BR />If you are the network admin, don't worry about it. <img id="smileywink" class="emoticon emoticon-smileywink" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" />Thu, 28 Apr 2011 22:44:57 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295025#M14283manoflinux2011-04-28T22:44:57ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295026#M14284
here is a program to package a script up and download the package from the "Application Packager" menu. <BR /><PRE><BR />packageroku ()<BR />{<BR />uagent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)';<BR />ftime=$(($(date +'%s')*1000)) ;<BR />if [ "$1" ] &amp;&amp; [ "$2" ] &amp;&amp; [ "$3" ] &amp;&amp; [ ${#1} -lt 32 ]; then <BR /> purl=$(curl --silent --show-error --user-agent "$uagent" --form "app_name=$1" --form "passwd=$2" --form "pkg_time=$ftime" --form "mysubmit=Package" "http://$3/plugin_package" |grep "href"|grep -v "plugin_inspect\|plugin_install"|awk -F 'href="' '{ print $2 }'|tr '"' '\n'|head -n1 <img id="smileywink" class="emoticon emoticon-smileywink" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /> ;<BR /> wget http://$3/$purl ;<BR />else<BR /> echo -e "app name too large or two few arguments format is\npackageroku appname dev_password IPaddress_of_ROKU "; <BR />fi<BR />}<BR /></PRE><BR />example use:<BR />just replace roku01.local the ip of your roku if you dont have a name for it.<BR /><PRE><BR />$delroku roku01.local<BR />Delete Succeeded.<BR />$uproku videoplayer.zip roku01.local<BR />Application Received: 127030 bytes stored.<BR />size on disk is 127030 bytes <BR />$packageroku 'sample video player' 'your_dev_password' roku01.local<BR />--2011-04-29 13:50:24-- http://roku01.local/pkgs/somepackage.pkg<BR />Resolving roku01.local... 192.168.0.24<BR />Connecting to roku01.local|192.168.0.24|:80... connected.<BR />HTTP request sent, awaiting response... 200 OK<BR />Length: 130000 (127K) [text/plain]<BR />Saving to: `somepackage.pkg'<BR /><BR />100%[==========================================================================================&gt;] 130,000 --.-K/s in 0.02s <BR /><BR />2011-04-29 13:50:24 (5.25 MB/s) - `somepackage.pkg' saved [130000/130000]<BR /></PRE>Fri, 29 Apr 2011 17:58:04 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295026#M14284manoflinux2011-04-29T17:58:04ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295027#M14285
For testing purposes, I probably do an actual build of a channel once per week. It's a handful of channels, and I test through my code a lot before I even put it on a box or package it. I use NOTEPAD/windows, ha, oldschool me, has the features I need, and zip it up after I verify logic and that works for me. I use notepad for building the web server/php, notepad for the manifest, I changed all the rich text files into actual unicode files for notepad too. And the webpage works fine too. So I'm probably underqualified to even touch linux, but I have my own system and time isn't an issue as I don't mass install to thousands of boxes at a single go either....perhaps I'm just too stupid to change old habits. <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /> I do write scripts to do routine database operations like backup and restore, and php scripts to create/clear tables in mysql, and I do use ubuntu on a limited basis for alternate projects unrelated to roku with a hotswap drive bay, but I really don't want to go all lowlevel sudo techno ninja on using bash shell scripts - that's just my own choice as my brain has to hold a whole lot of relevant info on other topics.Sat, 30 Apr 2011 04:33:17 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295027#M14285destruk2011-04-30T04:33:17ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295028#M14286
thats fine, its a free country. use windows or Linux or BeOS or MorphOS or whatever. <BR />I am sure there are people that will disagree with you and want some sort of automation. <BR />But I am also sure there are people that agree with you.<BR />Those people dont have to use mine or gonzo's ideas. I just think you would have an easier time if you did.<BR />But you disagree and we can leave it at that.<BR /><BR />I have said it before these scripts are just part of a whole package I am building to integrate brightscript development into kate. <BR />Once I got that done I can start learning brightscript in better detail. Since I will then have an effortless Dev environment it will make my task much easier. .Sat, 30 Apr 2011 07:17:15 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295028#M14286manoflinux2011-04-30T07:17:15ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295029#M14287
why don't you just try to learn brightscript? i also learned(?) using notepad and the debugger.<BR /><BR />seems like your wasting more time trying to automate it or find an easier way then actually learn it. wouldn't be more effective learning brightscript and then learn how to automate it?Sat, 30 Apr 2011 13:28:22 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295029#M14287dynamitemedia2011-04-30T13:28:22ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295030#M14288
<BLOCKQUOTE>"dynamitemedia" wrote:<BR />why don't you just try to learn brightscript? i also learned(?) using notepad and the debugger.<BR /><BR />seems like your wasting more time trying to automate it or find an easier way then actually learn it. wouldn't be more effective learning brightscript and then learn how to automate it?</BLOCKQUOTE>Separate issues. I think you'll find many professional and amateur coders will agree that using a source code editor can make you more productive, regardless of the language being used. I'll crib from <A href="http://en.wikipedia.org/wiki/Source_code_editor" target="_blank">wikipedia's article</A>:<BR /><BLOCKQUOTE>Source code editors have features specifically designed to simplify and speed up input of source code, such as syntax highlighting, autocomplete and bracket matching functionality. These editors also provide a convenient way to run a compiler, interpreter, debugger, or other program relevant for software development process. So, while many text editors can be used to edit source code, if they don't enhance, automate or ease the editing of code, they are not "source code editors," but simply "text editors that can also be used to edit source code."</BLOCKQUOTE>Learning the language is clearly extremely important as well. But what manoflinux is doing here isn't only for himself. Once he completes his goal, anyone who uses the kate editor should have an easier time beginning with brightscript.<BR /><BR />As an example of what source editors can do: Winamp has a scripting language for skinning, called Maki. Years ago, I created syntax highlighting rules files for Maki code for the Windows editor Crimson Editor, and submitted them to the Crimson Editor developer, who put them into the official releases. Now you can open up any maki script in crimson editor and have syntax highlighting making objects, methods, strings and constants stand out from one another. This makes it much easier to read the code, especially if it's someone else's code you aren't yet familiar with. I thought about doing the same for Brightscript, but Crimson Editor is kind of a dead project (although even without any major new features in several years, it's still very good ) and I don't think I could get the syntax files included in it like I did for Maki. I suppose I could host them and give people instructions on how to install them manually.Sat, 30 Apr 2011 14:10:31 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295030#M14288gonzotek2011-04-30T14:10:31ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295031#M14289
Gonzotek, you get it! thanks for the support. <BR />See Windows and Linux people can get along. before Linux or Windows, we were People.<BR />Gonzotek you sound like that most rare type of person, an open source windows user.Sat, 30 Apr 2011 21:40:14 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295031#M14289manoflinux2011-04-30T21:40:14ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295032#M14290
ok kate apparently has support for brightscript. it may not be in the current version yet. although I just upgraded to 11.04 so it maybe included in the new version of kate. sweet. all I have to do now finish the scripts and make a bash script to run inside of kate(I love KDE) <BR /><BR /><BR /><!-- m --><A class="postlink" href="http://permalink.gmane.org/gmane.comp.kde.devel.kwrite/28073">http://permalink.gmane.org/gmane.comp.k ... rite/28073</A><!-- m --><BR /><BR />Review request for Kate.<BR />By Jakub Stachowski.<BR />Description<BR />Syntax highlighting file for BrightScript (VBScript based language used by Roku digital video player). SDK comes without any IDE or plugin for one, so highlighting in Kate makes it easier to develop. In addition to highlighting keywords, built-in functions, etc. code folding works too.<BR />Testing<BR />Loaded example source files from Roku SDK, verified that highlighting and folding works as expected.<BR />Diffs<BR />/trunk/KDE/kdelibs/kate/syntax/data/brightscript.xml (PRE-CREATION)<BR />View Diff<BR /><BR />_______________________________________________<BR />KWrite-Devel mailing list<BR />KWrite-Devel &lt;at&gt; kde.org<BR /><!-- m --><A class="postlink" href="https://mail.kde.org/mailman/listinfo/kwrite-devel">https://mail.kde.org/mailman/listinfo/kwrite-devel</A><!-- m -->Sat, 30 Apr 2011 21:50:50 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295032#M14290manoflinux2011-04-30T21:50:50ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295033#M14291
good news everyone I was able to with some editing grab a brightscript syntax highlighting xml file from that previous link. I will make an entire howto when I get kate scripts done. <BR />But for now here is how to install the syntax highlighting. <BR />I am on a debian system so I did a file search for bash.xml and copied brightscript.xml to those directories and restarted kate. And boom, I now get syntax highlighting of brightscript in kate! well over half of the battle is done. <BR />This is what I did on my system, if you run a debian based system it might work. <BR /><PRE><BR />sudo cp brightscript.xml /usr/share/apps/katepart/syntax<BR />sudo cp brightscript.xml /usr/share/kde4/apps/katepart/syntax/<BR /></PRE><BR />Here is the actual file. Just cut and paste it into an editor and save it as brightscript.xml<BR /><PRE><BR />&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR />&lt;!DOCTYPE language SYSTEM "language.dtd"&gt;<BR />&lt;language name="BrightScript" version="0.1" kateversion="3.5" section="Sources" extensions="*.brs;" author="Jakub Stachowski (qbast@go2.pl)" license="GPL"&gt;<BR /> &lt;highlighting&gt;<BR /> &lt;list name="Keywords"&gt;<BR /> &lt;item&gt;Dim&lt;/item&gt;<BR /> &lt;item&gt;End&lt;/item&gt;<BR /> &lt;item&gt;Stop&lt;/item&gt;<BR /> &lt;item&gt;Goto&lt;/item&gt;<BR /> &lt;item&gt;Return&lt;/item&gt;<BR /> &lt;item&gt;For&lt;/item&gt;<BR /> &lt;item&gt;To&lt;/item&gt;<BR /> &lt;item&gt;Step&lt;/item&gt;<BR /> &lt;item&gt;For Each&lt;/item&gt;<BR /> &lt;item&gt;In&lt;/item&gt;<BR /> &lt;item&gt;While&lt;/item&gt;<BR /> &lt;item&gt;Exit while&lt;/item&gt;<BR /> &lt;item&gt;If&lt;/item&gt;<BR /> &lt;item&gt;Then&lt;/item&gt;<BR /> &lt;item&gt;Else&lt;/item&gt;<BR /> &lt;item&gt;Elseif&lt;/item&gt;<BR /> &lt;item&gt;Step&lt;/item&gt;<BR /> &lt;item&gt;Print&lt;/item&gt;<BR /> &lt;item&gt;As&lt;/item&gt;<BR /> &lt;item&gt;Function&lt;/item&gt;<BR /> &lt;item&gt;LINE_NUM&lt;/item&gt;<BR /> &lt;/list&gt;<BR /> &lt;list name="Data Types"&gt; <BR /> &lt;item&gt; Integer &lt;/item&gt;<BR /> &lt;item&gt; Boolean &lt;/item&gt;<BR /> &lt;item&gt; Float &lt;/item&gt;<BR /> &lt;item&gt; Double &lt;/item&gt;<BR /> &lt;item&gt; String &lt;/item&gt;<BR /> &lt;item&gt; Dynamic &lt;/item&gt;<BR /> &lt;item&gt; Object &lt;/item&gt;<BR /> &lt;item&gt; Interface &lt;/item&gt;<BR /> &lt;item&gt; Void &lt;/item&gt;<BR /> &lt;/list&gt;<BR /> &lt;list name="functions"&gt;<BR /> &lt;item&gt;Type&lt;/item&gt;<BR /> &lt;item&gt;Rnd&lt;/item&gt;<BR /> &lt;item&gt;Box&lt;/item&gt;<BR /> &lt;item&gt;Run&lt;/item&gt;<BR /> &lt;item&gt;Eval&lt;/item&gt;<BR /> &lt;item&gt;GetLastRunCompileError&lt;/item&gt;<BR /> &lt;item&gt;GetLastRunRuntimeError&lt;/item&gt;<BR /> &lt;item&gt;Sleep&lt;/item&gt;<BR /> &lt;item&gt;Wait&lt;/item&gt;<BR /> &lt;item&gt;CreateObject&lt;/item&gt;<BR /> &lt;item&gt;GetInterface&lt;/item&gt;<BR /> &lt;item&gt;UpTime&lt;/item&gt;<BR /> &lt;item&gt;RebootSystem&lt;/item&gt;<BR /> &lt;item&gt;ListDir&lt;/item&gt;<BR /> &lt;item&gt;ReadAsciiFile&lt;/item&gt;<BR /> &lt;item&gt;WriteAsciiFile&lt;/item&gt;<BR /> &lt;item&gt;CopyFile&lt;/item&gt;<BR /> &lt;item&gt;MatchFiles&lt;/item&gt;<BR /> &lt;item&gt;DeleteFile&lt;/item&gt;<BR /> &lt;item&gt;DeleteDirectory&lt;/item&gt;<BR /> &lt;item&gt;CreateDirectory&lt;/item&gt;<BR /> &lt;item&gt;FormatDrive&lt;/item&gt;<BR /> &lt;item&gt;UCase&lt;/item&gt;<BR /> &lt;item&gt;LCase&lt;/item&gt;<BR /> &lt;item&gt;Asc&lt;/item&gt;<BR /> &lt;item&gt;Chr&lt;/item&gt;<BR /> &lt;item&gt;Instr&lt;/item&gt;<BR /> &lt;item&gt;Left&lt;/item&gt;<BR /> &lt;item&gt;Len&lt;/item&gt;<BR /> &lt;item&gt;Mid&lt;/item&gt;<BR /> &lt;item&gt;Right&lt;/item&gt;<BR /> &lt;item&gt;Str&lt;/item&gt;<BR /> &lt;item&gt;Stri&lt;/item&gt;<BR /> &lt;item&gt;Val&lt;/item&gt;<BR /> &lt;item&gt;Abs&lt;/item&gt;<BR /> &lt;item&gt;Atn&lt;/item&gt;<BR /> &lt;item&gt;Cos&lt;/item&gt;<BR /> &lt;item&gt;Csng&lt;/item&gt;<BR /> &lt;item&gt;Cdbl&lt;/item&gt;<BR /> &lt;item&gt;Exp&lt;/item&gt;<BR /> &lt;item&gt;Fix&lt;/item&gt;<BR /> &lt;item&gt;Log&lt;/item&gt;<BR /> &lt;item&gt;Sgn&lt;/item&gt;<BR /> &lt;item&gt;Sin&lt;/item&gt;<BR /> &lt;item&gt;Sqr&lt;/item&gt;<BR /> &lt;item&gt;Tan&lt;/item&gt;<BR /> &lt;/list&gt;<BR /><BR /> &lt;contexts&gt;<BR /> &lt;context attribute="Normal Text" lineEndContext="#stay" name="Normal"&gt;<BR /><BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(exit (for|while))([\s]|$)" insensitive="true" /&gt;<BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(m\.)" insensitive="true" /&gt; <BR /><BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(while)([\s\(]|$)" insensitive="true" beginRegion="WhileRegion"/&gt; <BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(end ?while)([\s]|$)" insensitive="true" endRegion="WhileRegion"/&gt;<BR /> <BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(for)([\s]|$)" insensitive="true" beginRegion="ForRegion"/&gt;<BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b((end ?for)|next)([\s]|$)" insensitive="true" endRegion="ForRegion"/&gt;<BR /><BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(function)([.\s]|$)" insensitive="true" beginRegion="fProcedureRegion"/&gt;<BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(end ?function)([\s]|$)" insensitive="true" endRegion="fProcedureRegion"/&gt;<BR /> <BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(sub)([.\s]|$)" insensitive="true" beginRegion="sProcedureRegion"/&gt;<BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(end ?sub)([\s]|$)" insensitive="true" endRegion="sProcedureRegion"/&gt;<BR /><BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(if)([\s]|$)" insensitive="true" beginRegion="IfRegion"/&gt;<BR /> &lt;RegExpr attribute="Keywords" context="AfterThen" String="\b(then)" insensitive="true" /&gt; <BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(else( ?if)?)([\s]|$)" insensitive="true" beginRegion="IfRegion" endRegion="IfRegion"/&gt;<BR /> &lt;RegExpr attribute="Keywords" context="#stay" String="\b(end ?if)([\s]|$)" insensitive="true" endRegion="IfRegion"/&gt;<BR /><BR /> &lt;keyword attribute="Keywords" context="#stay" String="Keywords"/&gt;<BR /> &lt;keyword attribute="Data Types" context="#stay" String="Data Types"/&gt;<BR /> <BR /> &lt;keyword attribute="Functions" context="#stay" String="functions"/&gt; <BR /> <BR /> &lt;Float attribute="Number" context="#stay"/&gt;<BR /> &lt;Int attribute="Number" context="#stay"/&gt;<BR /> <BR /> &lt;DetectChar attribute="String" context="String" char="&amp;quot;" /&gt;<BR /> &lt;DetectChar attribute="Comment" context="Comment1" char="'"/&gt;<BR /> &lt;RegExpr attribute="Comment" context="Comment1" String="^[\s]*REM[\s]*" /&gt;<BR /> &lt;/context&gt;<BR /> <BR /> &lt;context attribute="Normal Text" lineEndContext="#pop" name="AfterThen"&gt;<BR /> &lt;RegExpr attribute="Keywords" context="#pop" String="([\s]+[a-zA-Z_]+)" lookAhead="true" endRegion="IfRegion"/&gt; <BR /> &lt;/context&gt;<BR /> <BR /> &lt;context attribute="String" lineEndContext="#pop" name="String"&gt;<BR /> &lt;DetectChar attribute="String" context="#pop" char="&amp;quot;"/&gt;<BR /> &lt;/context&gt;<BR /> &lt;context attribute="Comment" lineEndContext="#pop" name="Comment1"&gt;<BR /> &lt;keyword attribute="Number" context="#stay" String="attention" /&gt;<BR /> &lt;/context&gt;<BR /> &lt;/contexts&gt;<BR /> <BR /> &lt;itemDatas&gt;<BR /> &lt;itemData name="Normal Text" defStyleNum="dsNormal"/&gt;<BR /> &lt;itemData name="Keywords" defStyleNum="dsKeyword"/&gt;<BR /> &lt;itemData name="Functions" defStyleNum="dsFunction"/&gt;<BR /> &lt;itemData name="Data Types" defStyleNum="dsDataType"/&gt;<BR /> &lt;itemData name="Number" defStyleNum="dsDecVal"/&gt;<BR /> &lt;itemData name="String" defStyleNum="dsString"/&gt;<BR /> &lt;itemData name="Comment" defStyleNum="dsComment"/&gt;<BR /> &lt;itemData name="Region Marker " defStyleNum="dsRegionMarker"/&gt;<BR /> &lt;/itemDatas&gt;<BR /> &lt;/highlighting&gt;<BR /> &lt;general&gt;<BR /> &lt;keywords casesensitive="0" /&gt;<BR /> &lt;comments&gt;<BR /> &lt;comment name="singleLine" start="'" /&gt;<BR /> &lt;comment name="remark" start="REM " /&gt;<BR /> &lt;/comments&gt;<BR /> &lt;/general&gt;<BR />&lt;/language&gt;<BR />&lt;!-- // kate: space-indent on; indent-width 2; replace-tabs on; --&gt;<BR /></PRE>Sat, 30 Apr 2011 23:01:29 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295033#M14291manoflinux2011-04-30T23:01:29ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295034#M14292
just an afterthought, with KDE for windows you can use kate in windows. when I get a chance I will do a linux and then a windows howto for this.Sun, 01 May 2011 00:05:30 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295034#M14292manoflinux2011-05-01T00:05:30ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295035#M14293
Even as a Windows user, I'm on manoflinux's side on this one. While learning the language was my first goal, I quickly realized that I needed some level of automation. Maybe it's just my development style, but I am constantly side loading my code as I make changes to it, so manually zipping it and uploading the file via the web page is very tedious, at best. I now have a horribly over-complicated batch file that does everything for me using 7zip and curl. It even takes command line parameters so I can specify whether it should be packed for publishing (rekeys the box, zips, and uploads), include the core framework I've built, or just side load for testing (or any combination of the above). I've even come up with a way to specify whether to build the "lite" version or the full version without requiring two separate codebases. I have a command window open at all times, so packaging and uploading is as simple as pressing up to pull up the last command and hitting enter. And I now never build a publishable package with the wrong key by accident. Good stuff...<BR /><BR />So, even though I'll never actually use this, I can appreciate what manoflinux is trying to accomplish, and thank him for sharing it with the community!Sun, 01 May 2011 02:24:57 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295035#M14293TheEndless2011-05-01T02:24:57ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295036#M14294
<BLOCKQUOTE>"TheEndless" wrote:<BR />So, even though I'll never actually use this, I can appreciate what manoflinux is trying to accomplish, and thank him for sharing it with the community!</BLOCKQUOTE><BR />NP, like I said its partially out of my own self interest. I have some projects I want to do with the Roku and need this. <BR />But it always nice to hear thanks. Your welcome.Sun, 01 May 2011 02:39:53 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295036#M14294manoflinux2011-05-01T02:39:53ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295037#M14295
Once you start working on what I'd call 'infrastructure" like automation, porting standard functionality to other languages and platforms, um, how do you say, 'efficiency expert modification' of your code, and figuring out the absolute quickest ways to accomplish your goals, I think you get further away from the original purpose of the device itself. You can spend years and years refining your scripts and tinkering with the bits to get it just right, and if that's what you enjoy doing, that is just plain awesome. Have fun. There is nothing wrong with that, just on a side note, if you have to repackage a channel 30 times per day, the same channel, and experiment by changing a line, zipping, and uploading, are you really leaning anything?Sun, 01 May 2011 02:49:12 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295037#M14295destruk2011-05-01T02:49:12ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295038#M14296
or perhaps you mean you rezip and repackage stuff to see what it looks like when you change the graphic locations by a single pixel at a time for placement of logos or something - for that, you can save time by opening up a graphics program with the screen dimensions (1280 x 720) and place your graphics on that and note the pixel locations, and the roku SDK screens template shows you where the visible area is too with guidelines.Sun, 01 May 2011 02:54:31 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295038#M14296destruk2011-05-01T02:54:31ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295039#M14297
<BLOCKQUOTE>"destruk" wrote:<BR />just on a side note, if you have to repackage a channel 30 times per day, the same channel, and experiment by changing a line, zipping, and uploading, you're not learning anything</BLOCKQUOTE><BR />If you're developing simple apps that just parse an RSS feed or some other formatted content and display it through the built-in screens, that's probably true, but if you're developing apps that actually push the limits of the SDK (i.e. games, custom UIs, complex hierarchical navigation, etc.), it's impossible to develop effectively without, at the very least, regular unit testing. Most platforms provide some method of testing your code in your development environment, either through a remote compiler or an emulator, to make those tasks easier. With the Roku, uploading to the device is the only option.Sun, 01 May 2011 03:23:37 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295039#M14297TheEndless2011-05-01T03:23:37ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295040#M14298
I was going to say something but endless took care of you.Sun, 01 May 2011 03:52:45 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295040#M14298manoflinux2011-05-01T03:52:45ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295041#M14299
i have something to say since i have put together a few apps, and this is my last post in this kids never ending post. <BR /><BR />the process that i use never takes over a couple seconds and i dont rezip etc and curl etc....<BR /><BR />1.) I have one folder with the exact match of the zip file i then have the zip file open too. when i make a change, i drag from the source to the zip. <B> time: 1 second </B><BR /><BR />2.) My files are on desktop while working, i have the browser open to the installer. i click browse to get file <B>time: 1 second </B><BR /><BR />3.) Then upload file to roku <B>Time: 1-2 seconds</B><BR /><BR />Sorry if you think this is too time consuming, but for me that little break gives me a second to relax and get a drink or just wait. just take my eyes of the pc for a few seconds helps <BR /><BR />I honestly think taking <B>3-5 seconds</B> couldn't add up to amount to what maybe 5 minutes of downtime in a 8-10 hour day at 100 uploads. I am sure more than that time is wasted by going to get coffee, go to the bathroom etc though out the day.<BR /><BR />I totally agree it would take too much time when doing graphics and thats why i do it paint.net using the grid to see any changes, we have some stuff we been doing some custom video players and that is how we did it, but again we dont do all the drawing in the roku itself. we place it once and then move it in the paint program and then make changed to the code once we have it where we like it, now this type of work is very time consuming and would be nice if there was a easier way. <BR /><BR />there ya go kid, now you can brag how this post got 1000 views !! it just might... especially if you post one after another to keep it at the top, try using the edit if you have a thought so quickly after the last post and your the last poster...Sun, 01 May 2011 13:53:41 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295041#M14299dynamitemedia2011-05-01T13:53:41ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295042#M14300
its not the time, its having to change your thought process away from coding that is what slows you down. <BR />And I am glad you have finally agreed to be quiet.Sun, 01 May 2011 15:26:38 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295042#M14300manoflinux2011-05-01T15:26:38ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295043#M14301
<BLOCKQUOTE>"manoflinux" wrote:<BR /> And I am glad you have finally agreed to be quiet.</BLOCKQUOTE><BR />these forums have been very friendly till you came around, i think i speak for many that wish they go back to that way. You can't hurl insults from behind your PC at everyone that does not agree with you.Sun, 01 May 2011 16:31:06 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295043#M14301dynamitemedia2011-05-01T16:31:06ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295044#M14302
<BLOCKQUOTE>"dynamitemedia" wrote:<BR /><BLOCKQUOTE>"manoflinux" wrote:<BR /> And I am glad you have finally agreed to be quiet.</BLOCKQUOTE><BR />these forums have been very friendly till you came around, i think i speak for many that wish they go back to that way. You can't hurl insults from behind your PC at everyone that does not agree with you.</BLOCKQUOTE><BR />I dont really see that being an insult. its kinda obvious we dont agree. <BR />But I find it funny that someone is acting like doing stuff in notepad makes you better. <BR />Its an awful tool. I dont make scripts by putting pictures together. <BR />I write code in a simple but powerful text editor called kate. <BR />Yes you can use a toothbrush to mop the floor and you may achieve the same results as using a mop. <BR />But is it worth it in time and energy? <BR />If want to use windows fine, but don't tell me you are a better coder than me because you use notepad, <BR />Its not like when someone talks about VI being better, VI is actually a very powerful editor.<BR />Use syn editor <!-- m --><A class="postlink" href="http://sourceforge.net/projects/syn/">http://sourceforge.net/projects/syn/</A><!-- m --> its free and does just about everything a programmer needs. <BR />In fact from what I hear, no one seems to be aware of anything you have actually done. <BR />I put my code out for everyone to see. let me see you do the same.Sun, 01 May 2011 19:12:32 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295044#M14302manoflinux2011-05-01T19:12:32ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295045#M14303
<BLOCKQUOTE>"dynamitemedia" wrote:<BR />You can't hurl insults from behind your PC at everyone that does not agree with you.</BLOCKQUOTE><BR />I'd encourage you to take your own advice. You don't find this particular utility useful to you. That's fine. Move on, but coming back in here and calling the OP "kid" continuously, because you don't understand the point, and then complaining about insults being hurled is a bit like the pot calling the kettle black. It's a two way street. <BR /><BR />Back on topic, I'm of the general opinion that anything that has to be done more than a handful of times is worth automating. I'm also a developer who doesn't like being distracted from his coding by the tools he's using, so automated sideloading, syntax highlighting, and easy code navigation make me 1000% more efficient. The more efficient I am, the more productive I am, and the happier my clients are (especially those paying by the hour).Sun, 01 May 2011 20:00:42 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295045#M14303TheEndless2011-05-01T20:00:42ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295046#M14304
<BLOCKQUOTE>But I find it funny that someone is acting like doing stuff in notepad makes you better. </BLOCKQUOTE><BR />I would love to show that i said that, in fact it is your attitude that thinks your better than anyone because your work with linux.<BR /><BR /><!-- l --><A class="postlink-local" href="http://forums.roku.com/viewtopic.php?f=28&amp;t=38546&amp;p=253025&amp;hilit=kid#p253009">viewtopic.php?f=28&amp;t=38546&amp;p=253025&amp;hilit=kid#p253009</A><!-- l --><BR /><BR /><BLOCKQUOTE>If want to use windows fine, but don't tell me you are a better coder than me because you use notepad,</BLOCKQUOTE><BR />once again, where was this ever said? <BR /><BR />I said i am "<B>fine</B>" with how it is, not that it couldn't be faster or better. or that i use notepad and thus better than anyone.<BR /><BR /><BLOCKQUOTE>"dynamitemedia" wrote:<BR />i have said here many times i use windows, i understand your guys intentions and that great. but i am ok with the 2-5 seconds of click browse and upload. I am not in that much of a hurry.</BLOCKQUOTE><BR /><BR /><BLOCKQUOTE>Yes you can use a toothbrush to mop the floor and you may achieve the same results as using a mop. <BR />But is it worth it in time and energy? </BLOCKQUOTE><BR /><BR />why not tell Roku they dont know what they are doing since your the man of linux <!-- l --><A class="postlink-local" href="http://forums.roku.com/viewtopic.php?f=28&amp;t=38546&amp;p=256409#p256409">viewtopic.php?f=28&amp;t=38546&amp;p=256409#p256409</A><!-- l --><BR /><BR />you take everyone's posts as a direct attack and twist it, your never going to get everyone to agree with you. You have been told about this in other posts and by other developers, I am not the first<BR /><BR /><!-- l --><A class="postlink-local" href="http://forums.roku.com/viewtopic.php?f=28&amp;t=38546&amp;p=253025&amp;hilit=kid#p253015">viewtopic.php?f=28&amp;t=38546&amp;p=253025&amp;hilit=kid#p253015</A><!-- l --><BR /><BR /><BLOCKQUOTE>In fact from what I hear, no one seems to be aware of anything you have actually done.</BLOCKQUOTE><BR />Hear from where? and comments like this is why you have been told you sound like a kid<BR /><BR />I had my first app in the channel store 3 days after i downloaded the sdk as a first time coder, you have been on here for how long talking about how things should be this way and that way, your the man of linux, this is sparta and where is your channel? I have a few channels out there, not sure what else to show what i have done.<BR /><BR />And besides the UFC I put together the first "<B>live</B>" ROH wrestling iPPv on Roku, using VLC on windows, another of your "I am working on" projects.... <BR /><BR />I never came here bragging that I am a professional coder or the "<B>manofwindows</B>" in fact most of the folks on here know that I am a professional, but a professional wrestler and actor. <BR /><BR />I have said SEVERAL times i am new to this and coding, will admit it in a second!!<BR /><BR /><BLOCKQUOTE>I put my code out for everyone to see. let me see you do the same</BLOCKQUOTE><BR />before you talk, do a search around the forums, i post code all the time and try to help when i can, if after i been helped i try to always leave code behind on what I did to get it working. <BR /><BR />as always thanks Endless for chiming in as would be expected to try and prove me wrong or not as smart as he is But i do understand the concept, i am not the only one here who says that we are just happy with how it works, it could be better as everything can be.<BR /><BR />reread the thread before you burst in moderating. i started out by saying this could be useful to someone and bet they will appreciate it. <BR /><BR /><B>@ Endless</B> show me once that i made a "<B>Insult</B>" to anyone on this board, unless he is over 40 then he is a kid to me. sorry wasnt aware being called a kid was an insult. I never once made a comment about this poster that has not been said before by someone else on this board in reference to this poster. And how dare i use a word like kid!! whats next calling someone silly??? :roll: <BR /><BR />its funny your over here moderating but you were just in a similar predicament with another poster. how its ok you say in another post just recently:<BR /><BLOCKQUOTE>"TheEndless" wrote:<BR />If you're not interested in hearing anyone's ideas and suggestions other than your own, perhaps you should make that more clear up front.</BLOCKQUOTE><BR />but i just state my ideas,how my workflows is, and how i am content with the system as is now, but thats not OK?? Why are you not telling the poster the same here? <BR /><BR />Also endless, i think your memory is a bit blurred<BR /><BLOCKQUOTE>"TheEndless" wrote:<BR /> At some point you either need to accept that the people that are trying to help you actually do know what they're talking about and stop being insulting and defensive, or you need to just give it up and move on to something else.</BLOCKQUOTE><BR />But then you stand up for someone that has, in near everyone of the threads he has been involved with, start some sort of "<B>Noice</B>" as you like to call it, with several different posters and developers that do know what they are doing. By being defensive and insulting...<BR /><BR />hmm maybe it is you who needs to take his own advice...<BR /><BR />it can be summed up by jeffrok here: <!-- l --><A class="postlink-local" href="http://forums.roku.com/viewtopic.php?f=28&amp;t=38546&amp;p=253151&amp;hilit=+1000#p253156">viewtopic.php?f=28&amp;t=38546&amp;p=253151&amp;hilit=+1000#p253156</A><!-- l --><BR /><BR />its not about the posters ideas, or that they are not useful. Because they always will be to someone... Its his way of speaking to anyone that does not agree with him... Bottom line....Sun, 01 May 2011 22:21:30 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295046#M14304dynamitemedia2011-05-01T22:21:30ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295047#M14305
Hey, let's simmer down, all. People should be free to choose the tools that work for them and to talk about those tools without concern that they'll be belittled or attacked for exercising that option. If you're not interested in the topic, or the person or people posting in the topic, just ignore it and/or them.<BR /><BR />Back on topic, (sorta), I've gone ahead and started the syntax files for Crimson Editor, here's an example(I'll post a new topic when I'm ready to release them):<BR /><IMG src="http://apps4tv.com/BRSHilight.png" />Sun, 01 May 2011 22:41:17 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295047#M14305gonzotek2011-05-01T22:41:17ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295048#M14306
Sorry to interject here, since I'm not a programmer, but the jibes and arguments end now. This is the Developer Program forum. People ask for help or give advice. You don't have to listen to it, you don't have to follow it, and you don't have to agree with it. You don't have to give it either.<BR /><BR />Let's behave guys <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://aempf32337.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /> Let's be friends.<BR /><BR />C. Shawn SmithSun, 01 May 2011 23:21:43 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295048#M14306RokuShawnS2011-05-01T23:21:43ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295049#M14307
all I am trying to do is create a easy way to create apps for your box(the roku) in linux and windows using the same opensource toolset. thats all. <BR />I keep getting attacked by people over and over again.<BR />ok next time it happens instead of responding back I will get you involved.Sun, 01 May 2011 23:48:37 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295049#M14307manoflinux2011-05-01T23:48:37ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295050#M14308
<BLOCKQUOTE>"gonzotek" wrote:<BR />Hey, let's simmer down, all. People should be free to choose the tools that work for them and to talk about those tools without concern that they'll be belittled or attacked for exercising that option. If you're not interested in the topic, or the person or people posting in the topic, just ignore it and/or them.<BR /><BR />Back on topic, (sorta), I've gone ahead and started the syntax files for Crimson Editor, here's an example(I'll post a new topic when I'm ready to release them):<BR /><IMG src="http://apps4tv.com/BRSHilight.png" /></BLOCKQUOTE><BR />Awesome!! The more tools to develop for the roku in the better.Sun, 01 May 2011 23:50:15 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295050#M14308manoflinux2011-05-01T23:50:15ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295051#M14309
Post removed to avoid further misinterpretation. My apologies.Mon, 02 May 2011 01:31:46 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295051#M14309TheEndless2011-05-02T01:31:46ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295052#M14310
*Deleted by request*<BR /><BR />(Thank you for the request -- C. Shawn Smith)Mon, 02 May 2011 05:41:10 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295052#M14310dynamitemedia2011-05-02T05:41:10ZRe: bash scripts to upload and delete from the roku menuhttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295053#M14311
Locked because people aren't getting the hint.<BR /><BR />Take it to Private Messages.<BR /><BR />C. Shawn SmithMon, 02 May 2011 15:52:25 GMThttps://community.roku.com/t5/Roku-Developer-Program/bash-scripts-to-upload-and-delete-from-the-roku-menu/m-p/295053#M14311RokuShawnS2011-05-02T15:52:25Z