Enigma 2 plugin - would anybody be interested in this sort of thing?

Sharkadder

Regular Member
My Satellite Setup
Dreambox 8000 HD PVR+DVD, 80cm Dish, 1.2 Compatible Motor, Quad LNB, Samsung 22" 1080p HD TV/monitor, Yamaha RX-V765 Amplifier, Tannoy Mercury FC Centre Speaker, 2 x Tannoy F1 Custom Speakers, 2 x Tannoy FR Custom Speakers, EPOS ELS Sub Woofer
My Location
Teesside (North East England)
Hi everyone,

Firstly i would like to say a happy new year to everybody the new look is taking some getting used to but that isn't what i am here about....p.s. i know it is 4:30am.

Basically since it is the Christmas Holidays still....just and i'm not tied up with other commitments at the moment, i decided to put my previous knowledge of the programming language Python into some effect. Basically somebody from another forum sent me an example of how to display some text on screen with python for enigma2 boxes. With me having a previous knowledge of Python i decided to use this example and edit it for my needs.

The thing i have always wondered was how enigma2 Dreambox's communicate with websites. After some research and trial and error i have now managed to create a plugin for enigma2 based Dreamboxes. The plugin is just a prototype and needs a lot of work doing to it before i even think about what i should do with it. Basically here is what i've done.

Using Python i locate a website, i then search through the source code of this website and display contents from it, over the last few days i have spent several hours per day creating a plugin which will allow people to view football results from around the world on enigma2 based satellite receivers (the screenshot attached shows this). As far as i am aware the plugin shows the scores "live" as the match is being played, so it doesn't just display them after the final whistle has gone.

What i would like to know is, will anybody be interested in this sort of plugin being developed before i start to develop it further? From what i have seen where i get the data from, i should be able to also display goals scored and any red cards which have been handed out during the match. I later wish to parse other websites for data which can then be displayed on a Dreambox, i know many people are after plugins that will tell you what channel football games are one, this would take a lot more effort and time but in the long run it would be doable. Also displaying things such as music chart data is also possible.

I know that the screenshot attached doesn't look healthy and that i have buttons and text drawn all over the place but it is just a prototype. You have to remember i am no graphical designer lol. Would this plugin interest anybody if i clean it up and begin to develop it further?

p.s. No such plugin has been developed for enigma2 as far as i am aware, the sportsinfo one was just for German based things if i remember.

The plugin was tested on a Dreambox 8000 using the latest Nabilosat Blackhole 0.12 image, i don't have an Dreambox 800 ot a Dreambox 7025 to see if it works on them but from development and testing the plugin should run nicely on all machines since it doesn't take much memory to run.

Any ideas and suggestions are all welcome.

Thanks
 

Attachments

  • resultsplugin.webp
    resultsplugin.webp
    37.3 KB · Views: 339
excellent work
dont think i'd ever use it though, but i'm sure a lot of people would be very interested

once you are done with this, one thing that i think someone should work on definately is the subtitle plugin of the dm800 which doesn't work with sky uk :( it just overlaps the text until the screen is completely full
 
subtitle plugin? I don't know how these such things have been extracted as i've never looked into it before. I think that subtitles are from the satellite and not the internet so the way in which i've created plugins i would not be able to get that data unless i did more research which i will not have the time to do.

What i would say is though, they is a subtitle plugin out there, not sure how it works but i've seen screenshots and it looks pretty good, maybe sky uk get theirs a different way to other providers but if this is just a bug i'm sure it would be fixed in later versions without needing another plugin for it.

Anybody have any other suggestions to what websites they think would be good to be parsed and shown within the plugin? The main reason i came up with this idea is because many of the web browser plugins on the Dreambox do not work or just simply crash your box, this way is quicker to get info anyways.

Remember people who come up with suggestions, this is for enigma2 based models only, enigma1 models are written in C/C++ which can be a nightmare once bogged down in code so i'm not even attempting it, plus i no longer have my 500-s to test code on.
 
seeing as you can now make connections via http.

I'm guessing other protocols shouldn't be that hard?

My idea is a BBCIplayer plugin. This would be massive on DM800's/DM8000's . If its possible then maybe in later build it could also include ITVPlayer and C4OnDemand
 
Yeah, that's a great idea!
If you make a plugin, I would be interested in testing it on a qboxhd with enoigma2 as well
 
It is nice to know that you would be able to do some testing on another box for me. As for video streaming i have looked at the mytube player code and i have to say that i do not understand any of it, it is way too complex. I have been told by people that video streaming on a Dreambox is a nightmare, you can only stream certain types of file format and the way in which you stream is a pain to set up, so i'm not looking into that at the moment.

HTTP itself was fiddly, the normal way of getting data from a website in which i'd of used wouldn't work, so i had to use an old fashioned method. As i say though, i have not managed to display pictures properly yet from a website but once i do i'll keep you posted on how my findings go.

I could probably set up a script for the BBC iplayer which would have all the required code in there and just needing the video decoder and player to run it, i'm sure i can have a word with somebody to finish it off for me but i won't be able to look into that for a few weeks. At the moment i try and display some stats from football matches from the website i've got some results from, once i've done this i will look into other thing.

