Sign up here and you can log into the forum!

Soccer Teletekst

Discussion, features, plugins--everything about zoster's UMSP UPnP Media Server software

Soccer Teletekst   

Postby Montreal1 » Sat Mar 12, 2011 6:55 am

Is it possible to create plugin for this kind of option?

http://teletekst.hrt.hr/?str=731-01

In Europe, all tv's has this option, but not on US/Canada...

Regards...
Montreal1
DLX'er
 
Posts: 73
Joined: Mon Jun 07, 2010 4:09 am

Re: Soccer Teletekst   

Postby shunte » Sat Mar 12, 2011 4:37 pm

brilliant, I remember teletext as a kid in England - it's like very early Internet only not so good ;)

it shouldn't be too much of an exercise to create an image based plug-in to display this content, and with search enable to input page numbers something that's relatively generic

I'll take a look at creating a plug-in for this
If you like the work I do please feel free to make a donation to the Red Cross
User avatar
shunte
Developer
 
Posts: 420
Joined: Sun Sep 19, 2010 1:43 am
Location: Cambridge, MA U. S. and A.

Re: Soccer Teletekst   

Postby shunte » Sun Mar 13, 2011 12:05 pm

Here is a very quick and dirty plug-in to display the teletext page data from the site provided

File name: teletekst.tgz File size: 3.36 KB
See my other posts for what to do with this archive
** Edit link updated Monday 14th March @ 13:46 EST Edit **

Search is enabled as well as user configuration via an XML file format

See WEC for setup of the plug-in

XML format is simple enough:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<content>
  <page>
    <title>Soccer Results</title>
    <pagenum>731</pagenum>
  </page>
  <page>
    <title>More Soccer 1/5</title>
    <pagenum>735</pagenum>
    <subpage>1</subpage>
  </page>
  <page>
    <title>More Soccer 2/5</title>
    <pagenum>735</pagenum>
    <subpage>2</subpage>
  </page>
</content>

If no XML is provided the plug-in will default to the 4 pages that are associated with the Soccer listings that Montreal1 sourced in the first post

** Edit Note that the XL can support sub-page as well as pagenum, subpage will default to 1 if not provided Edit **

Minimal validation is performed on both the XML and the page numbers input via search, if bad search or XML is detected you'll get a message pertaining to that; if the XML is bad then again the 4 base pages will be displayed.
Image
I've performed some testing and from what I've thrown at it the plug-in is relatively robust

Note that the plug-in only displays the static page data that it find when accessing a page, there is no timer based refresh of page data that you normally see with a teletext based service

No image manipulation is performed at all, if you have problems use the standard WD image configuration mechanisms to tweak for your setup.

Now to see if I can port Zombie Attack for the ZX81 to the WD - kidding!
If you like the work I do please feel free to make a donation to the Red Cross
User avatar
shunte
Developer
 
Posts: 420
Joined: Sun Sep 19, 2010 1:43 am
Location: Cambridge, MA U. S. and A.

Re: Soccer Teletekst   

Postby shunte » Mon Mar 14, 2011 9:54 am

FYI the plug-in code has been updated such that it can now support sub-pages

If you're using the search option and wish to supply a sub-page use the format 123-4, where 123 is the pagenum and 4 is the sub-page; separate the two values with a hyphen

sub-page may also be defined via the XML, see example in the original post
If you like the work I do please feel free to make a donation to the Red Cross
User avatar
shunte
Developer
 
Posts: 420
Joined: Sun Sep 19, 2010 1:43 am
Location: Cambridge, MA U. S. and A.

Re: Soccer Teletekst   

Postby Montreal1 » Tue Mar 15, 2011 9:16 am

Tnx, it's alive :))
Now, 2 things ...
-First, i can see only small resol, based on the center of the screen,
-2nd, since this is live-updated page, i guess it needed some refreshing, let's say every 30-45 sec...

