Problem with #END (1 Viewer)

mfalk

Portal Pro
July 10, 2006
122
4
Home Country
Denmark Denmark
I have made a new grabber for www.ahot.dk (Attached)

It works perfectly as long as i do NOT use the #END tag

When i use the #END tag i get this error:

2007-03-18 20:23:19.640625 [ERROR][1]: WebEPG: Fatal Error
2007-03-18 20:23:19.640625 [ERROR][1]: WebEPG: Parametrene Year, Month og Day beskriver en DateTime, der ikke kan repræsenteres.
2007-03-18 20:23:19.640625 [Info.][1]: WebEPG: Finished

The error is in danish but basicly it says that it cannot create a date, but why is it doing that, i'm only getting the time.

Another thing: How do you debug the grabber? I have tried the tester, but i get a SQLLite exception, and the IDE is not showing me were?
 

James

Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    The Tester is for testing all grabbers and maybe shouldn't be included in the releases.

    For developing a grabber download the designer from the Wiki.
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Thanks for your great work. I've add the grabber to the SVN and found the problem.

    Currently it is not possible to put an #END tag in the popup page. This is because all the timing calculations are done before getting the extra page.

    Unless this is causing big problems then I would rather not change this. I have fixed it so that there is now no Error. The #END tag data is ignored.
     

    mfalk

    Portal Pro
    July 10, 2006
    122
    4
    Home Country
    Denmark Denmark
    Thank you

    Hi james

    Thank you for the answer.

    Actually i would really like to be able to grab the end time. The reason is that the last show of the day is sometimes getting very looong.

    Alternatively you could be some setup where the user can specify max length for last show of the day (I have seen that in another grabber tool and think it is very helpful). This could probably also be used in a lot of the other grabbers.
     

    mfalk

    Portal Pro
    July 10, 2006
    122
    4
    Home Country
    Denmark Denmark
    Regarding the designer

    Hi James

    I did actually use the designer and it is a very helpfull tool, however the suppage stuff was not something that i could figure out by using the desginer :), which is why i would like to be able to debug.

    br
    Michael
     

    mfalk

    Portal Pro
    July 10, 2006
    122
    4
    Home Country
    Denmark Denmark
    Sounds great....

    ...if you could get a debug environment to work i would be happy to help out on the coding.
     

    Swede

    Portal Pro
    September 6, 2006
    493
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    Actually i would really like to be able to grab the end time. The reason is that the last show of the day is sometimes getting very looong.

    Alternatively you could be some setup where the user can specify max length for last show of the day (I have seen that in another grabber tool and think it is very helpful). This could probably also be used in a lot of the other grabbers.

    Have you found any solution to this "last show" problem? It´s really annoying!
     

    Users who are viewing this thread

    Top Bottom