RSS

Building a Roku Channel – Part 3

Share some moments with your family on a private channel

If you’ve read through Parts 1 and 2 of the roku tutorial, you’ve made some very minor modifications to an example channel. Now it’s time to package it up and publish!

I just wanted to highlight again that the ability to create a private channel is wonderful for sharing touching or personal creativity and moments with friends and family. In this case, my little girl is already a toddler, and I wanted to be able to watch some videos of her on our tv without having to upload the videos to youtube or other 3rd party site. Sure, there are some parents that want to share their kid with the world, and there are others who would rather maintain their family’s privacy.

All of this information, in a very different order and in a much longer document, can be found in the “ChannelPackagingAndPublishing.pdf” file in the Roku SDK documentation folder. Remember, I’m here to speed you through this process so you get excited about customizing your channel. Am I right?

Packaging:
1) Set your ROKU_DEV_TARGET environment variable.
export ROKU_DEV_TARGET=your roku IP address

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
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.

Now, just to be *extremely* verbose, and don’t fall over with boredom, but you already installed your zip file when you did the “make install”. This “Install” is just a verbose copy of what that make file does. Because this part of the roku development is a little off, but it’s still not too bad. So, one way or another, your zip file should now be on your roku machine.

7) Generate a package:
Click on the “Packager” link at the top of the page. This screen allows you to enter an app name/version string to embed in your package and the password to allow access to the keys on the device. Pressing the “Package” button will take the application currently installed on your box, encrypt it and sign it with your developer specific keys. When complete, it will generate a finished .pkg file ready for deployment. The .pkg file can be downloaded to your PC from the link displayed on the page when packaging is complete.

So on this little grey patch of a website, you have an installed zip with a crazy id number to the left of it. You have two items you need to fill out:

  • App Name / Version – I would do something like “ToddlerCuteness/ 1.0″, but if you need to do “WoolyMammoth/2.1″, I understand.
  • Password – THIS MUST BE THAT GENKEY PASSWORD FROM PART 1! You know, the one I said was really important and that you need to save. That one.

Click the “Package” button.

8 ) Save your package to your computer. There’s nothing to let you know that you have to click on the really long, nonsensical string of letters and numbers to the left of the “Package” button, but that’s what you have to do. Click on that link to save your package.

Publishing:

1) Log into your roku.com account. Go to the “Developer Site” in the upper right-hand nav.
2) In the Developer Site area, find the “My Channels” section and click on “Manage My Channels”.
3) In the private channel area, click on “Add Private Channel”.
4) Fill out the information for your private channel. These are only areas I’d worry about here.

  • Your Channel’s name
  • A vanity “access code” you select (short and sweet is best!)
  • Short Description
  • Long Description
  • Primary Category
  • Your SD channel poster image (290 x 218 pixels)
  • Your HD channel poster image (218 x 144 pixels)

On the next page, you should see a page that looks something like this:

Now you’ll have to browse to the package you built in the “Packaging Section” and upload it to the roku website. The name of the package is that really long, nonsensical string from the packaging description above (step 8). Once you save, you should see that your packaged has been published!

