MythTv Python Bindings in 0.23
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.