I will attach the file for you to try on your box T_G once i've got these basic match stats it working.
 
Sharkadder said:
Hi everyone,

Firstly i would like to say a happy new year to everybody the new look is taking some getting used to but that isn't what i am here about....p.s. i know it is 4:30am.

Basically since it is the Christmas Holidays still....just and i'm not tied up with other commitments at the moment, i decided to put my previous knowledge of the programming language Python into some effect. Basically somebody from another forum sent me an example of how to display some text on screen with python for enigma2 boxes. With me having a previous knowledge of Python i decided to use this example and edit it for my needs.

The thing i have always wondered was how enigma2 Dreambox's communicate with websites. After some research and trial and error i have now managed to create a plugin for enigma2 based Dreamboxes. The plugin is just a prototype and needs a lot of work doing to it before i even think about what i should do with it. Basically here is what i've done.

Using Python i locate a website, i then search through the source code of this website and display contents from it, over the last few days i have spent several hours per day creating a plugin which will allow people to view football results from around the world on enigma2 based satellite receivers (the screenshot attached shows this). As far as i am aware the plugin shows the scores "live" as the match is being played, so it doesn't just display them after the final whistle has gone.

What i would like to know is, will anybody be interested in this sort of plugin being developed before i start to develop it further? From what i have seen where i get the data from, i should be able to also display goals scored and any red cards which have been handed out during the match. I later wish to parse other websites for data which can then be displayed on a Dreambox, i know many people are after plugins that will tell you what channel football games are one, this would take a lot more effort and time but in the long run it would be doable. Also displaying things such as music chart data is also possible.

I know that the screenshot attached doesn't look healthy and that i have buttons and text drawn all over the place but it is just a prototype. You have to remember i am no graphical designer lol. Would this plugin interest anybody if i clean it up and begin to develop it further?

p.s. No such plugin has been developed for enigma2 as far as i am aware, the sportsinfo one was just for German based things if i remember.

The plugin was tested on a Dreambox 8000 using the latest Nabilosat Blackhole 0.12 image, i don't have an Dreambox 800 ot a Dreambox 7025 to see if it works on them but from development and testing the plugin should run nicely on all machines since it doesn't take much memory to run.

Any ideas and suggestions are all welcome.

Thanks

There is an enigma1 plugin for this - and it is very popular.

Good luck with your development.

If you want any help with the display etc. I would be pleased to help. :)

Someone mentioned BBC Iplayer. If anybody knows how to download a video from BBC Iplayer (not just view it with Iplayer) please pm it to me - I will make a streaming plugin. I tried it before but could not find the download url.

Cheers, pcd.
 
just to let people know that i have now parsed the stats data (goal, red and yellow cards and timings) from the website and will include this within the plugin when you click on a match. Do you know much about python and enigma2 PCD? It would be nice for me to display this in a tabulated format as just displaying it on screen with no text formatting looks rather scruffy, plus i don't know anything about formatting in enigma2. I will post plugin up before saturday (when matches are on so people can test it for me). If i get chance i look into how i can include pictures also.

Thanks man
 
Sounds like a nice project mate , well done. Keep up the good work and keep us posted !
 
Just letting people know that this plugin will not be avilable for tomorrow i doubt, i have had a few issues with the way the Dreambox treats spacing. On windows it is fine and each character is the same width, on Dreambox each are different so the formatting is messed up, i can solve it but it will take a day or two.

I'll see what i come up with tomorrow :-).

TTFN
 
It's a very nice idea. Unfortunately I can't test it on my Dreambox 8000 with OpenPli, due to viewing restrictions abroad, unless you make it with a proxy in it. Let me know, if I can test for you, no problem!
 
PCD said:
There is an enigma1 plugin for this - and it is very popular.

Good luck with your development.

If you want any help with the display etc. I would be pleased to help. :)

Someone mentioned BBC Iplayer. If anybody knows how to download a video from BBC Iplayer (not just view it with Iplayer) please pm it to me - I will make a streaming plugin. I tried it before but could not find the download url.

Cheers, pcd.

This should interest you.

-http://po-ru.com/projects/iplayer-downloader/
:D

[fieldset=Admin]live link removed please observe the forum rules[/fieldset]
 
Hi guys,

Sorry about the long wait but i have been busy and not had the time to program until this last week (Half Term week in England) (That is when i get days off to do some hobby stuff :-p).

Anyways the software has been developed more but the bad news is i will not be releasing it this weekend. the reasoning for this is because i have not yet added in the Vide Printer function which will be added in tonight probably.

The current testing version of my software now does the following:


  • Automatically gets information from my website what is new in future versions of the software
  • Allows you to update the software at the touch of a button
  • Displays match fixtures, scores and results for matches throughout the world
  • Shows match stats for games currently being played (providing some stats are available for that game). Stats include when a player has scored, been booked, sent off, got a second yellow card or scored off a penalty
  • Shows which games are in progress
  • Refresh scores and stats at the touch of a button
  • Read Me (which will be updated all of the time) will be included and automatically updated via the internet as new versions become available.
  • Will include live BBC Vide Printer as an option also

