One of the easier ways to edit a resource [Hack #96] is just to make use of the TiVoWeb resource editor module .
Pick up your remote and surf to the Search by Title menu under Pick Programs to Record . Ever wanted to change the title on the screen? Trick it out to what you want it to say?
In the /var/hack/tivoweb-tcl/modules directory of your TiVo, you should find a file called tvres-3.0.res .
|
Add the following line to the file:
Words BrowseByTime 1 20
Check out the output of dumpres.tcl [Hack #95]. Scroll down until you find the line that starts: 1 20 {Browse By Time} . Those are the two numbers we are talking about here. We are telling TiVoWeb to expose that particular resource so that we can edit it.
For convenience, TiVoWeb is going to create a new grouping in its resource editor called Words , after the first token in the line we added. Then, the particular resource will be named after the second token, BrowseByTime .
To see TiVoWeb in action, go to TiVoWeb's [Hack #65] Resource Editor , click the Update Resources link, and restart the server ( Restart Full Reload ). When you come back to the Resource Editor , you should find a new resource group (Figure 7-5).
Under that, the editor will provide a field for you to play with (Figure 7-6).
If you change this field, you will change the menu text that comes up in the Browse By Time screen. You can do this for anything that is hooked to a resource you can spot when using dump.tcl .
Top |