cvarelaruiz / owi2plex

Exporter of EPG from OpenWebif to XMLTV to use with Plex
Mozilla Public License 2.0
26 stars 6 forks source link

The programmes start and end times are missing the timezone #2

Closed cvarelaruiz closed 5 years ago

cvarelaruiz commented 5 years ago

The program element's attributes start & stop should be formatted like YYYYMMDDHHMMSS +HHHH but the TZ offset is missing as the OpenWebif API Event calls don't provide that information,

<programme channel="1102" start="20190327190000" stop="20190327192500">
...
</programme>
cvarelaruiz commented 5 years ago

I think that since the OpenWebif API returns the timestamp EPOCH for now is safe to put +0000 Timezone. I'll check to see if it works and again when the time changes.

cvarelaruiz commented 5 years ago

Fixed and added calculation in release Alpha4