Previously on “You can imagine where it goes from here”: We released a script to download stuff from the tivo, and then made some improvements to it.
After two years of saying I was going to fully automate the process of downloading and transcoding shows for my iPhone, I finally got off my ass and did it. The script is called TiVo2Podcast and it not only does the downloading and transcoding, but it stuffs the resultant video into a an RSS feed for easy consumption/playback by a podcatcher such as iTunes. I’m now automatically getting the shows off my TiVo and onto my iPhone for easy commute-time consumption. (I commute by train, I do not recommend commute-time consumption if you are driving.)
The ruby script wraps tivodecode, HandbrakeCLI, and AtomicParsley and is intended to be run from cron. I’ve tested this on Linux, but it should run on any UNIX-alike, but it won’t run on windows since I make liberal use of the system()
call. Also, this is intended for PERSONAL USE ONLY, do not set up podcast feeds and violate the ethics (and also the laws) of copyright left and right.
This is a very early version and can certainly use some tweaks and enhancements, primarily in configuring the shows you want to capture. Right now, configuration is in the form of doing INSERT statements in SQLite. Not very friendly, but it gets the job done until I can make a quick and dirty question based TUI. Here’s an example of setting up getting the best fucking news team on the planet:
INSERT INTO configs (config_name, show_name, rss_filename, rss_link, rss_baseurl, rss_ownername, rss_owneremail, ep_to_keep, encode_decomb) VALUES ('tds', 'The Daily Show', 'tds.xml', 'http://www.thedailyshow.com/', 'http://example.com/podcasts/', 'Keith T. Garner', 'kgarner@example.com', 4, 1); |
Download tivoscripts-20100304.tar.gz and let me know what you think. Make sure you read the README!
[Update 3/5: Forgot to add that all the code I wrote is under the Simplified BSD License, so have at it.]
One thought on “TiVo -> Video Podcast”