Awesome man, tnx again...:))
Last edited by Montreal1 on Wed Mar 16, 2011 12:47 am, edited 1 time in total.
Montreal1
DLX'er
 
Posts: 73
Joined: Mon Jun 07, 2010 4:09 am

Re: Soccer Teletekst   

Postby shunte » Tue Mar 15, 2011 6:48 pm

@Montreal1, check the picture resolution via your WD image configuration, as stated in my prior post the WD is completely controlling how the image is presented so this is an out of the box configuration setting. This is image configuration from the main WD menu and not any settings under the webend.

there is no timer based refresh in UMSP but you could setup 10-20 entries of the same or multiple pages in an XML config and the WD could play each in sequence, just press play on remote rather than enter.

again through image configuration set a delay between images so this will run smoothly, you can also get fancy with transition effects

there is a loop options available too, press option button on your remote while images are being displayed and make them loop forever, i've not tried this but the option appears to be there so I'm assuming is functional

bend the little bugger to your will!

i'm guessing a proxy could be written that uses ffmpeg to steam a movie of images could also be written but that would take a bit more effort than the 30 minutes this took to put together. I won't be doing it though I've gone a bit snow blind working over that documentation the last week or so and can take no more :geek:

anyway, enjoy ;)
If you like the work I do please feel free to make a donation to the Red Cross
User avatar
shunte
Developer
 
Posts: 420
Joined: Sun Sep 19, 2010 1:43 am
Location: Cambridge, MA U. S. and A.

Re: Soccer Teletekst   

Postby Montreal1 » Tue Mar 15, 2011 7:08 pm

Tnx man!!! :))
Montreal1
DLX'er
 
Posts: 73
Joined: Mon Jun 07, 2010 4:09 am

Re: Soccer Teletekst   

Postby Montreal1 » Wed Mar 16, 2011 12:22 am

Tested and running good, but regarding resolution, i'm getting wrong vert. size.
Only 1 zoom-out, and fits nice...anyway again, nice plugin...:)
Montreal1
DLX'er
 
Posts: 73
Joined: Mon Jun 07, 2010 4:09 am

Re: Soccer Teletekst   

Postby Montreal1 » Wed Mar 16, 2011 12:05 pm

2nd test today ( aprox 30 min loop), and here is my xml:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<content>
  <page>
    <title>731-Live</title>
    <pagenum>731</pagenum>
  </page>
    <page>
    <title>661-Live</title>
    <pagenum>661</pagenum>
  </page>
    <page>
    <title>All Other Results</title>
    <pagenum>734</pagenum>
    <subpage>1</subpage>
  </page>
   <page>
    <title>Ostanati Ligi</title>
    <pagenum>734</pagenum>
    <subpage>2</subpage>
  </page>
   <page>
    <title>Ostanati Ligi</title>
    <pagenum>734</pagenum>
    <subpage>3</subpage>
  </page>
    <page>
    <title>Ostanati Ligi</title>
    <pagenum>734</pagenum>
    <subpage>4</subpage>
  </page>
    <page>
    <title>Ostanati Ligi</title>
    <pagenum>734</pagenum>
    <subpage>5</subpage>
  </page>
</content>


Now, i've set under "All Others Results" section 5 sub-pages, but today originally is only 4 ( someth are 10-15 ).
When Wd try to read 5-th page ( curently doesn't exist ) is over-scan first set-page which is "731-Live" on the Menu and going to next one, "661-Live"
How can be solved so wd will check if there is next sub-page to get info, if not, just stop and go on fist from the menu?
Montreal1
DLX'er
 
Posts: 73
Joined: Mon Jun 07, 2010 4:09 am

Re: Soccer Teletekst   

Postby Montreal1 » Wed Mar 16, 2011 3:04 pm

3rd Test, after 40 min loop, wd just stop, hard restart needed...
Montreal1
DLX'er
 
Posts: 73
Joined: Mon Jun 07, 2010 4:09 am

Next

Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 2 guests