[mythtv] [PATCH] Teletext page select during playback.

Martin Moeller martin at martinm-76.dk
Tue Feb 15 00:11:32 UTC 2005


Well, I finally took the time to look into the real problem a bit more and 
after redefining my problem I came up with a solution. I have now tested this 
solution and it works very well.

This is it:
During playback of recordings, you cannot change channels anyway so I decided 
to utilize the fact that we had an input mechanism already in place here. 
What I basically did was say: 'If someone enters a number, followed by 
'T' (or whatever TOGGLECC is set to), set this page as the default page and 
turn teletext on. Voilá the page in question is selected and immediately 
'tuned', you can tune to a new page on the fly. I have tried various common 
pages here in Denmark: DR1 (399), TV2 (333) and SVT1 (199) - All of these 
works like a charm. You turn text off again by simply pressing 'T'.

I have tried to enter invalid page numbers and if has no bad effect (just no 
text). The maximum entry of 9999 does not cause problems.

Attached is the (in the end quite simple) patch.

I hope this is decent enough for inclusion. It suits my needs at least.

/Martin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Teletext-pageswitch.diff
Type: text/x-diff
Size: 2456 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050215/1586c9b9/Teletext-pageswitch.bin


More information about the mythtv-dev mailing list