[Approved] Store EPG only for Channels on same Transponder (1 Viewer)

snowball

Portal Pro
December 24, 2008
51
12
Home Country
Germany Germany
Hi,

In germany the ARD group sends the next 2 Programs of the ZDF Group also on their transponders. this results that you have only 2 programs in the EPG for ZDF channels. similar thing happens on SKY germany. they seem to send EPG for all their channels on all transponders but only detail (description) on the transponders where the channel is located. As timeshift EPG is not an option for me i have patched the TV service in a way that it only updates the DB for channels received from EPG that are on the same transponder.
That seems to be quite a german problem, but would would be good when you could have a look if it can be integrated into the main program.
not sure if i have done all correctly ... but its the first time that i post a patch.

At least it works for me.

currently i have patched it against 1.1.1 as i have only one "productive TVServer" running this version at the moment.

Chears Snow

**************************************************************************
update:
attached a version for the current 1.2.0 SVN with the recommended code changes
 

Attachments

  • MP1.2.0_svn_epg_transponder_v0.2.patch
    16.1 KB
  • MP1.1.2_epg_transponder_v0.2.patch
    16 KB
  • epgfix_1.1.2.zip
    690.4 KB
  • epgfix_1.2.0_alpha.zip
    696.4 KB

gemx

Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Seems like a nice addition.

    Could you please update the patch so that it includes the following:

    1) setting in SetupTV to enable/disable the setting
    2) Move the logic for this switch into the dbupdater class

    :D

    for your work so far
     

    snowball

    Portal Pro
    December 24, 2008
    51
    12
    Home Country
    Germany Germany
    will see what i can do. i am not that familiar with all the MP code. will take a while to work into all the logic.
    I had a look at moving the change to the dbupdaterclass.
    from what i can see this class is not aware of the current tunning details. so moving this to the dbupdater class would need to hand over the tunning details. I think this will have more impact on the code. i have to look if the timeshift epg grabbing can be changed too.

    Cheers Snow
     

    snowball

    Portal Pro
    December 24, 2008
    51
    12
    Home Country
    Germany Germany
    Hi gemx,

    added the config switch in the configuration for tvservice.
    i did not moved the logic for the filtering to the epgupdater class. i think that this might lead to problems. as there are events fired although we filter out the EPG program in the epgupdater class. this might lead to inconsistencies as plugins might react on the events fired but will not find an entry in the DB. i moved the filtering to the implementations of the different DVB versions. this basically does the filtering like an input filter (all Plugins/DB will have the same information later)
    at the moment i could test it only for DVBS. but there should not be a big difference for the other DVB types.
    here the patch for the 1.1.1 version View attachment MP1.1.1_epg_transponder_v0.1.patch
    i also tried to patch against the 1.2.0 SVN but had some errors so i also created another patch file for the svn version View attachment MP1.2.0_svn_epg_transponder_v0.1.patch

    again pls be patient with me in case i did not followed some rules. :oops: let me know what to change.
    Would be nice when you can have a look if this can be incorporated.

    ps.:
    completely missed in my first post. :oops:
    THANKS for all the the good work MP Team!

    Cheers Snow
     

    riksmith

    Portal Pro
    April 18, 2009
    1,856
    322
    Home Country
    Netherlands Netherlands
    Question: What is the default if you do not set the config yourself? I would like the functionality to stay as i currently is unless you choose the option yourself.
     

    snowball

    Portal Pro
    December 24, 2008
    51
    12
    Home Country
    Germany Germany
    I currently set it to disabled by default. so classic methode all will be grapped.

    Cheers Snow
     

    romuz

    Retired Team Member
  • Premium Supporter
  • July 26, 2008
    1,045
    250
    Moskau
    Home Country
    Russian Federation Russian Federation
    Proposal: With this addition for easier maintain we should add a transponder identifier to channel assignment to grab epg layout.
    Its enough to grab epg from single channel per transponder but this information is hiden from user.
     

    snowball

    Portal Pro
    December 24, 2008
    51
    12
    Home Country
    Germany Germany
    All,

    thx for the advices. i've changed the patch accordingly and attached in the first post.
    Btw... when i have done the changes, do i have to change the status of the thread to evaluate again?

    romuz
    i did not completely got what you want to achieve.
    can you explain a bit detailed?

    Cheers Snow
     

    Users who are viewing this thread

    Top Bottom