[mythtv] Netflix -> MythTV recording script

Brad DerManouelian myth at dermanouelian.com
Tue Jan 1 23:39:01 UTC 2008


On Dec 28, 2007, at 3:18 PM, Aaron Longson wrote:

> I didn't see anything like this and thought it'd be useful.  I  
> subscribe to netflix but only the 2 a month plan($4.99).  My queue  
> is far larger than I will ever actually receive and there are many  
> older flicks that are regularly shown on TV.  Rather than manually  
> setting up a search in MythTV, I wrote a perl script to parse the my  
> netflix rss feed and schedule recordings based on it.
>
> It downloads the netflix rss feed and for each title, it executes a  
> query against the database looking for the following conditions:
>   --movie is in the current listings
>   --movie is not in current recordings
>   --movie is not is not currently scheduled to record
>   --movie is not showing on one of the "blackout" channels
>
> Blackout channels are channels that tend to show movies only after  
> horribly mangling them(TNT, USA...).
>
>
> Testing is currently minimal, but it's a fairly simple script that  
> I've used a few times.  However, I'm also a perl novice.  ;)   
> Anyway, I hope this is useful to someone other than me.

Thanks, Aaron, it works well! Areas I see for improvement are getting  
the rss url from the database instead of manually entering it,  
feedback letting me know what it found to schedule and the option to  
take the things it found off my NetFlix queue. I'd also like to put  
the stuff it did find into its own recording group so I can easily set  
recording options. I've hacked that into my copy which satisfies me  
for now. :)

Thanks again!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080101/23583f4b/attachment.htm 


More information about the mythtv-dev mailing list