Custom Data Grabber including Sky UK Channel/EPG Grabber (5 Viewers)

Stéphane Lenclud

Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    You telling you had the EPG holy graal and lost the source code :) omg, and why was that stuff not on github on a branch or fork...
     

    Benoire

    MP Donator
  • Premium Supporter
  • March 17, 2012
    679
    161
    45
    Auckland
    Home Country
    New Zealand New Zealand
    You telling you had the EPG holy graal and lost the source code :) omg, and why was that stuff not on github on a branch or fork...
    Not me personally no, I didn't create anything this was all DJBlu's fantastic work and I cannot say about the source code storage either but yes, it was and still is (compiled dlls are on page 1) the holy grail! Luckly the integration with MP is on github as the custom data grabber and then the modified code is under one of the exp banners so as long as Sky don't mess around with the OpenTV setup the plugins won't need changing too much AND we can update the code of the main grabber to match any new MP releases.

    Hopefully you've read the thread but essentially you have a modified MP TVE3 with custom code insterted in to the TSWriter.ax. You then have a dll called custom_data_grabber which is copied in to the main directory of TVE3. Both of these are on github. Then you have the various provider plugins which actually do the scanning and sorting of channels. IF you wanted to create one from scratch you could essentially use a lot of the work from EPGCollector as the custom data grabber deals with pulling the header from the stream. All the plugin will do is process the header and store the results in the database.
     

    Benoire

    MP Donator
  • Premium Supporter
  • March 17, 2012
    679
    161
    45
    Auckland
    Home Country
    New Zealand New Zealand
    No, as hopefully if I have done it properly it will be very similar code and operate in the same way. The index out of bound thing seems to occur and I think it might be related to the location of the data in the header. The code, from what I can tell, uses fixed locations to determine the payload. I would like to have a look at using the descriptor tags in more detail as this is what EPGC uses and I've never had any issues with how that grabs.

    Don't get me wrong, the way the code is genius in my opinion but I think the descripter tag approach may be more flexible in the future.
     

    DJBlu

    Portal Pro
    August 14, 2007
    1,670
    813
    Llanelli
    Home Country
    United Kingdom United Kingdom
    So basically it does all what your sky receiver does, right? Sounds too good to be true. How comes nobody from the German community has ever tried that stuff? Why is it not part of the main distribution? I'm already on 1.7.1 and too busy right now to try it out but I'll certainly give a try at some point.

    Sky Germany use a different EPG system to this. They use the old Premiere system which MediaPortal should decode and populate without any problems.
     

    Benoire

    MP Donator
  • Premium Supporter
  • March 17, 2012
    679
    161
    45
    Auckland
    Home Country
    New Zealand New Zealand
    I guess what a plugin could do is replicate the EPG from the main code but combine it with the autoadd/delete and grouping stuff, that would be feasible yes?
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Sky Germany use a different EPG system to this. They use the old Premiere system which MediaPortal should decode and populate without any problems.

    Not without problem, it's sometimes being funny but yeah it mostly works.
    What's missing however is that auto add/delete/group thing.
     

    DJBlu

    Portal Pro
    August 14, 2007
    1,670
    813
    Llanelli
    Home Country
    United Kingdom United Kingdom
    I guess what a plugin could do is replicate the EPG from the main code but combine it with the autoadd/delete and grouping stuff, that would be feasible yes?

    If you upload a TS grab and I'll take a look into the code.

    I have some free time this evening so could take a look.
     

    Benoire

    MP Donator
  • Premium Supporter
  • March 17, 2012
    679
    161
    45
    Auckland
    Home Country
    New Zealand New Zealand
    DJBlu what are you using to look at the dump that inspects the header? I've used TSReader and DVBStream but neither gave me any useful info and it would be great to sniff in to the code better.
     

    Users who are viewing this thread

    Top Bottom