Skip to content

MythTv Python Bindings in 0.23

April 7, 2010

For the last few weeks I have been testing the waters with an open source alternative to TiVo called MythTv.  Its really simple to get started with and has some tremendously useful features for the tv hobbyist hacker.  Check this out….

With the upcoming 0.23 release, MythTv has a new and super easy-to-use python binding.  The best way to illustrate this is an example.  Suppose you want to record every “special event” broadcast.  These are the programs that do not occur all of the time.  For example, “The Eighth Annual Young Comedians Show” is a special event.  LOST is not.  To do this, the code is simple:

from MythTV import MythDB, Record
db = MythDB()

shows = db.searchGuide(category="Special")

for x in shows:
  x.record()

This is huge!  Being able to allow developers to script the TV is great and I can’t wait to see what cool things people come up with.

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.