![]() |
Re: Dexter - Text-TV Reader
Just headsup - I am in the middle of upgrading my development pc so that's why I have been and probably will be for some time a little bit offline. I'll let you know once I have everything setup again.
|
Re: Dexter - Text-TV Reader
Quote:
|
Re: Dexter - Text-TV Reader
Dexter 0.2-3 is making it's way to Extras-devel right now. The biggest changes are in the markup for the config file. If you update to this version, you need to go and edit your existing config file or it probably won't work!
I have tested finnish sites (Yle, Mtv3, Nelonen) and they all seem to work now 100%. I also tried quickly RAI to see if the subImageUrl worked and it did. Now it's your turn to go ahead and try all the sites and report them to the Wiki. If problems, report back here. One small thing I noticed - when making those prediction regular expressions, be careful to escape with \ characters that need to be escaped for regular expressions. I had one prediction not working and the problem turned out to be that question mark (?) is one of them. Instead of ? I put \\? and it started working. I am hoping we have these configurations modifications soon done so I can start working on some feature enhancements. |
Re: Dexter - Text-TV Reader
Cool. Edited NOS and added ORF (Austria), which works fine now. Very happy!
Quote:
imageUrl=http://www.teletext.ch/pics/SF1/[page]-00.gif subImageUrl=http://www.teletext.ch/pics/SF1/[page]-[2:subpage].gif This is the usual pattern. You go to [page]-00.gif, which doesn't have a sub-page. Only sometimes there is no [page]-00.gif. The next thing you'd have to do then is check for [page]-01.gif - because that's either the first sub-page or the page is "irregular". So with the current setting ("If subImageUrl doesn't work, it will fallback to imageUrl"), I never get Dexter to try [page]-01.gif if [page]-00.gif fails. It should be "If imageUrl doesn't work, it will fallback to subImageUrl for sub-page #1". I thought for a moment that I could simply ignore all this and switch the lines like this: subImageUrl=http://www.teletext.ch/pics/SF1/[page]-00.gif imageUrl=http://www.teletext.ch/pics/SF1/[page]-[2:subpage].gif That wouldn't work though, would it? You couldn't go to sub.page -02, -03... etc then, if I understood it correctly. Anyway, an updated config how SF1 could maybe work is on the talk page now. EDIT: ... just thought: maybe it's a good idea to not change the direction of the fallback, but just add the other fallback. so if imageUrl fails, you try subImageUrl - and when subImageUrl fails, you try imageUrl. - Just to make it more error tolerant. That wouldn't break anything, right? |
Re: Dexter - Text-TV Reader
Quote:
|
Re: Dexter - Text-TV Reader
Quote:
Unfortunately I could not add a working configuration to the Wiki, because I discovered a bug in RAI's HTML code that prevents subpage prediction from working correctly. The problem is that the links for previous and next subpage are not distinguishable by a regular expression, because they have the 'alt' attribute wrongly set to the same value (both are 'Next subpage' while one should be 'Previous subpage'). This occurs on text-only version; full graphic version has links with images and they have all the same structure, so they are not usable. I sent an email to RAI text-tv service address, I hope they will fix the code. I will let you know BTW, page prediction works. |
Re: Dexter - Text-TV Reader
Good to hear the changes made things better. One thing I forgot to mention is that the dependency on having Yle in config is gone - the first site is loaded by default instead of Yle.
@Benny1967 I think that fallback could be added the other way around as well without breaking things too much. Now that the config stuff is in good condition, it would be nice to gather a list of feature todo's. I have some in my mind but you can add your own and we could brainstorm about them. My ideas (in myprobable order of implementation):
That's it for me right now, go nuts and add your own! :) |
Re: Dexter - Text-TV Reader
I have a problem after update: I can start Dexter but I can not see TextTV data (Yle or MTV3). I can only see page number (and change it). I am online (web working). I have tried to uninstall/re-install Dexter. Any hints?
|
Re: Dexter - Text-TV Reader
@JKO65: That is most likely due to the changes to the config file parameters. You can either 1) delete your config file from ~/.config/Dexter/dexter.conf and start Dexter - it will regenerate Yle site with the correct values for the new version 2) Edit config file and change the values yourself (Wiki has working examples for Yle and Mtv3)
|
Re: Dexter - Text-TV Reader
Ah... my favorite part in software development: wish list! enhancement requests! *LOL*
OK, in no particular order and some of them considerably less important than others... but i'll list them anyway:
|
| All times are GMT. The time now is 17:31. |
vBulletin® Version 3.8.8