2005-10-06, 12:10 AM
Jorm,
XSearch gives undesired results in certain modes. As an example, I used the keyboard (via the MVP remote) to enter the search text "hanks", intending to search for anything with Tom Hanks. Then I used the yellow button to switch to Cast mode. XSearch displayed numerous shows that were irrelevant, such as The Waltons. Upon looking at the description for the shows, they tended to have the word "Thanksgiving" in their text of the Description. Second, it displayed many episodes of The Waltons, only one of which had "Thanksgiving" in it.
Some suggestions:
1. When searching for Cast (where the search text is always a name), it seems preferable to assume that the search text is bracketed by \Word break characters. E.g., when searching in Cast mode, a text of "hanks" should result in a regular-expression search like \Whanks\W .
However, someone might argue that they don't want to have to type the entire name, and want to find "Lolabrigetta" by typing "lola", and would therefore object to my suggestion. If you want to allow that, then I think you would need to do one of two things:
A. Have an on-screen 'Word-boundary-mode' button of some sort that overrides the default search mode -- E.g., switches 'Word-boundary' off or on. (Yuck.)
B. Select a button on the remote control (and key on the keyboard) that is unused on the search screens, and use it to signify \Word boundary. The user could then specify \Word boundary at the beginning, end, both or neither. For example, if you choose the '>>' (fast-forward) symbol on the remote, then
1. >>hanks>> would find only " hanks ", or " hanks, " etc.
2. hanks>> would find "hanks" and "Thanks" (but not "Thanksgiving")
3. hanks would find all of "hanks", "Thanks", "Thanksgiving", "shanks"
If you choose this type of solution, then you don't need to treat the "Cast" mode search differently than any of the other modes.
[Note that equally you could adopt the opposite convention. That is, you could assume before and after word boundaries, but the special character could override it. I.e., typing "hanks" would mean searching for regular-expression '\Whanks\W', whereas typing ">>hanks" would mean searching for regular expression '*hanks\W' thereby matching "hanks", "thanks", "shanks".]
[Incidentally, am I correct that "Cast" search is really no different (partly because of the above issue) than "Description" search? I looked at the Programme table in gbpvr.mdb and there is no separate field for Cast, so you must be searching the Description field. (??) ]
2. A second problem with XSearch results is that it returns episodes that don't match. This seems to occur when searching in "Cast" mode, but not when searching in Description or Subtitle modes. For example, if I search Cast for "hanks", and it finds an episode of The Waltons with "Thanksgiving" in the Description text, XSearch lists ALL episodes of The Waltons, not just the episode(s) that have "Thanksgiving". Whereupon I have to scroll through each of the many episodes and read each Description to see which episode really contains "Thanksgiving". Clearly incorrect, IMHO; only episodes matching the search text should be returned.
Thanks in advance.
Bob
XSearch gives undesired results in certain modes. As an example, I used the keyboard (via the MVP remote) to enter the search text "hanks", intending to search for anything with Tom Hanks. Then I used the yellow button to switch to Cast mode. XSearch displayed numerous shows that were irrelevant, such as The Waltons. Upon looking at the description for the shows, they tended to have the word "Thanksgiving" in their text of the Description. Second, it displayed many episodes of The Waltons, only one of which had "Thanksgiving" in it.
Some suggestions:
1. When searching for Cast (where the search text is always a name), it seems preferable to assume that the search text is bracketed by \Word break characters. E.g., when searching in Cast mode, a text of "hanks" should result in a regular-expression search like \Whanks\W .
However, someone might argue that they don't want to have to type the entire name, and want to find "Lolabrigetta" by typing "lola", and would therefore object to my suggestion. If you want to allow that, then I think you would need to do one of two things:
A. Have an on-screen 'Word-boundary-mode' button of some sort that overrides the default search mode -- E.g., switches 'Word-boundary' off or on. (Yuck.)
B. Select a button on the remote control (and key on the keyboard) that is unused on the search screens, and use it to signify \Word boundary. The user could then specify \Word boundary at the beginning, end, both or neither. For example, if you choose the '>>' (fast-forward) symbol on the remote, then
1. >>hanks>> would find only " hanks ", or " hanks, " etc.
2. hanks>> would find "hanks" and "Thanks" (but not "Thanksgiving")
3. hanks would find all of "hanks", "Thanks", "Thanksgiving", "shanks"
If you choose this type of solution, then you don't need to treat the "Cast" mode search differently than any of the other modes.
[Note that equally you could adopt the opposite convention. That is, you could assume before and after word boundaries, but the special character could override it. I.e., typing "hanks" would mean searching for regular-expression '\Whanks\W', whereas typing ">>hanks" would mean searching for regular expression '*hanks\W' thereby matching "hanks", "thanks", "shanks".]
[Incidentally, am I correct that "Cast" search is really no different (partly because of the above issue) than "Description" search? I looked at the Programme table in gbpvr.mdb and there is no separate field for Cast, so you must be searching the Description field. (??) ]
2. A second problem with XSearch results is that it returns episodes that don't match. This seems to occur when searching in "Cast" mode, but not when searching in Description or Subtitle modes. For example, if I search Cast for "hanks", and it finds an episode of The Waltons with "Thanksgiving" in the Description text, XSearch lists ALL episodes of The Waltons, not just the episode(s) that have "Thanksgiving". Whereupon I have to scroll through each of the many episodes and read each Description to see which episode really contains "Thanksgiving". Clearly incorrect, IMHO; only episodes matching the search text should be returned.
Thanks in advance.
Bob