EPG Import mod from Dorik1972 Support Thread

There are 446 replies in this Thread which was already clicked 55,346 times. The last Post () by Panda555.

  • would be nice to get it work in new update, if possible

    thank you

    VU Zero4k ATV7.3

  • would be nice to get it work in new update, if possible

    thank you

    Update what? Do you really understand what you write or what I answer you?


    Again. Finally. What is the relationship between the two files you attached to the post - RE: EPG Import mod from Dorik1972 Support Thread and the EPGImport plugin? Where did you get them? What or who created them? Why should EPGImport understand or process INCORRECTLY created by no one knows who configuration files ???


    Update what?

  • pepsik


    start from begining..


    Plugin Jedi EPG created files:

    jex.epg.channels.xml and jex.epg.sources.xml


    your plugin mod EPGImport v1.8.9 dont have any problem to import this EPG - Working OK. please see log :

    after update your plugin mod EPGImport to vesrsion 1.9.1 have problem import EPG - Not Working; please see log:



    hope is clear

    VU Zero4k ATV7.3

  • Plugin Jedi EPG created files:

    jex.epg.channels.xml and jex.epg.sources.xml

    "Push" the author of the "Jedi" plugin with the requirement to CORRECTLY create configuration files... And this requirement is true both for the original version of EPGImport and for the mod. As soon as "Jedi" plugin creates configuration files containing CORRECT attribute values in the XML structure, everything will work right away

  • your plugin mod EPGImport v1.8.9 dont have any problem to import this EPG - Working OK. please see log :

    :face with tears of joy: :face with tears of joy: :face with tears of joy:


    1.8.9

    [EPGImport] Selected source: "ceske-slovak"

    [EPGConfig] EPGConfig enumSourcesFile Error: [EPGConfig] /etc/epgimport/xstreamity.sources.xml file is not a valid XML

    1.9.1

    [EPGImport] Selected source: "ceske-slovak"

    [EPGConfig] EPGConfig enumSourcesFile Error: exceptions must derive from BaseException

    Once again back to your "fantasy" ... pay attention to the LOGS that you posted ... Are you sure you don't see the xstreamity.sources.xml processing error with ANY version of my mod? Why do you think and who and what is to blame that the jex.epg.sources.xml file is INCORRECT?


    :face with tears of joy:

  • Hi Pepsik...i can confirm what sarsan said. Version 1.8.9 works flawless, with 1.9.1 not.


    1.8.9.

    [EPGImport] Downloading: http://www.xmltvepg.nl/rytecHRV_Misc.xz to local path: /media/hdd/epgimport.tmp

    [EPGImport] Not checking the server since nocheck is set for: http://www.xmltvepg.nl/rytecHRV_Misc.xz

    [EPGImport] afterDownload /media/hdd/epgimport.tmp

    [EPGImport] unlink /media/hdd/epgimport.tmp

    [EPGImport] afterChannelDownload None

    [EPGImport] ### using twisted thread, yay!

    [EPGConfig] Enumerating channels lookup table XML file

    [EPGConfig] Processed: 96 channels

    [EPGConfig] Formed lookup table for: 96 channels id

    [XMLTVConverter] Enumerating XMLTV event information

    [XMLTVConverter] Keep outdated EPG set to: 00:00:00

    Processed 20037 events in 00:00:03 or ~5543 per second


    1.9.1.

    [EPGImport] Downloading: http://www.xmltvepg.nl/rytecHRV_Misc.xz to local path: /media/hdd/epgimport.tmp

    [EPGImport] Not checking the server since nocheck is set for: http://www.xmltvepg.nl/rytecHRV_Misc.xz

    [EPGImport] afterDownload /media/hdd/epgimport.tmp

    [EPGImport] unlink /media/hdd/epgimport.tmp

    [EPGImport] download failed: Unsupported scheme: rytec.channels.xml

    [EPGImport] Downloading: http://www.xmltvepg.nl/rytecHRV_Basic.xz to local path: /media/hdd/epgimport.tmp

    [EPGImport] Not checking the server since nocheck is set for: http://www.xmltvepg.nl/rytecHRV_Basic.xz

    [EPGImport] afterDownload /media/hdd/epgimport.tmp

    [EPGImport] unlink /media/hdd/epgimport.tmp

    [EPGImport] afterChannelDownload None

    [EPGImport] ### using twisted thread, yay!

    [XMLTVConverter] There is nothing no enumerate. There are no channels loaded


    Same source and channel file, just tested both....

  • i can confirm

    I can only confirm one thing ... Have you ever wondered why it's like this in the log in 1.9.1?

    [EPGImport] download failed: Unsupported scheme: rytec.channels.xml

    And where can I see or download rytec.channels.xml? To understand WHAT is wrong in it ... since this file was obviously EDITED by you or someone else and XMLTV sources were added there ... and judging by the log - WITH ERRORS!

  • @humaxboy1


    Especially for you .. Version 1.9.1 selected all sources for Сroatia available in my build

    Снимок экрана 2022-09-29 в 07.33.06.png

    ... Log attached ... Do you see any "Unsupported scheme" errors there? Any errors at all? Moreover, do you get the "Unsupported scheme" error using ANY sources from the "base" distribution?


    The only thing I can confirm is that you are using rytec.channels.xml which is buggy!


    p.s. I'll tell you the secret of "Pinocchio's golden key"... @sarsan - already realized that the error is not in the EPGimport plugin, but in the xml configuration files used by it, which are INCORRECTLY generated by the Jedi X*** plugin what did he "boast" to me about in personal correspondence :upside down face:

  • pepsik - thanks for replying. I saw "Unsupported scheme" in the log and that's is why i was wondering why it is not working. I was using the original EPGimport for a really long time and i wanted to try yours, of course. On 1.9.1. i got mentioned error, on 1.8.9 everything works perfect, tested withh exactly the same 2 files. As you said i am using my own rytec.channels.xml and for sure i have to get deep into xml file to figure out what is wrong. I would say it is problem with some tags used in my xml file. I will test it and in a few days i will get back to you with results, hopefully :smiling face:...

    One question : did you change from 1.8.9 to 1.9.1. any logic regarding validation of channels.xml file ?

    Edited 3 times, last by humaxboy1 ().

  • did you change from 1.8.9 to 1.9.1. any logic regarding validation of channels.xml file ?

    Of course. The logic for determining the "local location" of files has been changed to a more correct one. You can't just specify the file name. You must specify the path+filename... In older versions, the default was that the files were in /etc/epgimport/... Now you can put your files anywhere... "anywhere" - implies a "path" to the file


    it is problem with some tags used in my xml file

    with attributes VALUES of some tags in your rytec.channels.xml

    I will test it and in a few days i will get back to you with results, hopefully

    If you send me your rytec.channels.xml I will instantly point out the errors in it...

  • Sorry pepsik, was a few days away...Here are my files that I use :


    a) rytec.channels.xml file


    <?xml version="1.0" encoding="utf-8"?>

    <sources>


    <sourcecat sourcecatname="My EPG XMLTV">

    <source type="gen_xmltv" nocheck="1" channels="rytec.channels.xml">

    <description>Hrvatska - Dodatni</description>

    <url>http://www.xmltvepg.nl/rytecHRV_Misc.xz</url>

    </source>


    <source type="gen_xmltv" nocheck="1" channels="rytec.channels.xml">

    <description>Hrvatska - Osnovni</description>

    <url>http://www.xmltvepg.nl/rytecHRV_Basic.xz</url>

    </source>


    ....

    </sourcecat>

    </sources>


    b) rytec.channels.xml file


    <?xml version="1.0" encoding="utf-8"?>

    <channels>

    <channel id="PlanetTV.svn">1:0:1:15B3:0:0:0:0:0:0:http%3a//192.168.1.1%3a8088/udp/239.10.2.69%3a5000</channel>

    <channel id="Planet2.svn">1:0:1:7FD3:0:0:0:0:0:0:http%3a//192.168.1.1%3a8088/udp/239.10.12.71%3a5000</channel>

    <channel id="PlanetPLUS.svn">1:0:1:7E40:0:0:0:0:0:0:http%3a//192.168.1.1%3a8088/udp/239.10.12.72%3a5000</channel>

    <channel id="Slo1.svn">1:0:1:4999:0:0:990000:0:0:0:http%3a//192.168.1.1%3a8088/udp/239.10.2.56%3a5000</channel>

    <channel id="Slo2.svn">1:0:1:5999:0:0:600000:0:0:0:http%3a//192.168.1.1%3a8088/udp/239.10.2.57%3a5000</channel>

    <channel id="Slo3.svn">1:0:1:144:0:0:5FFFFA:0:0:0:http%3a//192.168.1.1%3a8088/udp/239.10.12.100%3a5000</channel>

    <channel id="TV3Medias.svn">1:0:1:223D:0:0:0:0:0:0:http%3a//192.168.1.1%3a8088/udp/239.10.12.15%3a5000</channel>

    <channel id="KanalA.svn">1:0:1:7A:0:0:0:0:0:0:http%3a//192.168.1.1%3a8088/udp/239.19.2.234%3a5000</channel>

    ....

    </channels>


    Thanks for pointing out what am I doing wrong, so that your 1.9.1 is not working right.

  • Do you mean rytec.sources.xml file?

    Of course,my mistake.

    Code
    <source type="gen_xmltv" nocheck="1" channels="/path/to/file/rytec.channels.xml"

    Aha, so if I use rytec.channels.xml in the same folder as before etc/epgimport then it has to be


    <source type="gen_xmltv" nocheck="1" channels="/etc/epgimport/rytec.channels.xml" ?


    I've just tested : it is working !

    One additional and indirect question regarding Epgimport: i have a problem when my STB boots up.

    I have a enigma2_pre_start.sh script

    #!/bin/sh

    sleep 3

    ntpdate -b -s -u europe.pool.ntp.org

    exit 0

    which does the synhronication of exact time. But when this is done, STB is already booted and shows usually wrong time and 1-2 sec later the ntpdate seems to be done but that why no epg is shown automatically and I have to do the epg import manually once again. Is there a solution for that ?

    Edited 3 times, last by humaxboy1 ().

  • Aha, so if I use rytec.channels.xml in the same folder as before etc/epgimport then it has to be


    ????
    Do you have two files with the same name in the same "folder" /etc/epgimport/? Are you joking? Or don't you understand? You just edited the existing rytec.sources.xml file incorrectly!


    What's stopping you from creating your own myHrvt.souurces.xml ? Maybe a good example, for example, for Italian sources will help?

    /etc/epgimport/italian.sources.xml


    When editing the original rytec.sources.xml, one should think about what the "section" <mappings> is :winking face with tongue:

    Code
            <mappings>                                                                                                                                             
                    <channel name="rytec.channels.xml.xz">                                                                                                         
                            <url>http://www.xmltvepg.nl/rytec.channels.xml.xz</url>                                                                                
                            <url>http://epgspot.com/rytec_epg/rytec.channels.xml.xz</url>                                                                          
                            <url>http://rytecepg.dyndns.tv/epg_data/rytec.channels.xml.xz</url>                                                                    
                            <url>http://epg.vuplus-community.net/rytec.channels.xml.xz</url>                                                                       
                    </channel>                                                                                                                                     
            </mappings> 

    And in no case "thoughtlessly" sculpt your entries with links to rytec.sources.xml

  • :exploding head:


    Time synchronization can be set in the settings of the image itself ... As far as I remember, both OpenPli and OpenBH and OpenATV have such a setting - the choice of synchronization either via DVB or NTP ... Why do you need a script?

    If you use the OpenPli develop image, then there is such a "bug" when the SAT-box is completely overloaded ... you need to restart the gui again in order to "pick up" the epg.dat file if it is located on hdd or usb ... but It has NOTHING to do with time synchronization.

Participate now!

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