sunsettrack4 / easyepg

This version of easyEPG will no longer be maintained.
GNU General Public License v3.0
100 stars 36 forks source link

XMLTV FILE VALIDATION FAILED DUE TO THE FOLLOWING ERRORS #51

Closed MidavSec closed 3 years ago

MidavSec commented 3 years ago

[ EPG ERROR ] XMLTV FILE VALIDATION FAILED DUE TO THE FOLLOWING ERRORS: horizon.xml:640923: parser error : Opening and ending tag mismatch: channel line 364 and tv horizon.xml:640924: parser error : Premature end of data in tag tv line 4

Thanks for the great project, how can I fix this error?

sunsettrack4 commented 3 years ago

Please provide the XML file (horizon.xml), so I can check what went wrong there.

MidavSec commented 3 years ago

Great thanks, found only this file:

root@debian-test:~/easyepg-new# find ./ -iname .xml ./hzn/de/horizon_ERROR.xml

https://gofile.io/d/7M7UCu

Thank you very much!

MidavSec commented 3 years ago

Found a work-around:

Remove this channels from the menu selection list:

Sat.1 emotions HD Eurosport360 HD 9

to bypass the initial errors. Then I had to remove:

[ DUPLICATE ] channel id="13th Street HD">" [ DUPLICATE ] channel id="Boomerang">" [ DUPLICATE ] channel id="Discovery HD">" [ DUPLICATE ] channel id="Fox HD">" [ DUPLICATE ] channel id="NatGeo HD">" [ DUPLICATE ] channel id="National Geographic Wild HD">" [ DUPLICATE ] channel id="Nick.Jr.">" [ DUPLICATE ] channel id="Romance TV">" [ DUPLICATE ] channel id="SYFY HD">" [ DUPLICATE ] channel id="TNT Comedy">" [ DUPLICATE ] channel id="TNT Film">" [ DUPLICATE ] channel id="TNT Serie HD">"

Now I have the issue that no EPG is shown for duplicated channels (because I removed them from menu to generate the xml). Is there a way to include them? Initially I selected all channels (to reproduce it).

Thanks.

sunsettrack4 commented 3 years ago

I fixed the error mentioned in your first post: https://github.com/sunsettrack4/easyepg/commit/cb84edc353422c3fcd565ee2b38751539664fc47

Please note that the provider uses duplicated IDs for some channels causing the [DUPLICATE] error in easyEPG. However, in a new version of my script, this error will be fixed as well.