O'Reilly logo

TiVo Hacks by Raffi Krikorian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hack #96. Making Recordings Start Late and End Early

Only interested in your local news for tomorrow's weather report, but you find yourself having to fast forward through the whole thing every night? By altering TiVo's resources, you can allow scheduled recordings of only the portion of a show you're interested in.

While scanning your TiVo's mind (a.k.a. resources) can make for some interesting reading, there are actually all sorts of things you can do by writing to it. This hack does more than make a cosmetic change to a menu or tweak a display setting; it actually changes the way TiVo works.

The script adds negative values to the Start Recording and Stop Recording options, allowing you to start recordings late and end them early, not just start early and end late. This is useful for recording tomorrow's weather forecast—the last 10 minutes of your local 10 o'clock news—without having to record the whole broadcast and fast forward your way through.

Tip

As is, this hack will work only under TiVo OS 3.x.

The Code

Mike Baker wrote this padhack.tcl script, which modifies resource group 32, items 19 and 21, which supply values to the Start Recording and Stop Recording options.

#!/tvbin/tivosh EnableTransactionHoldoff true set db [dbopen] RetryTransaction { # get handles to the right database entries set swsysa [db $db open "/SwSystem/ACTIVE"] set tmpgrp [dbobj $swsysa get ResourceGroup 32] # add new values for the start recording times set tmpres [dbobj $tmpgrp get "Item" 19] dbobj $tmpres ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required