EPG Import mod from Dorik1972 Support Thread

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

  • So, this is a issue on how the EPG is handle, isn't it? Is so, I think is not a possible solution for that

    I don't understand your question ... where do you see the issue in the ETSI EN 300 468 standard or in the “piece” of XML file you provided? If it's standard, you're not exactly in the right place.... If it is in the XML strings you provided, then fix them as required by the standard.

    if you like it you can make donations

  • So, this is a issue on how the EPG is handle, isn't it? Is so, I think is not a possible solution for that

    I don't understand your question ... where do you see the issue in the ETSI EN 300 468 standard or in the “piece” of XML file you provided? If it's standard, you're not exactly in the right place.... If it is in the XML strings you provided, then fix them as required by the standard.

    What I mean if is because of the standard on ETSI EN 300 468 or is could be a problem on my channel definition file


    Is this combination of SID:TSID:ONID how receiver read the EPG? or is how the EPG is created by the plugging?


    if I have some channel with same SID:TSID:ONID, are all have of them have mix data information


    I attached a epg.dat created with this plugging

  • Is this combination of SID:TSID:ONID how receiver read the EPG? or is how the EPG is created by the plugging?

    The ETSI EN 300 468 standard prescribes this, and the Enigma2 C-code implements it. The plugin reads the contents of the configuration XML file and “gives” the “serviceref” read from it to the Enigma2 code, which creates an entry in some EPG dictionary ..... file epg.dat is its cache, which is created when the receiver is turned off.

    if I have some channel with same SID:TSID:ONID, are all have of them have mix data information

    Then these channels have the same EPG ... As an example, if BBC and BBC HD are coming from the satellite transponder, it is possible that they have the same SID:TSID:ONID.



    If you created a configuration file and “managed” to assign the same SID:TSID:ONID to different channels, that is YOUR problem and YOUR mistake. The plugin does not create anything. As I wrote above, it reads the data that you pogoototovat him in XML format and gives this data to Enigma2 ....


    if you like it you can make donations

  • Going back to your example ... Fix this in your XML, and the two channels will each have their own EPG.

    Channel 2

    <channel id="I102.16461.schedulesdirect.org">1:0:1:1A:1A:1S:A45102C:0:0:0:</channel> <!--SERVICIO1 C2 HD 97° W -->


    Channel 1

    <channel id="I130.18568.schedulesdirect.org">1:0:1:1C:1C:1C:C7A8FBC:0:0:0:</channel> <!--RCN SD 40.5° W -->

    If you want the same EPG (e.g. from SERVICIO1 C2 HD 97° W) to be the same for both channels, correct it like this.

    Channel 2

    <channel id="I102.16461.schedulesdirect.org">1:0:1:1A:1A:1A:A45102C:0:0:0:</channel> <!--SERVICIO1 C2 HD 97° W -->


    Channel 1

    <channel id="I102.16461.schedulesdirect.org">1:0:1:1C:1C:1C:C7A8FBC:0:0:0:</channel> <!--RCN SD 40.5° W -->

    if you like it you can make donations

  • I do not want to have the same epg on two channel, I want to keep their own


    Also, I have several local source from XML file to get EPG, example the channel 1 is on source 1 then when import channel 2 on source to, the process overide information from source 1 on channel 1

    I wrote to you earlier - FIX your sources (XML configuration files) the way you want them. Make all entries in them unique ... The logic of how it works is in my previous post with an example

    if you like it you can make donations

  • Hello my friend.


    Where you found the sources from Latin America?


    Thx

    Vu+ Ultimo4k/Zero4k/Zero, Uclan4k, DM Two, h9sSE/h9s/h9 twin, sf8008/sx88/sx88+, Osmini4k, GTX/GT-Combo/GTC/v8UHD/v9prime/v8xs/m7x/, Amiko SHD 8900, Mecool K1/K2/K3, Azamerica s2015, Nazabox Xgame, Koqit K1 mini, TBS 5520se/5925/6922se/6903x v2, Openbox X5/S9, AZBOX TITAN twin/Premium+/Elite, Rasp Pi/pi3/pi4, t95 max+, Freesky Triplo X, Orange Pi PC, Coolsat 5000, Dm528s, DM800se, Satlink 6933/6960/6932, Mygica S270, Pixelview PlayTV . Motorized 5m - C band(20ºE - 116.8ºW), Motorized 1,80m KU

  • I have to create my own xml channels and sources, using mc2xml to download epg information from Schedules direct

  • Hello,

    I’m using Enigma2 (OpenPLI 9.1) on a Zgemma H7C box (with the sources.xml source), and I would like to run the EPGImport process automatically every few hours via cron.

    From the GUI, the import works perfectly. I can start it anytime from the plugin menu and it completes without issue.

    However, I haven’t found a working way to trigger it from the command line.

    I’ve tried the following:

    • /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/OfflineImport.py /etc/epgimport/sources.xml

    • Running it via Python (python3 -m Plugins.Extensions.EPGImport.OfflineImport ...)

    • OpenWebif endpoints such as /api/epgimport or /web/runplugin?plugin=EPGImport

    • Even e2python, but none worked; OfflineImport fails with “attempted relative import with no known parent package”.

    The reason I would like to run EPGImport every 3–4 hours is that my IPTV provider only supplies EPG data a few hours in advance for many channels.

    Because of this, a daily or 12-hour import schedule is not sufficient to keep the guide populated.

    Is there any official or supported way to trigger EPGImport from a cron job or command line (without restarting Enigma2)?

    Or could OfflineImport be adjusted to work standalone with Enigma2’s environment?

    Thank you very much for your help and for maintaining such a great plugin!

    Thank you!

  • I would like to run the EPGImport process automatically every few hours via cron.

    That doesn't work. You can't run the console version (it simply doesn't exist)... Use the plugin's built-in schedule to automatically download EPG.

    Because of this, a daily or 12-hour import schedule is not sufficient to keep the guide populated.

    There is nothing complicated about adding any interval to the plugin code.

    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!