maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Dexter - Text-TV Reader (https://talk.maemo.org/showthread.php?t=42207)

Opa 2010-02-02 06:48

Re: Dexter - Text-TV Reader
 
When I enter a page number and press to full screen mode (before the new page has loaded). Then new page will appear small in full screen mode.

copperviking 2010-02-02 07:09

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by TNiga (Post 505774)
1. Download my attachment to your device in /home/user/MyDocs
2. Run following commands in x-terminal:
Code:

mkdir -p /home/user/.config/Dexter
mv /home/user/MyDocs/dexter.conf.txt /home/user/.config/Dexter/dexter.conf


Thanks for your help! There was updated version in extras-devel, and now it works without config file. Great application!

hstende 2010-02-02 07:15

Re: Dexter - Text-TV Reader
 
NRK, Norway got text-tv on a website:
http://www.nrk.no/teksttv/

So if you could implement NRK into dexter it would be nice.

pillar 2010-02-02 09:05

Re: Dexter - Text-TV Reader
 
Dexter 0.2.2 should be in the extras-devel now. This was a quick fix version to make it work better out of the box.

Changes:

- If no config file - it will load Yle teletext and write the config file, so it will work even without the config file.

About different teletext sites, it would be nice to collect the working settings for different sites to a page. Is it possible to use Wiki here for that? Where would be the correct place for that?

TNiga 2010-02-02 09:24

Re: Dexter - Text-TV Reader
 
I guess you could put them in maemo wiki or you could open a garage page for your project and put them in project's discussion board, or then you could just put them in this thread's opening post. Or make a homepage for the project somewhere else.

ruskie 2010-02-02 10:07

Re: Dexter - Text-TV Reader
 
Here's the Slovenian. Definately nice. Will have to try

http://teletext.rtvslo.si/applications/ttx

Looking at the URLs seems I can do it myself as well with the config file. Will definately post if I can.

ruskie 2010-02-02 10:52

Re: Dexter - Text-TV Reader
 
Hmm not having much luck:

My config file
Code:

[sites]
1\siteName=RTVSLO.si
1\imageUrl=http://teletext.rtvslo.si/ttx/[page]_[subpage].png
1\predictionUrl=http://teletext.rtvslo.si/ttx/applications/ttx?cmd=load&page=[page]&subpage=0001
1\subPredictionUrl=http://teletext.rtvslo.si/ttx/applications/ttx?cmd=load&page=[page]&subpage=[subpage]
1\previousPrediction="/ttx/applications/ttx?cmd=prpage&page=(\\d+)&subpage=0001"
1\nextPrediction="/ttx/applications/ttx?cmd=nepage&page=(\\d+)&subpage=0001"
1\previousSubPrediction="/ttx/applications/ttx?cmd=prsubpage&page=(\\d+)&subpage=(\\d+)"
1\nextSubPrediction="/ttx/applications/ttx?cmd=nesubpage&page=(\\d+)&subpage=(\\d+)"
1\pad=4
size=1

Anyone spots anything obviously wrong or broken?

I get the following when running from the cmd line:
Code:

QObject::connect: Cannot connect (null)::receivedTekstiTv(QPixmap*) to TekstiTv::receivedTekstiTv(QPixmap*)
QObject::connect: Cannot connect (null)::receivedPrediction(int, int) to TekstiTv::receivedPrediction(int, int)
zsh: segmentation fault  DISPLAY=:0 Dexter


pillar 2010-02-02 11:01

Re: Dexter - Text-TV Reader
 
@ruskie - I think right now the app is expecting to have Yle as the default site and it is crashing because it is not in your config file. What you can try to do is add Yle (can be found in my earlier post) in your config file. Then you should be able to switch to your site in the app menu. Remember to change size = 2.

Nexte versions, I will remove the dependency to Yle site being in the config.

ruskie 2010-02-02 11:12

Re: Dexter - Text-TV Reader
 
Thanks... that got it working. Here are my two configs for RTV Slovenia and HRT TTX. I do have a problem in that prev/next and sub don't seem to work. But it's a start.

Code:

[sites]
1\siteName=RTVSLO.si
1\imageUrl=http://teletext.rtvslo.si/ttx/[page]_[subpage].png
1\predictionUrl=http://teletext.rtvslo.si/ttx/applications/ttx?cmd=load&page=[page]&subpage=0001
1\subPredictionUrl=http://teletext.rtvslo.si/ttx/applications/ttx?cmd=load&page=[page]&subpage=[subpage]
1\previousPrediction="/ttx/applications/ttx?cmd=prpage&page=(\\d+)&subpage=0001"
1\nextPrediction="/ttx/applications/ttx?cmd=nepage&page=(\\d+)&subpage=0001"
1\previousSubPrediction="/ttx/applications/ttx?cmd=prsubpage&page=(\\d+)&subpage=(\\d+)"
1\nextSubPrediction="/ttx/applications/ttx?cmd=nesubpage&page=(\\d+)&subpage=(\\d+)"
1\pad=4
2\siteName=HRT.hr
2\imageUrl=http://teletekst1.hrt.hr/images/[page]-[subpage].gif
2\predictionUrl=http://teletekst.hrt.hr/?str=[page]-01
2\subPredictionUrl=http://teletekst.hrt.hr/?str=[page]-[subpage]
2\previousPrediction="<a href=\"?str=(\\d+)-01\"><img src=\"images_nav/bk_lft_arrw.gif\" title=\"Prethodna stranica\" alt=\"Prethodna stranica\" width=\"40\" height=\"40\"></a>"
2\nextPrediction="<a href=\"?str=(\\d+)-01\"><img src=\"images_nav/bk_rgt_arrw.gif\" title=\"Sljedeća stranica\" alt=\"Sljedeća stranica\" width=\"40\" height=\"40\"></a>"
2\previousSubPrediction="<a href=\"?str=(\\d+)-(\\d+)\"><img src=\"images_nav/bk_dw_arrw.gif\" title=\"Prethodna podstranica\" alt=\"Prethodna podstranica\" width=\"40\" height=\"40\"></a>"
2\nextSubPrediction="<a href=\"?str=(\\d+)-(\\d+)\"><img src=\"images_nav/bk_up_arrw.gif\" title=\"Sljedeća podstranica\" alt=\"Sljedeća podstranica\" width=\"40\" height=\"40\"></a>"
2\pad=2


pillar 2010-02-02 11:54

Re: Dexter - Text-TV Reader
 
Dexter wiki page created. All the information should be gathered there from now on. You are more than welcome to point out what needs to be added. Also, you can edit the page and add your own teletext site to the listing.

http://wiki.maemo.org/Dexter


All times are GMT. The time now is 05:45.

vBulletin® Version 3.8.8