EPG Import mod from Dorik1972 Support Thread

There are 552 replies in this Thread which was already clicked 117,951 times. The last Post () by berimor18.

    • Official Post

    I attach the updated py2 and py3 file


    if you want you can also insert picons in the code,

    I would like to find a good soul who could do it for the Vavoo plugin, I'm not good with epg and source


    the system is always the same, put in /tmp and give the command

  • After creating the file, where is it placed ?


    Do I leave them in the same position or another ?


    Thanks



    canais.xml in to /etc/enigma2

    SF8008 OpenATV 7.8 Alpha // SF8008 OpenATV 7.6 - Motor 70°E 34°W

    • Official Post

    peter

    that's a test, now you have to know what you want to do with it. I'm not very knowledgeable. I just fixed the code.

  • Hello,


    I got this error: "[EPGConfig] failed to parse rytec.channels.xml.xz Error: syntax error: line 2, column 62".

    Do you have any idea on how to fix this issue?

  • if an error occures it is generated under /home/root/logs/

    There is only one file: none.html.

    When I start EPGImport manually, there is no error message but I can't see that EPGImport skips a source file.

    I was able to access the log file by pressing in EPGImport the "MENU" key. In the log file it says: "[EPGConfig] failed to parse rytec.channels.xml.xz Error: syntax error: line 2, column 62"

  • "[EPGConfig] failed to parse rytec.channels.xml.xz Error: syntax error: line 2, column 62".

    The error is not in the plugin code, but in the XML you are using (most likely an error in XML syntax or semantics) ...Specifically, in line 2, character (column) 62


    Solutions: -fix the errors in the XML you are using

    if you like it you can make donations

  • Hello,


    In the EPG Import log, it works with every source except the second one (whatever the second source is).

    In the log:

    -for every source except the second one:

    [EPGConfig] Enumerating channels lookup table XML file

    [EPGConfig] Processed: xxxx channels

    -for the second one:

    [EPGConfig] Enumerating channels lookup table XML file

    [EPGConfig] failed to parse rytec.channels.xml.xz Error: syntax error: line 2, column 62


    So if the issue is the XML file, why does it work with every source except the second one.

    Please see the attached source XML file. Which XML file am I supposed to fix? rytec.channels.xml.xz is downloaded so I can't fix it.

  • So if the issue is the XML file, why does it work with every source except the second one.

    That's why it WORKS with all the others except one - incorrect ... Or do you think that ElementTree python library has a “customized” approach to each XML file? Where and what is erroneous in the content of your XML - you have it in the log. Open it (XML fille, you get at the link from the source list you specified) with ANY editor and see what is wrong in the syntax of the XML structure in the SECOND line in column 62 ... Why did you post the whole rytec.sources file? Who and how should guess which of the sources from this file you are using ?

    if you like it you can make donations

  • So if the issue is the XML file, why does it work with every source except the second one.

    That's why it WORKS with all the others except one - incorrect ... Or do you think that ElementTree python library has a “customized” approach to each XML file? Where and what is erroneous in the content of your XML - you have it in the log. Open it (XML fille, you get at the link from the source list you specified) with ANY editor and see what is wrong in the syntax of the XML structure in the SECOND line in column 62 ... Why did you post the whole rytec.sources file? Who and how should guess which of the sources from this file you are using ?

    Maybe I was not clear. When EPG Imports starts, it uses a first source => it works. Then it uses the next source and it doesn't work. Then it uses the next source and it works and there is no more issue with the remaining sources.


    The 6 sources I use: France -TNT, News Channels, AFN, UK/Ireland - Freesat/FTA, UK/Ireland - Sky, UK/Ireland - Sports/Movies.

    EPGImport starts with News Channels => it works. Then AFN=> it doesn't work. Then it works with the other sources.


    If I use only 5 sources (I remove AFN): France -TNT, News Channels, UK/Ireland - Freesat/FTA, UK/Ireland - Sky, UK/Ireland - Sports/Movies.

    EPGImport starts with News Channels => it works. Then France-TNT=> it doesn't work. Then it works with the other sources. So France-TNT doesn't work but it worked when I chose 6 sources.


    If I use only 4 sources (I remove AFN): News Channels, UK/Ireland - Freesat/FTA, UK/Ireland - Sky, UK/Ireland - Sports/Movies.

    EPGImport starts with News Channels => it works. Then UK/Ireland - Freesat/FTA=> it doesn't work. Then it works with the other sources. So UK/Ireland - Freesat/FTA doesn't work but it worked when I chose 6 or 5 sources.


    So EPG Import doesn't work with the second source it uses. So which XML file do I need to open please?

  • nicolas.nantua

    I'll try to explain more clearly. You probably don't understand what we're talking about. That is why you do not understand what to do and where to look. The “sources” file that you posted above has the following view “inside”

    Снимок экрана 2024-11-03 в 15.34.41.png

    By selecting any “EPG” in the plugin settings GUI, you are setting a certain “set” of links from any “section” of this file ..... So ... All that you wrote above does NOT make it possible to understand even approximately, where and in which file of which source is the ERROR ... but it is not in the plugin =) ... It is in the file that you get from one of the links from the rytec.sources file. In order to understand which of the sources you use you need either the plugin's LOG or at least screenshots of those settings, where you can see the sources you use ... But again, it's not the plugin's fault that it is “fed” an incorrect file or a link from which it gets this file.


    Thank you for your understanding. I hope this post will be clear and useful to you


    if you like it you can make donations

  • Maybe I was not clear. When EPG Imports starts, it uses a first source => it works. Then it uses the next source and it doesn't work. Then it uses the next source and it works and there is no more issue with the remaining sources.

    And also for the sake of understanding. If we are talking about one “section” (for example, sources for Nederland), there are no different sources, it is all links to the same file on other servers. If you compare the files received by links - they will be “twins” ..... Accordingly, if you downloaded the source on the first link, there is no need to download the second, third, etc. Downloading of the second, third, etc. occurs only when the previous one is not available for downloading or an error is detected in it.

    Code
            <source type="gen_xmltv" channels="rytec.channels.xml.xz">
                <description>Nederland - Basis (xz)</description>
                <url>http://www.xmltvepg.nl/rytecNL_Basic.xz</url>
                <url>http://epgspot.com/rytec_epg/rytecNL_Basic.xz</url>
                <url>http://rytecepg.wanwizard.eu/rytecNL_Basic.xz</url>
                <url>http://rytecepg.dyndns.tv/rytecNL_Basic.xz</url>
                <url>http://epg.vuplus-community.net/rytecNL_Basic.xz</url>
            </source>

    Any of the links in the “section” above will result in downloading the same file ks in the “section” above will result in downloading the same file

    if you like it you can make donations


  • Maybe I was not clear. When EPG Imports starts, it uses a first source => it works. Then it uses the next source and it doesn't work. Then it uses the next source and it works and there is no more issue with the remaining sources.

    And also for the sake of understanding. If we are talking about one “section” (for example, sources for Nederland), there are no different sources, it is all links to the same file on other servers. If you compare the files received by links - they will be “twins” ..... Accordingly, if you downloaded the source on the first link, there is no need to download the second, third, etc. Downloading of the second, third, etc. occurs only when the previous one is not available for downloading or an error is detected in it.

    Code
            <source type="gen_xmltv" channels="rytec.channels.xml.xz">
                <description>Nederland - Basis (xz)</description>
                <url>http://www.xmltvepg.nl/rytecNL_Basic.xz</url>
                <url>http://epgspot.com/rytec_epg/rytecNL_Basic.xz</url>
                <url>http://rytecepg.wanwizard.eu/rytecNL_Basic.xz</url>
                <url>http://rytecepg.dyndns.tv/rytecNL_Basic.xz</url>
                <url>http://epg.vuplus-community.net/rytecNL_Basic.xz</url>
            </source>

    Any of the links in the “section” above will result in downloading the same file ks in the “section” above will result in downloading the same file

    I know how EPG Import works but as I said before, the issue is with the second source that EPG import uses.

    If I select 6 sources, AFN source doesn't work. With 5 sources selected. France-TNT doesn't work.

    So if I understood what you said, the problem should be in the AFN and France-TNT source files but France-TNT source file works when I select 6 sources.

  • I found the issue. It was coming from this file: http://rytecepg.dyndns.tv/rytec.channels.xml.xz

    I removed it from rytec.sources.xml


    I have a question: why does EPG Import not use the same rytec.channels.xml.xz file for each source?

    EPG Import uses http://epg.vuplus-community.net/rytec.channels.xml.xz for the first source. But for the second source, it uses http://rytecepg.wanwizard.eu/rytec.channels.xml.xz and for the third source it uses http://www.xmltvepg.nl/azman.channels.xml.xz.

  • I found the issue. It was coming from this file: http://rytecepg.dyndns.tv/rytec.channels.xml.xz

    HTML
    Dorik@MacBookPro ! % curl http://rytecepg.dyndns.tv/rytec.channels.xml.xz
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>rytecepg.dyndns.tv is offline</title></head><body><h1>rytecepg.dyndns.tv is offline</h1><p>rytecepg.dyndns.tv is currently offline. Please try again later.</p><hr/><p>Questions about our services?  Learn more at <a href='http://Dyn.com'>Dyn.com</a>.</p></body></html>

    In the server's response above you can see the reason why it doesn't work. Or should I explain?

    if you like it you can make donations

Your resource for Enigma2 EPG tools

Get downloads and support for Cool TV Guide, CrossEPG, EPG Importer, IPTV EPG, and satellite/cable program guides. Centralized support and downloads for Enigma2 EPG plugins. Find tools for IPTV, satellite, and cable electronic program guides, including EPGImport, Web Grabber, and more.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!