Dish/Bev EPG grabber released in SVN. (2 Viewers)

gemx

Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Was able to find out a bit more:
    - The "payloadUnitStart" bit in the section header should be "1" when a new section begins in the ts packet
    - It should be "0" if a section continues in this ts packet
    - The packet is only parsed if "payloadUnitStart=1".
    It seems as if normal epg infos don't spread over several packets so nobody encountered that problem BUT DISH eepg uses this so we miss a show whenever a section spreads over more than 1 ts packet :)
    Problem is: don't know how to solve this at the moment
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Ok. Got a bit further.
    I was wrong before.
    A ts packet always contains 188 bytes.
    4 bytes header and 184 bytes payload.
    The payload as far as pes packets are concerned can be 1 of the following:
    1. One PES packet per TS packet. If the pes packet does not fit in the 184 bytes payload it continues in the next TS packet
    2. One PES packet starting AND one PES packet continues in ONE ts packet
    At the moment only option 1 is parsed.
    But DISH seems to use option 2 so there are our skipped shows :)
    So we have to implement option 2 too to get the missing shows as at the moment, these PES packets are dropped.
     

    CodeMonkey

    Portal Pro
    December 8, 2004
    360
    30
    North America
    Home Country
    United States of America United States of America
    Nice work gemx. I'm confused though how this could have caused random shows missing. Unless they really weren't random, but just looked that way because of grabbing the (E)EPG at a later time?
     

    CodeMonkey

    Portal Pro
    December 8, 2004
    360
    30
    North America
    Home Country
    United States of America United States of America
    I just had a look through the Myth source and it looks like it handles the "payloadUnitStart" the same way we are. Does anyone know for sure if Myth has this problem with NA EPG missing shows as we are seeing?
     

    CodeMonkey

    Portal Pro
    December 8, 2004
    360
    30
    North America
    Home Country
    United States of America United States of America
    I just heard from a very reliable source that Myth (with the EIT Transponder Scanner patch) does not miss channels. At least we have a working model to look at.
     

    Nox71

    Portal Member
    May 5, 2005
    21
    0
    Good work Gemx and Asidie, i just give it a try and it grab almost all the Epg from Bev91, by the way for the one viewing this bird the best channel for Epg grabbing is A&E615. I will take a look in the SVN Build section to see when you have new version to try and give you feedback. The only thing that bother me is the channel numbering but i am working on that, i am using MySQL and start looking in a Sql command that will change the sorting order to match the sid number of the channel.

    See Ya ;)
     

    ASiDiE

    Retired Team Member
  • Premium Supporter
  • January 14, 2005
    902
    5
    USA
    This small app should have been released before.. but here it is. I think this will do what you want NOX71. This program will rename the channels based off of the SID of the channel... so Home becomes 100 Home. It can also just sort the channels by SID and not rename them.

    ALL credit goes to GEMX on this one... Thanks again!
     

    Nox71

    Portal Member
    May 5, 2005
    21
    0
    Thanks for the app Asidie but that don't work for me, i tried two times but no change to my channel sortorder. I first stop the TVService, after that start the app and enter credential to connect to SQL and choose, click on Reorder by SID, choose all channels and click ok. After that when i get back into TVServer my order have not chnged.

    Edit: I was wrong my sortorder is ok but when entering channel number it don't work, it start at channel 1 and so on.
     

    ASiDiE

    Retired Team Member
  • Premium Supporter
  • January 14, 2005
    902
    5
    USA
    Nox71... you are correct, it's just going to rename and put in order or just put your channels in order (by SID). This app does not fix the issue where you would like to hit the number of the channel and go to it. Don't know if anyone is working on that, but I am sure in the future, it will be fixed.
     

    Users who are viewing this thread

    Top Bottom