Mythtv delete all episodes of a recorded program

2008 Oct 26 at 23:48 » Tagged as :quadruple play, python,

Sure there is more than one way to delete all episodes of a recorded program with mythv - they are just not very obvious. So I decided that my first learning task with python will be to write a script that does just that. In order to do so, you need to learn how to connect to a database - that was real easy - the API is very similar to JDBC which is well, old hat. Finding 'unlink' though took a bit more time.

here is the full code.