Question: How to get data from the day before? (1 Viewer)

lulsam

Portal Pro
December 28, 2006
116
6
Home Country
Spain Spain
I am wondering if there is a simple way to point webepg to get not the [current_day] + X following days of data from a web site but starts with [current_day - 1] + X following days

The reason behind this question is because there are several web site providers that include in a single day data from 9:00 AM to 9:00 AM, which means that ff I run the webepg process, lets say at 5:00 AM I get only data from 9:00 AM and before (as it should, because the webpage does not include it). I selected the recommended setting to clean the old webepg data before import, therefore some channels does not have any program before 9:00 AM, which it is not a big issue but a bit annoying.

I considered as a workarround to run the webepg process not at 5:00 AM but at 11:45 PM, but some times the provider does not fully update the data from the following days (while TV series and films data is accurate, with some key sports events it is not clear which channel will offer it so the epg data is not fully accurate unless you updated it day by day)

Thanks in advance
 

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    As far as I know, this is not possible. However, if you are using 1.1.0 beta or later, you can select to only delete existing data that overlap newly grabbed data. This way you keep data for 5:00am - 9:00am from the previous grab and replace data from 9:00 am and on using the new grab. For 1.0.2 I am afraid this is not possible.
     

    Khurram

    Portal Pro
    May 12, 2008
    211
    5
    Home Country
    Pakistan Pakistan
    However, if you are using 1.1.0 beta or later, you can select to only delete existing data that overlap newly grabbed data.
    I am using 1.1.0_RC-1_rev25080, but I could not find such an option in TV-Server Configuration->Plugins->WebEPG. The only related setting is a checkbox for "Delete old program before import (recommened)" which is checked. Can you please let me know where is this option? Also, is there a setting to limit previous days data; otherwise the epg data would keep on growing.

    Thanks.
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    Yep you are right. There were initially two options but now they have been merged.

    EPG data is always deleted after 24 hours, so the database will not keep growing but at some point this has stopped working. It is working again in RC2.
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom