View Full Version : Delete Stubborn Shows - deleteshows.tcl

10-15-2006, 01:44 AM
If you have several orphans from failed mfs_ftp transfers, or if you just want to batch delete a bunch of shows, this is for you. I know that EditTitle.tcl (http://www.dealdatabase.com/forum/showthread.php?t=10229&highlight=edittitle.tcl) can also do this, but I found it cumbersome to hunt down all the fsids of the recordings I wanted to delete. This script takes a show name (or part of a showname) as an argument, and deletes all the shows that match. You can also append an "-ls" argument to list matching shows without deleting them. So,
tivosh deleteshows.tcl Miamiwill delete all episodes of "CSI:Miami" and "Miami Vice", and
tivosh deleteshows.tcl "CSI: Miami" -lswill list (but not delete) all episodes of CSI Miami. I added a second script called deleteepisodes.tcl, which searches episode titles rather than show titles. I'll unify the two scripts with switches eventually.