You are here

Error due to site using timeformat 24:xx instead of 00:xx

6 posts / 0 new
Last post
karimf
Offline
Joined: 10 years
Last seen: 8 years
Error due to site using timeformat 24:xx instead of 00:xx

Cheers all,

I've been getting the following error and it seems (from the log) it is due that the site uses the time at midnight as 24:xx instead of 00:xx

Log error:

[  Error ] time parsing error : The DateTime represented by the string is not supported in calendar System.Globalization.GregorianCalendar.
[  Error ] stoptime time scrubbed : 24:30
[  Error ] computer date/time format: 07/05/16 12:41:26

I added a line to replace 24:30 with 00:30, it worked but skipped 2 shows as "negative time".

How can I correct this...because some days have this time format when the schedule has a show with start/stop time around midnight and some days don't because the schedule doesn't have a show with start time around midnight.

Also, some days have the time written correctly as 00:xx.

(and my line seems to prevent the error for this special day/show but it will not always work + it will not always be 24:30)

It may be also a one time mistake from the website administrator, I can't tell !!

Thanks for any advice guys.

Cheers to all.

 

 

karimf
Offline
Joined: 10 years
Last seen: 8 years

Thanks Blackbear199 for getting back to me.

It's the dmi.ae.ini. Channel in question is dubaione.

cheers.

karimf
Offline
Joined: 10 years
Last seen: 8 years

Thanks Blackbear for your help :)

I have already adjusted  the redirection of address some time ago (forgot to mention it, sorry it could have helped others, I guess I'm getting old !!).

Will test the ajusted time issue you made and let you know how it goes.

Thanks again.

karimf
Offline
Joined: 10 years
Last seen: 8 years

Cheers Blackbear199,

I just tested the new ini file.

There are 2 problems in the guide it gets:

1- in the log file: [  Debug ]    skipped negative show time! at 08/05/16 00:30:00

2-  <programme start="20160508000000 +0400" stop="20160508023000 +0400" channel="dubaione">
    <title lang="en">The Tempest</title>
    <desc lang="en">In Julie Taymor's version of 'The Tempest,' the main character is now a woman named Prospera. Going back to the 16th or 17th century, women practicing the magical arts of alchemy were often convicted of witchcraft. In Taymor's version, Prospera is usurped by her brother and sent off with her four-year daughter on a ship. She ends up on an island; it's a tabula rasa: no society, so the mother figure becomes a father figure to Miranda. This leads to the power struggle and balance between Caliban and Prospera; a struggle not about brawn, but about intellect</desc>
    <icon src="http://746506.skal.fun/%3Ca%20href%3D"http://www.dcn.ae/dubaione/uploads/programs/Large_20859.jpg">http://www.dcn.ae/dubaione/uploads/programs/Large_20859.jpg" />
  </programme>
  <programme start="20160507220000 +0400" stop="20160508003000 +0400" channel="dubaione">
    <title lang="en">American Hustle</title>
    <desc lang="en">A fictional film set in the alluring world of one of the most stunning scandals to rock our nation, American Hustle tells the story of brilliant con man Irving Rosenfeld (Christian Bale), who along with his equally cunning and seductive British partner Sydney Prosser (Amy Adams) is forced to work for a wild FBI agent Richie DiMaso (Bradley Cooper). DiMaso pushes them into a world of Jersey powerbrokers and mafia that's as dangerous as it is enchanting. Jeremy Renner is Carmine Polito, the passionate, volatile, New Jersey political operator caught between the con-artists and Feds. Irving's unpredictable wife Rosalyn (Jennifer Lawrence) could be the one to pull the thread that brings the entire world crashing down</desc>
    <icon src="http://746506.skal.fun/%3Ca%20href%3D"http://www.dcn.ae/dubaione/uploads/programs/Large_28938.jpg">http://www.dcn.ae/dubaione/uploads/programs/Large_28938.jpg" />

The point number 2 (in Bold Underline) it gets the show starting 08 May 00:00 before the show starting 07 May 22:00 !!

I think this is caused by the site itself not the ini because they have a show starting 07 May at 24:30 then after it a show starting at 08 May 00:00, which is of course an overlap and causes this issue.

It makes the guide unreadable (can't open it anywhere) even by EPGEdit. Am I right?

Guess we can't solve this. Hope it's a one day problem as it never happened before otherwise would have to remove this channel from the webgrab config file.

Thanks again mate :)

karimf
Offline
Joined: 10 years
Last seen: 8 years

yeah you're right, the gmt has this same mistake as the uae time. But as far as 3 days go on the site it is only happening 1 time (today midnight).

will see if it is only a one time issue by their site administrator.

 

karimf
Offline
Joined: 10 years
Last seen: 8 years

Thanks a lot Blackbear199, will test right away.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl