PDA

View Full Version : Wishlist Seach for Tivoweb1.9.4


jumper5836
05-16-2003, 06:42 PM
The wishlist for tivoweb could use a bunch of features.
I added a search function for wishlist items. Makes it easier to find wishlist items that you want to record.

Still needs a create wishlist function and a edit wishlist function on wishlist items that don't have a season pass or the autorecord fuction turned on.

I have only added a few subcategories but any body could add more if they like. The search categories and subcategories are for dtivo.

Anyways the file is attached.
To install it just copy over /tivoweb-tcl/modules/ui.itcl with the new ui.itcl
and do a quick restart from tivoweb

DPlatt
05-17-2003, 12:28 AM
Nice addition! This will definitely come in handy.

A couple of minor bugs I've noticed just in the couple of minutes that I've played around with this:

Doesn't work for advanced WLs.

Doesn't work for any WLs that contain quotes.

jumper5836
05-20-2003, 10:57 AM
Well I looked at the advanced wishlist and the search utility doesn't support adavanced searches. So I can't really get it to work. I could probably have it do a search for the first search value in the string.

I fixed the quote problem but the search utility doesn't support exact matches so it basically doesn't do a exact match but at least it is passing the search utility the title info.

Also I added more subcategories. Not all of them since I would have to figure out a better way to do it. Then I noticed also the that categories and subcat are different for uktivo, dtivo and tivo.
The search link will probably only work correctly on dtivo since I only added this for my own needs. I may try to get it work for all sub categories for each units if I can figure out a better way.

Zagor
06-12-2003, 06:02 PM
This is really a good idea so I gave it a try but i get the following error when hitting the search link:


INTERNAL SERVER ERROR
--cut here--
action_search '' 'set "searchby" "";set "cat" "1";set "scat" "384";set "q" "Movies/Science Fiction";'
bad index "": must be integer or "end"
while executing
"lindex $searchbylabels $searchby"
(procedure "::action_search" line 18)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

I am using a dsr6000 with Superzaps' 2.5.2 upgrade.

jumper5836
06-12-2003, 08:42 PM
make sure it has been ran through a dos2unix utility.
otherwise to a full restart of tivoweb and you could also test the regular search function. if the regular search function doesn't work. The extra bit I put in to the wishlist section wouldn't work.