Drunken Coder

Automating TV torrent downloads

Posted 04/15/2013

I want Stooge, my NAS to be able to keep track of my favorite shows, and download new episodes when they come out.

I made TV Party to do this exactly how I want, which is to say: no frills, simple REST API, easy to work with, and no dependencies other than node & npm-installed libs.

Installing/Configuring Stuff

Make sure you update node. After that, do this:

sudo -s
git clone https://github.com/konsumer/tvparty.git /usr/local/share/tvparty && cd /usr/local/share/tvparty && npm install


Now, make /usr/local/share/tvparty/conf/settings.json look like this:

    "username": "USER",
    "password": "PASSWORD",
    "host": "",
    "port": "9091",
    "updateTime": 15,
    "serve_port": 3000,

Run node app.js and you can visit http://localhost:{SERVE_PORT}/ to mess with your subscriptions.


Now, we want this to run when Stooge starts up. He is running Ubuntu Server 12.10. Let’s copy tvparty.init.sh to /etc/init.d/tvparty. Now, add it to default start/stop: update-rc.d tvparty defaults



Making a Safari Extension to handle torrent clicks

Earlier I talked about my awesome media/storage server named “stooge”. I want stooge to handle all the torrents on my network. I saw some good extensions for Firefox & Chrome, but not Safari...

David KonsumerWritten by David Konsumer who lives and works in Portland and makes rad stuff. You should follow him on Twitter & Github