No program in EPG makes WebEPG fail (1 Viewer)

petsa

MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Hi!

    I am trying to download the EPG data for a channel (SVT-HD) that does not have programs running everyday. The problem I face is that WebEPG will fail and stop on the first day without any shows. If this happen to be the current day nothing is downloaded, if it is a couple of days from now only the programs up to that point are downloaded.

    It seems as WebEPG stops when there is nothing to download. In this case I would like WebEPG to stop and do nothing more for that day, but then continue with the day after and try to ready data.

    I have attached the webepg.xml and grabber file I use.

    Any ideas anyone?

    /Peter
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi petsa,

    Are there certain days without guide every week (like Sunday)? Or is it irregular?

    Is it only 1 day without guide or can it be 2 in a row?

    /James
     

    petsa

    MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Hi James,

    I'd rather say it is irregular. This is a new HDTV channel, only broadcasting some (irregular) days at the moment.

    /Peter

    BTW. Have you had any chance to look at my issue with the conditional #END-statement in my post from a couple of days ago? Sorry to be a pain...
     

    petsa

    MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Hi James,

    Do you think this problem could be worked-around by having the webepg-grabber continue with the next day rather than giving up on the entire channel?

    /Peter
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi Peter,

    Yes. I will look into a way to get the grabber to continue when a day has no data. I am just trying to think of the best way to handle this.

    My current favourite is to mark the channels in the config file that should not error out on the first empty day. Maybe even include an option for the number of empty days before giving up?

    Any other ideas welcome,

    /James
     

    petsa

    MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Hi James,

    I also realized this may happen if/when I run the grabber late at night when there are no shows left on the current day. This is typically happening when I debug something after the family gone to bed so it may be less of an issue ;)

    I'm not quite sure I follow your reasoning re marking the channels in the config file. Does that mean I need to know in advance if a channel is likely to fail or not? If there is no data to grab on a given day, wouldn't it be possible to just mark that day with "No data available" or something? Similar to chat happens today if you go outside the days where data has been grabbed and no data is yet available.

    I've said it before, but I have to say it again: You guys in the MP development team is doing an awesome job!

    /Peter
     

    petsa

    MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Hi James,

    Have you had any time considering the best approach to keep grabbing EPG-data for a channel which may not have data for a particular day? Today the grabber dies for that channel and won't proceed to the next day (where there may be data to grab).

    Cheers

    /Peter
     

    Users who are viewing this thread

    Top Bottom