DVB EPG Grabber runs in endless loop! (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Euh i'm lost :)
    What channel do i take for get the full EPG (for i would say one week) ?

    From my testing, if i didn't watch TV, EPG (idle) will grab channel EPG (the one i tick).
    So here, need to only check one or two channel (it's enough).

    But now i will explain the issue i get :
    If i watching a movie (so doing timeshift) EPG grabber will run until timeout and after that, no more EPG grabbing, because here, the EPG refresh is not handled.
    Like i need to have a EPG refresh all 30 minutes, after 30 minutes of movie, i'm starting to lost TV Guide information.

    Now, imagine that lol :
    TV Guide if filled because EPG Grab 1 or 2 channels.
    I start to watch a channel (not ticked in setting) EPG grabbing on timeshift will not work (this is by design), so after 30 minutes, i start to lost EPG info and after 1 or 2 hours of movie, TV GUIDE is empty.

    If i change to another channel (not ticket), EPG will never be back.

    If i change on channel (ticket), EPG will be filled for current and next hour and no more.

    So in final to have EPG, i need to stop timeshift, to have EPG Grabbing in idle mode start to work.

    What i have patch on my side (personal use) :

    1- Add a refresh timer running while timeshifting, that mean here, EPG with start all 30 minutes (so in final i will always have my EPG filled)
    2- Always start EPG even if channel is not ticked (while timeshift/recording).

    So it means :
    When EPG is idle, EPG Grabbing will run EPG all 30 minutes on my 2 channels ticked.
    If i start to watch a movie, EPG will start (even if channel is not ticked) and grab EPG all 30 minutes.

    If final : I will always have my EPG filled :)

    This case only happen when Provider only send EPG for current/next hour.
    If EPG will be filled for example one week, there is no need to adapt the code :) only one grab all 4 hours will be enough :)
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Yep, i think for timeshift only, we need to get ride of the check in code :...

    If we remove : if (channel.GrabEpg) then it will try to grab epg even if channel is not ticked.
    That would be incorrect. You do not need to grab EPG from every channel in order to get EPG for every channel. As I keep saying (and wizard confirmed for you): you only need to tick one or two channels per provider to get EPG for all of the provider channels.

    I agree if EPG can be filled for full week or something.
    But if you run in my case only little EPG is filled, then you need to get max EPG as possible (all 30 minutes) and then try to get EPG (with refresh timer) if you watch the same channel the whole day, otherwise EPG will be never filled. :)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Euh i'm lost :)
    What channel do i take for get the full EPG (for i would say one week) ?
    As wizard said:
    Guide TV or data1 channels download CSAT EPG from satellite

    He said it gives you about 3 days.

    From my testing, if i didn't watch TV, EPG will grab channel EPG (the one i tick).
    So here need to only check one or two channel (it's enough).
    Yes... and to be clear, this should give you ~3 days of EPG data for all channels. Not just a few hours.

    But now i run into the issue i get :
    If i watching a movie (so doing timeshift) EPG grabber will run until timeout and after that no more EPG grabbing because here, the EPG refresh is not handled.
    Like i need to have a EPG refresh all 30 minutes, after 30 minutes of movie, i'm starting to lost TV Guide information.
    Two separate problems here:
    1. You've ticked the wrong channels so you only have ~30 minutes of guide data instead of 3 days.
    2. The timeshifting EPG grabber only grabs when you start timeshifting, and does not refresh.
    The second problem would not matter so much if you fixed the first problem.

    Now, imagine that lol :
    TV Guide if filled because EPG Grab 1 or 2 channels.
    I start to watch a channel (not ticked in setting) EPG grabbing on timeshift will not work (this is by design), so after 30 minutes i start to lost EPG info and after 1 or 2 hours of movie, TV GUIDE is empty.

    If i change to another channel not ticket, EPG will never be back.

    If i change on channel ticket, EPG will be filled for current and next hour and no more.

    So in final to have EPG, i need to stop timeshift, to have EPG Grabbing in idle mode start to work.
    It seems you haven't understood what wizard said. :)
    Please tick the Guide TV and data 1 channels. This should give you EPG for ~3 days. Then you only have a problem if you timeshift for 3 days, LOL. ;)

    What i have patch on my side (personal use) :

    1- Add a refresh timer runnign while timeshift, that mean here EPG with start all 30 minutes (so in final i will always have my EPG filled)
    This is okay.

    2- Always start EPG even if channel is not ticked (while timeshift/recording).
    I don't like this. It is almost the same as ticking all channels.

    This case only happen when Provider only send EPG for current/next hour.
    If EPG will be filled for example one week, there is no need to adapt the code :) only one grab all 4 hours will be enough :)
    Exactly. Your provider is sending more that just current/next. You've just ticked the wrong channels. Please try the configuration suggested by wizard.

    mm
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Shame on me :)
    Thanks :) i really don't see/read that : 'Guide TV or data1' are channel lol and i need to find the frequency, because i surely delete them :)

    So with 3 days of EPG, the workaround i have add is not fully needed :)

    I don't like this. It is almost the same as ticking all channels.

    Yes and no :) it's only active when timeshifting and no when idle but here we don't have to tick all channel so on idle is not impacted :)

    Did you receive my xml ?
    Will go to scan those both channel (after i find freq) 'Guide TV or data1' and only tick them.

    Thanks.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    It wasn't a question i was just letting you know if you have those channels in your list and only have those two checked it should pull down all your epg info ( upto 3 days i think ).:)

    If you select only those then go into manual control to stop service, when you then start service again you can see the tuner turn red ( in use ) and states which of those channels it is pulling data from.

    Now it's clear and i don't understand why i didn't understand it before, but i didn't have those channel and seems that i can't find it or it's too late for me lol
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)

    I have read on net (google) yesterday night :
    On french channel, they don't deliver full EPG, only current/next lol (was source from 2012 maybe they change it but i don't think so, french are so lammmmm)

    About the frequency, it's not Canal Sat France so i don't think it will be ok :( but thanks anyway, si if i'm right, i need to use my workaround :
    1- Scan EPG all 30 minutes when idle (on few selected/ticked channel i.e 1 or 2)
    2- Scan EPG with refresh Timer while timeshifting/recording all 30 minutes
    3- Always start EPG grabber for all channels, only active when timeshifting/recording (so get right of the line code to know if the channel is ticked or not)

    :p
     

    Users who are viewing this thread

    Top Bottom