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)

jakoleh 2010-02-10 19:40

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by copperviking (Post 519917)
Can somebody help me? I manage to edit the confic file (mtv3 and yle), but I can only see yle in Dexter settings. Where is mtv3?

Have you changed the size parameter?

stefanmohl 2010-02-10 20:42

Re: Dexter - Text-TV Reader
 
Many new televisions have memory to store 1000 pages. The pages are numbered from 000-999, so not counting sub-pages, the maximum is 1000 pages. Since most numbers aren't used, the real total is probably a lot less, even counting sub-pages. I think a page is roughly 40x25 characters, making it about 1kB per page, so storing all pages from a channel only takes about 1 MB :-)

How about a similar feature in Dexter? Add an option to download all pages from a channel, and store them. That way it will be even faster than now, and it will have all pages available even when off-line!

copperviking 2010-02-11 04:45

Re: Dexter - Text-TV Reader
 
My config file was copied from wiki. I did not edit it. It look like this: [sites]
1\siteName=Mtv3
1\imageUrl=http://www.mtv3tekstikanava.fi/new2008/images/[page]-[2:subpage].gif
1\predictionUrl=http://www.mtv3tekstikanava.fi/new2008/[page]-01.htm
1\subPredictionUrl=http://www.mtv3tekstikanava.fi/new2008/[page]-[2:subpage].htm
1\previousPrediction="<a href=\"(\\d+)-01.htm\"><< Edellinen sivu</a>"
1\nextPrediction="<a href=\"(\\d+)-01.htm\">Seuraava sivu >></a>"
1\previousSubPrediction="<a href=\"\\d+-(\\d+).htm\"><< alasivu</a>"
1\nextSubPrediction="<a href=\"\\d+-(\\d+).htm\">alasivu >></a>"
1\startPage=100
2\siteName=Yle
2\imageUrl=http://www.yle.fi/tekstitv/images/P[page]_[2:subpage].gif
2\predictionUrl=http://www.yle.fi/tekstitv/txt/P[page]_01.html
2\subPredictionUrl=http://www.yle.fi/tekstitv/txt/P[page]_[2:subpage].html
2\previousPrediction="<A HREF=\"http://www.yle.fi/tekstitv/txt/P(\\d+)_01.html\">\\[Edellinen sivu\\]</A>"
2\nextPrediction="<A HREF=\"http://www.yle.fi/tekstitv/txt/P(\\d+)_01.html\">\\[Seuraava sivu\\]</A>"
2\previousSubPrediction="<A HREF=\"http://www.yle.fi/tekstitv/txt/P(\\d+)_(\\d+).html\">\\[Edellinen alasivu\\]</A>"
2\nextSubPrediction="<A HREF=\"http://www.yle.fi/tekstitv/txt/P(\\d+)_(\\d+).html\">\\[Seuraava alasivu\\]</A>"
2\startPage=100
size=2

copperviking 2010-02-11 04:52

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by jakoleh (Post 520008)
Have you changed the size parameter?

My config file was copied from wiki. I did not edit it. It look like this. Is there something wrong? [sites]
1\siteName=Mtv3
1\imageUrl=http://www.mtv3tekstikanava.fi/new2008/images/[page]-[2:subpage].gif
1\predictionUrl=http://www.mtv3tekstikanava.fi/new2008/[page]-01.htm
1\subPredictionUrl=http://www.mtv3tekstikanava.fi/new2008/[page]-[2:subpage].htm
1\previousPrediction="<a href=\"(\\d+)-01.htm\"><< Edellinen sivu</a>"
1\nextPrediction="<a href=\"(\\d+)-01.htm\">Seuraava sivu >></a>"
1\previousSubPrediction="<a href=\"\\d+-(\\d+).htm\"><< alasivu</a>"
1\nextSubPrediction="<a href=\"\\d+-(\\d+).htm\">alasivu >></a>"
1\startPage=100
2\siteName=Yle
2\imageUrl=http://www.yle.fi/tekstitv/images/P[page]_[2:subpage].gif
2\predictionUrl=http://www.yle.fi/tekstitv/txt/P[page]_01.html
2\subPredictionUrl=http://www.yle.fi/tekstitv/txt/P[page]_[2:subpage].html
2\previousPrediction="<A HREF=\"http://www.yle.fi/tekstitv/txt/P(\\d+)_01.html\">\\[Edellinen sivu\\]</A>"
2\nextPrediction="<A HREF=\"http://www.yle.fi/tekstitv/txt/P(\\d+)_01.html\">\\[Seuraava sivu\\]</A>"
2\previousSubPrediction="<A HREF=\"http://www.yle.fi/tekstitv/txt/P(\\d+)_(\\d+).html\">\\[Edellinen alasivu\\]</A>"
2\nextSubPrediction="<A HREF=\"http://www.yle.fi/tekstitv/txt/P(\\d+)_(\\d+).html\">\\[Seuraava alasivu\\]</A>"
2\startPage=100
size=2

AlexV12 2010-02-11 13:27

Re: Dexter - Text-TV Reader
 
I tried using the NOS config file, and it looks like it loaded. but now it doesn't even show the frontpage (page 100). it also wont show any other pages.

how can i edit the dexter file using Xterminal so that all the parameters are correct? (if they might not be).

or can i just edit the file opening the dexter.conf with notepad?

thanks

benny1967 2010-02-11 13:43

Re: Dexter - Text-TV Reader
 
@Alex: you did include the missing parts for you NOS setup, did you? like the [sites] marker at the beginning, the numbers at the start of the lines, the size parameter at the end?

@copperviking:
how did you copy the file over to your n900? i'm asking because there's a slight chance you got wrong formating if you used an inappropriate text editor.


could both of you just open the terminal and type
Code:

cat .config/Dexter/dexter.config
The output would be interesting.

copperviking 2010-02-11 14:42

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by benny1967 (Post 521141)
@Alex: you did include the missing parts for you NOS setup, did you? like the [sites] marker at the beginning, the numbers at the start of the lines, the size parameter at the end?

@copperviking:
how did you copy the file over to your n900? i'm asking because there's a slight chance you got wrong formating if you used an inappropriate text editor.


could both of you just open the terminal and type
Code:

cat .config/Dexter/dexter.config
The output would be interesting.

I type that code in x-terminal, but it says not found......

copperviking 2010-02-11 15:50

Re: Dexter - Text-TV Reader
 
Can somebody tell me how to delete the dexter.config file in x-term.
What do I type in x-term? I try to start over hole thing to edit the config file to use mtv3 and yle. I just dont get it. I can edit config file, but it just shows yle. Do I have to edit those working donfig files in wiki? And what folder is empty Dextermv in home/user/config/.?

AlexV12 2010-02-11 18:17

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by benny1967 (Post 521141)
@Alex: you did include the missing parts for you NOS setup, did you? like the [sites] marker at the beginning, the numbers at the start of the lines, the size parameter at the end?

@copperviking:
how did you copy the file over to your n900? i'm asking because there's a slight chance you got wrong formating if you used an inappropriate text editor.


could both of you just open the terminal and type
Code:

cat .config/Dexter/dexter.config
The output would be interesting.

i just copied the text from http://wiki.maemo.org/Dexter

When i type the code you gave in Xterminal i get "no such file or directory" :(

benny1967 2010-02-11 18:24

Re: Dexter - Text-TV Reader
 
sorry! sorry!
it should have been

cat .config/Dexter/dexter.conf


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

vBulletin® Version 3.8.8