View:
Viewing your channel on your roku. Yeah, I know you’re going to tell me I’m lame for not changing the intro “TED” example image that’s at the end of your channels list. That and a bunch of other images, but hey I got you this far! The fun art of customizing, because now you have things to work with. :)


  • http://www.rodbryan.com Rod Bryan

    Do your video files have to be on a streaming server to play properly on roku?

    Thanks

  • Lorraine

    Hi Rod,
    No, you don’t specifically need a streaming server to play videos via the roku.

  • http://none Jeff

    Amazing, thanks for the info!

    You simplified things a great deal.

  • George

    Can u post how to do the same in windows 7 ? i dont see any make nor the env variable is export…
    Can we do dev in Windows and is there any IDE needed?
    George

  • http://www.appraiserincome.com Bryan Knowlton

    Is there much difference with creating a public channel? I would love to have my content in my own public roku channel for everyone to see! Could the videos be hosted somewhere instead of my server to avoid bandwidth issues? Can it be stored and fed from ROKU?

    Could I pay you to set up a channel for me?

    Thanks!

    Bryan

  • Lorraine

    George – Sounds like I need to create a tutorial for people that want to develop on Windows! There are a number of things you’d need to set up, to start with a unix terminal emulator on your Windows workstation. Putty is a free example.

    Bryan – The main difference between the public and private channels is that the public channel has to get reviewed by the Roku staff before it’s available to just anyone for viewing. It’s just a matter of what you select when you’re ready to publish your channel.

    .. Bryan brought up a good point – I’m available for Roku channel development! If you’re interested contact me.

  • http://jeffthomann.wordpress.com/2011/06/22/roku-channel-names-and-various-podcast-urls/ Roku Channel Names and various Podcast urls « Jeff Thomann's Blog

    [...] http://blog.defaultroute.com/2011/01/24/building-a-roku-channel-part-3/ – instructions on how to create a ‘channel’ for Roku. I might have to study this a bit since it seems really interesting. [...]

  • http://www.bansheebuenafe.com Mark

    Thanks for the useful information about packaging. This will get me started to get my feet wet to make my private channel for friends. The Roku documentation is fine but it could use improvement.

  • Merrymaid

    Thanks for such a great information. While adding private channel, can I use some website or blog which have videos to roku? Is that possible?

  • http://iggy.tv harry mentas

    Hi,

    Thanks for creating this tutorial, I was wondering if you have created a tutorial for doing this on a windows machine?

    Also, I don’t have a packager link on my roku page just utilities with inspect and rekey as buttons.

  • http://www.koshermetal.com/ Max Wallis

    Have you put together the Windows tutorial yet?

  • http://www.brianhasselbeck.com Brian

    Awesome!

    I haven’t got it working tho… I’d like to just see an example of how to stream just ONE file off a server… keep me updated…

  • Bhart

    Thank you so much for providing instructions to develop an app on ROKU. It was very easy to setup, deploy and package an app.

  • Moshusi

    i am kind of stuck with how to upload the application package

  • Ola

    Please Lorraine, you can I contact you to develop a channel for me. Thanks Ola

  • Singwithrocky

    I’d also like someone to build a roku channel for me, please refer developers to singwithrocky@hotmail.com with ROKU in the subject line. Much appreciated!

  • Editor

    Great writeup. I wondered if you take on any freelance work such as putting up our channel? We’re a non-profit and don’t have the technical savvy to do it ourselves. Could you let me know?thanks. Matt-

  • HeroFish

    For everyone asking about a how to on Windows, I created one … its at my blog link below
    HeroFish.com

  • Tyler

    I did what you said, but when I update categories.xml and my other xml files which are stored on the server, the channel doesn’t update. I don’t know if they are caching the files or what. How can I make it update the channel whenever I update the xml files on my server? I’ve checked and they are linked correctly

  • Djpunzo

    Hi Lorraine. I have a reality dance show that we want to put on roku. Our website is http://www.partyrockersreality.com We have an iTunes channel but also want to put it on here. I dont own a roku box but I did everything else. I got my channel set up, XML Files. Im not sure if its right tho. DO you or anyone you know, know how to do this for us. I dont know anything about code or developing but HeroFish website helped me sort of.

    Email me at djpunzo@gmail.com

    Thank You

  • John

    This tutorial is for Mac, right? The make command is not found in my terminal for some reason

  • http://youtube4roku.wordpress.com/2012/04/05/u-tube-youtube-for-roku-2/ U Tube: YouTube for Roku 2 « youtube4roku
  • Lorraine

    Thanks for the link herofish! :) Now I don’t have to take care of the windows version, hehe.

  • Lorraine

    Hi John,
    I should have been clearer in the writeup of this tutorial, but it’s good on any operating system with a unix backend, or on windows if you install a unix emulation. I did use a Mac to during development.

  • http://www.InstantRokuChannel.com/ Scott

    I think http://www.InstantRokuChannel.com might be what you are looking for.

  • Tyler

    Same! I can’t get past this part!!

  • ca[tain

    Install Xcode then in Xcode install command line tools