"4n6days" wrote:
I found instructions for how to set up a basic Roku channel using the videoplayer template in the SDK at http://blog.defaultroute.com/2011/01/24/building-a-roku-channel-part-3.
But when I get to this part.... I get totally confused... can someone help me out?
Packaging:
1) Set your ROKU_DEV_TARGET environment variable.
export ROKU_DEV_TARGET=your roku IP address - since the Roku IP isn't static.... doesn't this change frequently?
2) Create a zip file with make. On your development machine, go to the directory where you edited the code. You will see a Makefile. Edit just this one line in the middle of the Makefile:
APPNAME = your_happy_little_app_name
3) Type make - Where do I type this? What happens when I do? Where is the .zip created? Does it use the script in the Makefile to "compile?" it?
4) Type make install
5) In your web browser, type in http://YOUR_ROKU_IP_ADDRESS
6) Remember those keys we generated in Part 1? Here they come into play. From the Roku documentation. I can’t shorten this and they’ve explained it better than I could:
Install your zip file:
Select your application zip file using the “Browse…” button and then press “Install”. The box now has a copy of your application installed, plus the keys are still resident on the device from when you performed the “genkey” operation.
This is my understanding. Edit the template XML files to point to my videos. Do the "Make" and "Make Install" thingy. Where do you find the ZIP that "Make" created?.....
Also, if I have 1 category with 3 videos in a PUBLISHED channel, can I edit the playlist to add or change videos without doing the "Make" thing again.
Sorry if these questions seem totally misinformed... they very well might be.... 🙂
You usually can assign a dhcp reservation for the Roku in your router settings, so that the IP will always be the same.
make is a command line tool, so you access it from a command line :). It isn't available in Windows(it's a primarily a unix/linux thing, I'm not sure but I think MacOS X has it as well). Since my main development machine is a windows box, I usually manually zip the source, and then manually upload it to the Roku with my browser pointed to
http://MY_ROKU_IP/. You must have development mode enabled to be able to reach the installation page. The make command simply automates the process (Roku's make script also has some intelligent compression settings, for example it won't try to compress images, but don't worry about that for now).
As for the xml file, if you host the xml file on your server, and point your channel to it, then you can change it on the fly any time you have changes in your content. If it's part of the channel package, you'll only be able to change it by updating the channel(and going through the channel store publishing process).
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com