Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: trying to add a EPG obtain error because is GTM+2 #264

Open
Crosus97 opened this issue Oct 27, 2024 · 13 comments
Open

Bug: trying to add a EPG obtain error because is GTM+2 #264

Crosus97 opened this issue Oct 27, 2024 · 13 comments
Assignees
Labels
bug Something isn't working

Comments

@Crosus97
Copy link

Crosus97 commented Oct 27, 2024

Describe the Bug
When you try to add a Spanish Know EPG DobleEPG (General or Emby in my case) show the error:
image

This error doesnt occur on the "Old" version of Streammaster

I think issue #203 has the same error but does not provide enough information on the issue

Stream Master Info

Link to logs (required)

@Crosus97 Crosus97 added the bug Something isn't working label Oct 27, 2024
@DieguitoCigala
Copy link

I have the same problem and i use the epg without +0200 i receive the next message "String '202410270000' was not recognized as a valid DateTime"

@SenexCrenshaw
Copy link
Owner

try latest

@DieguitoCigala
Copy link

Now its OK. Thanks friend!

@Crosus97
Copy link
Author

Perfect, this work perfectly

TY so much for your Work

@Crosus97
Copy link
Author

Crosus97 commented Oct 31, 2024

image

https://raw.githubusercontent.com/davidmuma/EPG_dobleM/master/guiaiptv.xml

i obtain a new error, in this case because is GTM+1 Maybe?¿

@Crosus97 Crosus97 reopened this Oct 31, 2024
@DieguitoCigala
Copy link

DieguitoCigala commented Nov 1, 2024

Yes, the same error with +01 "System.FormatException: The DateTime represented by the string '20241032010000 +01:00' is not supported in calendar 'System.Globalization.GregorianCalendar'."

On the epg doesn't exist this date 20241032010000 (32th October). Maybe when processing the date you make some change and it causes this error

@SenexCrenshaw
Copy link
Owner

gotta love dates like
20241032010000
32nd day of october!

@SenexCrenshaw
Copy link
Owner

try
0.17.3
tested with
["20240824240000 +0200", "202410270000", "20241032010000 +01:00", "20241102243000 +0200", "2024040830000 +0000"]

@DieguitoCigala
Copy link

Hi Senex, I think that +0100 and +0200 only indicate GMT+1 or GMT+2 but they do not have to be added to the actual time of the date.

@Crosus97
Copy link
Author

Crosus97 commented Nov 6, 2024

for me its fixed

@DieguitoCigala
Copy link

DieguitoCigala commented Nov 7, 2024

Ok. I've already found the problem. You're removing the +0100 from the programs and then my ott navigator or kodi is configured as GMT+1 (from my country) and the programs come out an hour later than they should when that +0100 is removed. I don't know if you can fix it so that your program shows the epg with that +0100.

If not, the other solution that could work would be to allow a negative time shift when configuring the epg in Stream Master. It only allows a positive time shift to be set.

@DieguitoCigala
Copy link

DieguitoCigala commented Nov 7, 2024

This is what comes out of my epg provider

  <programme start="20241107100000 +0100" stop="20241107114600 +0100" channel="M+ Clásicos HD">
    <title lang="es">Ocho sentencias de muerte</title>
    <desc lang="es">Cine/Comedia | 1949 | ⑯ | ★8.0/10
· Louis es un joven sin escrúpulos que planea deshacerse de los ocho parientes que le preceden en la línea sucesoria para hacerse con la herencia del Duque D'Ascoynes. Votos: 62.
· Título original: Kind Hearts and Coronets
· País: R.U.
· Reparto: Dennis Price, Alec Guiness, Valerie Hobson, Audrey Fildes.
· Guion: John Dighton, Robert Hamer.</desc>
  </programme>
    ...

And this is what comes out of the Stream Master epg

</desc><date>19700101</date>
<language>es</language>
<episode-num system="original-air-date">2024-11-07</episode-num>
<new /></programme>
<programme start="20241107100000 +0000" stop="20241107114600 +0000" channel="20">
<title>Ocho sentencias de muerte</title><desc>Cine/Comedia | 1949 | ⑯ | ★8.0/10
...

@SenexCrenshaw
Copy link
Owner

i enabled negative values in the next pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants