[mythtv] improvement to MythMusic RIP location

Colin Guthrie myth at colin.guthr.ie
Wed Dec 15 13:51:33 UTC 2004


Allan Stirling wrote:
> Your idea has merit, but I'd like to throw out another option, if it's 
> technically feasable. Predictive text style entry. Quite a few remotes 
> have letter labels on each of the number keys - And we already have an 
> exhaustive database of almost everything the user can type. Just in case 
> anyone needs an example:
> 
> To find a program called 'New Yankee' (With a remote mapped 2abc 3def 
> 4ghi 5jkl 6mno 7pqrs 8tuv 9wxyz 0space) the input would be
> 639092633, possibly refining the search as the input is being typed...
> 
> Just an idea. I don't have the time or ability to look at it now, but 
> this is one of those things that has me going to MythWeb all the time.

I said before the weekend (this idea was also mentioned by Ian Cambell 
in this thread last week), I used to have a C++ class that implemented 
this sort of searching based on a dictionary you load (e.g. all the 
words in the search space!! or /usr/share/dict/words).

Giving the class a number sequence as input, it would return all the 
words that begin with those letter combinations.

It worked quite well.

I said I'd try and dig it out (it was written about 3 or 4 years ago!) 
and slap up a few tests before integrating it into myth.

I've not had a proper chance to look for it yet, but I'll try and do it 
this weekend.

I've been away in London protesting about Software Patents, so my delay 
is in a good cause! ;)

Col.


-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
|  myth at colin.guthr.ie   |
| http://colin.guthr.ie/ |
+------------------------+


More information about the mythtv-dev mailing list