That is about all at the moment, i have posted some screenshots also so that you can see it in action. You will notice a green blob next to active matches and a graphic drawn on the stats screen to whatever has happened in the game (e.g. a picture of a football is drawn when a goal has been scored etc.).

The next update will include the software.

p.s. i am aware that another piece of software like this for enigma2 does now exist and hopefully they will turn into one once i send the guy who created it my version.

Thanks
 

Attachments

  • matches..webp
    matches..webp
    59.4 KB · Views: 130
  • pressbutton..webp
    pressbutton..webp
    39.7 KB · Views: 127
  • menu..webp
    menu..webp
    44.8 KB · Views: 119
  • update..webp
    update..webp
    67 KB · Views: 109
  • about..webp
    about..webp
    49 KB · Views: 108
  • intro..webp
    intro..webp
    60.2 KB · Views: 113
  • matchstats..webp
    matchstats..webp
    39.3 KB · Views: 113

Attachments

Anyone tried it out yet?
I suppose this is for enigma2?
 
Hi T_G,

Yes I have tried the plugin, and found it in DM8000 plugins and replied in that thread, ( I did not know that there was 2 threads )

Details copied from the DM8000 plugin thread as below :-

Hi Sharkadder,

Re:- Feedback

DM800 Genuine box running BH 0.12 in USB ( meo boot )
Enigma D2009.10.06.09.37.50-Oct 17 2009
Image: dev-2009-10-09

Unfortunatly my box will not run this plugin, have done manual install twice and on running both times it reports a system error and produces a crash log which has been sent to DM

Sorry

Regards
 
Hi people,

Yep i am aware of the problem. The problem is to do with the naming of file names. For some reason Nabilo are intent on calling the names for the buttons different to other image creator, this caused peoples boxes to crash as no such files actually existed. I am no longer going according to what Nabilo say and have switched to Dream Elite. The plugin works on dream elite 1.0 and that version will be available to download tomorrow.

Look out for the edited post.

This plugin is enigma2 only and will be updated by me and a few others on a regular basis. The updates can automatically be downloaded via the plugin so no need to be revisiting forums etc. once installed.

p.s. i am not sure about using a bootable image from flash and i have not tested it on such a thing, i will look into it though.

Thanks for the patience guys,

Mark
 
Hi there,

attached is version 0.1 of the software. I have tested it on Dream Elite image 1.0 for enigma2 and it works well. To be sure that it should work on any image i have also linked the buttons to a folder within the plugin and so the error everybody was getting will be abolished for all firmware images.

I have noticed that some images treat the positioning of widgets differently and when i tried the plugin on Dream Elite everything was out of place, i have corrected this and maybe now everything will be displayed correctly. If not then it is because your image positions things different to Dream Elite.

So far i have only tested this version on Dream Elite 1.0 for enigma2, it would be good to get a test from other images but i cannot see a problem with it working on any later images.

500HD and 800HD testers are needed so just post once tested.

Again sorry about the delay,

Next i work on 0.1a which will include in depth readme, more help and some minor bug fixes if i find any.

INSTALL
=====

  • Unpack .zip onto machine

  • put ipk file into /tmp

  • manual install ipk on box

  • restart enigma2

Thanks a lot for being so patient guys.

Mark
 

Attachments

Hi Sharkadder,

Very good plugin ! I have not checked the data yet.

I have modified it for SD boxes to use with my 600/7020 e2 images. Attached are some screenshots.

I have changed the skins. Hope you like them. I will post the modded plugin soon (after Emmerdale to night).

ps. I suggest another name because Websiteparser is very general - users will not know what it parses. I used FootballPlus - but you may think of another name. :)

Cheers, pcd.
 

Attachments

  • screenshot4..webp
    screenshot4..webp
    37.7 KB · Views: 103
  • screenshot3..webp
    screenshot3..webp
    33.2 KB · Views: 94
  • screenshot2..webp
    screenshot2..webp
    45.6 KB · Views: 92
  • screenshot1..webp
    screenshot1..webp
    30.4 KB · Views: 102
  • screenshot5..webp
    screenshot5..webp
    43.6 KB · Views: 91
Hi PCD, the thing is the plugin is going to be a mega website parser and not just football specific. The reason is not everybody is interested in football, they also like movies and music. I am going to be parsing other related websites too and it will be all in one mega plugin. Everybody knows the plugin now as the website parser from other forum.

It would be good to have a skinner as graphics isn't my strong point, i just use what i can get my hands on really when it comes to graphics. Post your new version and i will morph it in with mine with your new skin and design as i have made a few bug changes since.

Looking at the screenshots you have done a very good job there, i'll have to take a look at it and see what i can learn from you. Your name will go into the credits now since i do like the way you have now set it out. just post your modified version and i'll take a look at it, cheers man.

How did you modify it for use on a 600? I thought 600 were all enigma1 and didn't realise it needed modifying for SD models which were on enigma2 anyway (unless the file paths are different).

Thanks for the help,

Mark
 
Back
Top