If you have any other suggestions post it here.
I'm trying to improve the whole teletext module. Not only the subtitle part.This might be a bit of topic since it is not about teletext subtitles but rather teletext itself.
The TVServer uses a cache for all pages including all subpages. The main problem of the slow startup is that the TVServer only starts to cache the pages, when you start the teletext module. If you have started it and don't change the channel the TVServer still grabs all pages. If you change to a new channel then you have to start the teletext module before the caching process starts again.Before I started to use MP I usually used teletext everyday (often many times), these days I don't. The main reason for this is the slow startup, it takes a few seconds for the first page to display. From what I have seen in the code that would be during a caching phase? Because after the initial wait it is fast, very fast I gather. Is there someway to cache the start page (page 100) when you first enter a new channel? From a user perspective I guess that when you press the teletext button you will then see page 100 right away and then have to wait a few seconds for all the rest. That is at least from my prespective a good tradeoff.
This is why I'm want to change from the keycodes to the internal ACTIONS. They can be better used by remotes etc. I want to create an action for every operation you can do in the teletext, e.g. subpage up/down, next/prev page.There is of course one tiny detail more, the default mapping on the MCE remote doesn't have a page+1 and page-1 button (or have I missed something). Ie I want to press a button, arrow up or channel up or something for page+1. In the beginning I used to add that mapping by hand with every new install of MP but because of issue 1 I have stopped doing that.
The TVServer uses a cache for all pages including all subpages. The main problem of the slow startup is that the TVServer only starts to cache the pages, when you start the teletext module. If you have started it and don't change the channel the TVServer still grabs all pages. If you change to a new channel then you have to start the teletext module before the caching process starts again.
I don't know why the server doesn't start this caching process when you start watching a channel. Since this must be done somewhere in the TVServer, I can't promise anything.
This is why I'm want to change from the keycodes to the internal ACTIONS. They can be better used by remotes etc.