E2m3u2bouquet - discussion & support

There are 1,612 replies in this Thread which was already clicked 251,460 times. The last Post () by hajosch.

  • enigma2-plugin-extensions-e2m3u2bouquet_1.7.7_all.ipk

    Works perfectly definitely epg downloads very fast openatv 7.4 vu+soloSE v2

    Cloud-ibox Vu+Solo clone 333mhz Openpli4 it was necessary to completely clean the old files and after a restart it came out in the plugins

    Everything works normally and the translation is also fine. It can't happen quickly with epg here normally 2 minutes :D.

    Edited once, last by jack82 ().

  • Hello,


    I need help to understand why a part of an epg isn't loaded by epgimport. The events are loaded but the last event loaded for this case is:

    The next event and so every event after it are not loaded:


    I can't see and found a problem of syntax. I've attached the extract of the xml epg file.

    Thanks for your help.

  • <live/>

    ??

    Yes I saw that, but each event for this channel has this tag and some are loaded in the epg. I concluded the problem is elsewhere.

    I attached the full Pluto TV US xml, and there is 3109 times this tag.

  • Yes I saw that, but each event for this channel has this tag

    It's not a "tag" (the correct name is "node" or "element")- it's an error in the structure of the XML file...A Node is a part of the DOM tree, an Element is a particular type of Node e.g. <foo> This is Text </foo> ... In your example there is a “something” that has nothing to do with either “node” or “element”, this “something” is a clear error in the syntax and semantics of the XML file you provided ... I don't see any other errors in the "programme" element of the XML file you provided ... It all depends on which parser is used lxml or сElementTree (ElementTree) ... lxml “knows how” to ignore such errors ...

    if you like it you can make donations

  • Currently I'm doing some tests after removing this <live/>

    I will do a feedback.

    If this is used with e2m3u2b then simply install LXML... The e2m3u2b code will automatically recognize the presence of this library and will use it by default for XMLTV parsing ... LXML - can ignore errors in XML structure

    Code
    opkg install python3-lxml

    Restart GUI

    if you like it you can make donations

  • After tests I think I have few problems with the content of my epg xml.


    I have this in the e2m3u2b log:

    I'd like to analyse and find which events have no title node. If I do a search of "<title></title>, I found nothing. So it seems that some events have no node <title>.

    The problem is between 200224 and 221190 events , but in my xml I have a total of 43382 events (find with the unique value "<programme channel=".


    So it's not easy to fix this epg file. Some events comes from rytec, some others from Pluto or Samsung and others from my own generation.


    Have you an idea about how I can find the events causing these errors?


    Thanks

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

  • I'd like to analyse and find which events have no title node. If I do a search of "<title></title>, I found nothing. So it seems that some events have no node <title>.

    1) In your example, the title node in the "programme" element is present - RE: E2m3u2bouquet - discussion & support

    2) The absence of a "title" node in the "programme" element or its presence with an "empty" value is complete nonsense and defies logic. Such elements of XMLTV are simply ignored by the parser code and are not imported. Because it doesn't make any sense


    p..s. For a complete understanding of what is where

    Снимок экрана 2024-07-01 в 19.33.48.png

    those. If there is no "title" node in the "programme" element, then what is the logic to import it?

    if you like it you can make donations

  • I'd like to analyse and find which events have no title node. If I do a search of "<title></title>, I found nothing. So it seems that some events have no node <title>.

    1) In your example, the title node in the "programme" element is present - RE: E2m3u2bouquet - discussion & support

    2) The absence of a "title" node in the "programme" element or its presence with an "empty" value is complete nonsense and defies logic. Such elements of XMLTV are simply ignored by the parser code and are not imported. Because it doesn't make any sense

    Yes in my example the title node is ok. But it's another case. I'm looking for other "programmes" which haven't the title, to understand why, to fix them or to ask the provider to fix them

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

    Edited once, last by jeepcook ().

  • I'm looking for other "programmes" which haven't the title, to understand why, to fix them or to ask the provider to fix them

    In the xmltvconverter.py file, correct the exception output to display more detailed information about the “buggy” XMLTV element

    if you like it you can make donations

  • In the xmltvconverter.py file, correct the exception output to display more detailed information about the “buggy” XMLTV element

    I think it's here I have to do the modification, but where and what...

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

  • but where and what...


    if not l[2]:

    raise Exception("the empty value of 'title' is not allowed"

    Depending on what you want to see in the console output... for example, the start time and end time of the "event"

    Code
                if not l[2]:
                    print ("start: %s, stop: %s" % (elem.get('start'), elem.get('stop'))) 
                    raise Exception("the empty value of 'title' is not allowed") 

    if you like it you can make donations

  • Depending on what you want to see in the console output... for example, the start time and end time of the "event"

    Code
                if not l[2]:
                    print ((start: %s, stop: %s) % (elem.get('start'), elem.get('stop'))) 
                    raise Exception("the empty value of 'title' is not allowed") 

    Thanks but the process hangs, I have no log because the process hangs before the end.

    5002_0_1_D751_AACF_D596_DDDD0000_0_0_0_20240702081045.jpg

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

  • in the console output

    ??? Look at system log.... Not at plugin log window


    If you want to see the output in the plugin log window, then use logger.info instead of prin

    Code
                if not l[2]:
                    loger.info("start: %s, stop: %s" % (elem.get('start'), elem.get('stop'))) 
                    raise Exception("the empty value of 'title' is not allowed") 

    if you like it you can make donations

  • Finally found the problem, I have a script which do a grep -v '<title>' to only keep the sub-title I rename title, but this doesn't work if there is no sub-title.

    Sorry for the inconvenience.

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

  • I have a script which do a grep -v '<title>' to only keep the sub-title I rename title,

    Leave both 'title' and "sub-title" ... the XMLTV parser uses them ... "sub-title" is interpreted by the parser code as a "short description"

    yes but for few channels the title is the name of the channel and the sub-title the real title. That's why I did that

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

Get community help for all other Enigma2 plugins

This is your forum for support, questions, and guides for plugins not covered in our specialized sections. Support for uncategorized and miscellaneous Enigma2 plugins. Find help, troubleshooting, and discussions for plugins that don't fit other forum categories.

Participate now!

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