Any experiment. Borrows code from the Roku example apps and from https://github.com/brianboyer/feedtv
Put your Roku into Dev Mode.
Set the following variables in your .bash_profile
:
export NPR_API_KEY="SUPERUSER_KEY_HERE"
export ROKU_IP="10.0.1.2"
You need a superuser API key for this. Sorry, non-NPR people looking at this code. Your Roku will tell you its IP address when you put it into Dev Mode.
Install the Python requirements:
$ mkvirtualenv nproku
$ pip install requirements.txt
To generate the Tiny Desk API feed:
$ workon nproku
$ python fetch_feed.py
To package up the code and deploy it to your Roku:
$ ./build.sh
Enjoy!
To connect to your Roku for debugging:
$ telnet $ROKU_IP 8085