[mythtv] [ANNOUNCE] torrentocracy = rss + bit torrent + myth

Gary Lerhaupt gary at lerhaupt.com
Thu Jun 17 15:04:42 EDT 2004


I have taken Renchi Raju's mythnews plugin, revamped the GUI 
(borrowing from mythweather, adding a second page), and added 
enclosure parsing/downloading to enable bit torrent downloads from 
Myth.  I am calling this project Torrentocracy.

http://torrentocracy.com/files/permalink/torrentocracy-0.0.4.tgz

At this stage, it works.  If an RSS feed has an application/x-
bittorrent enclosure within it, a "torrent" icon will appear on the 
entry.  You can then right button to the second page where there you 
can hit the menu button and then select "Start Torrent".  It will then 
download the torrent to /var/lib/torrentocracy/active/.  Separately, I 
have also developed a very simple bittorrent service script (packaged 
within torrentocracy) to be placed in /etc/init.d/, which starts 
btlaunchmany.py on bootup and tells it to automatically join any 
torrent found in /var/lib/torrentocracy/active.  So, basically, from 
your TV, you can just select start torrent and btlaunchmany.py does 
the rest.  

This is as far as I have come.  My next steps are to parse the output 
of btlaunchmany so that I can show updated status in the torrentocracy 
GUI.  I also want to get the "stop torrent" button working and create 
other options to move completed content out 
of /var/lib/torrentocracy/active/ and place it 
in /var/lib/torrentocracy/complete/.

I very much welcome feedback/patches.  There are many things left to 
do and improvements to make.  Here's a list:
 - Torrent status 
 - Handling of other RSS enclosure types 
 - Get rid of flicker on page 2
 - Entry scrolling for full entry view on page 2 
 - Date shown on RSS entry should be published time, not downloaded 
time 
 - If set, automatically download new torrents 
 - When RSS is auto-pulled, don't switch to the newest entry 
 - HTML tag handling in RSS entry text 

Thanks,
Gary 


More information about the mythtv-dev mailing list