E2m3u2bouquet - discussion & support

There are 1,276 replies in this Thread which was already clicked 94,902 times. The last Post () by pepsik.

  • The "automatic bouquet update when box starts" is set to no. But on a hard reboot or boot to another image on another multiboot partition, sometimes the e2m3u2 process is launching at boot but in this case it turns crazy and hangs everything.

    Unfortunately, I cannot repeat this situation in myself. I use about 6 different images in Python2 / Python3 and OpenMultiboot to serve them. Everything works normally ....

    The number of playlists or the frequency of updating bouquets does not matter. More critical is the number of entries in one playlist. But! I tested the code on Hispanico playlist and there are over 140'000 entries - NO PROBLEMS ... hard to find an even bigger playlist ;) besides containing a bunch of unicode characters




    p.s. I found a bug in my code when importing. EPG events on DreamOS ... It's strange that no one noticed this ... Tomorrow I will update the plugin with a fix

  • So you can't test the case where the interval update is set ton ON, the difference between the current date minus the date in e2 settings is over than the interval hours, and boot the box with this exact situation to see what's happens on boot ?

  • Hello pepsik,


    Here is a crashlog during the process e2m3u2 process, probably during flushEPG.


    What do you think about please?


    Thanks


    Edit, analyze the log, the last line flushed is the second line of the bellow code ([eEPGCache] flushEPG svc(b3ac:95b3:0d77). The 2 following haven't been treated.


    Code
    #SERVICE 4097:0:1:5c07:75d3:d32d:1010101:0:0:0:https%3a//587286c0214643248b38410a58ba2066.mediatailor.us-east-1.amazonaws.com/v1/master/44f73ba4d03e9607dcd9bebdcb8494d86964f1d8/Samsung-it_RakutenDocumentaries/playlist.m3u8?ads.wurl_channel=722&ads.wurl_name=RakutenDocumentaries&ads.coppa=0&ads.psid=%7BPSID%7D&ads.targetopt=%7BTARGETOPT%7D&ads.app_domain=%7BAPP_DOMAIN%7D&ads.app_name=%7BAPP_NAME%7D&ads.consent=%7BTC_STRING%7D#sapp_tvgid=ITBA1400005XG:Documentari - Rakuten TV
    #DESCRIPTION Documentari - Rakuten TV
    #SERVICE 4097:0:1:d77:95b3:b3ac:1010101:0:0:0:https%3a//1c22f8b96aa546b6b49261186cf7b8e5.mediatailor.us-east-1.amazonaws.com/v1/master/44f73ba4d03e9607dcd9bebdcb8494d86964f1d8/Samsung-it_RakutenFamily/playlist.m3u8?ads.wurl_channel=723&ads.wurl_name=RakutenFamily&ads.coppa=1&ads.psid=%7BPSID%7D&ads.targetopt=%7BTARGETOPT%7D&ads.app_domain=%7BAPP_DOMAIN%7D&ads.app_name=%7BAPP_NAME%7D&ads.consent=%7BTC_STRING%7D#sapp_tvgid=ITBA14000043B:Family - Rakuten TV
    #DESCRIPTION Family - Rakuten TV
    #SERVICE 4097:0:1:5482:bbf:bf95:1010101:0:0:0:https%3a//8077fe81975344b291027f32b011511d.mediatailor.us-east-1.amazonaws.com/v1/master/44f73ba4d03e9607dcd9bebdcb8494d86964f1d8/Samsung-it_RakutenTVShows/playlist.m3u8?ads.wurl_channel=445&ads.wurl_name=RakutenTVShows&ads.psid=%7BPSID%7D&ads.targetopt=%7BTARGETOPT%7D&ads.app_domain=%7BAPP_DOMAIN%7D&ads.app_name=%7BAPP_NAME%7D&ads.coppa=0&ads.consent=%7BTC_STRING%7D#sapp_tvgid=ITAJ4500020HT:Drama - Rakuten TV
    #DESCRIPTION Drama - Rakuten TV
    #SERVICE 4097:0:1:d8cf:f039:39f4:1010101:0:0:0:https%3a//8355c6b6739745309af5484182dab133.mediatailor.us-east-1.amazonaws.com/v1/master/44f73ba4d03e9607dcd9bebdcb8494d86964f1d8/Samsung-it_RakutenActionMovies/playlist.m3u8?ads.wurl_channel=443&ads.wurl_name=RakutenActionMovies&ads.psid=%7BPSID%7D&ads.targetopt=%7BTARGETOPT%7D&ads.app_domain=%7BAPP_DOMAIN%7D&ads.app_name=%7BAPP_NAME%7D&ads.coppa=0&ads.consent=%7BTC_STRING%7D#sapp_tvgid=ITAJ45000188Z:Film d'azione - Rakuten TV
    #DESCRIPTION Film d'azione - Rakuten TV


    Corresponding in channel.xml to:

    Code
        <channel id="ITBA1400005XG">1:0:1:5c07:75d3:d32d:1010101:0:0:0:http%3a//stream.m3u8:Documentari - Rakuten TV</channel>
        <channel id="ITBA14000043B">1:0:1:d77:95b3:b3ac:1010101:0:0:0:http%3a//stream.m3u8:Family - Rakuten TV</channel>
        <channel id="ITAJ4500020HT">1:0:1:5482:bbf:bf95:1010101:0:0:0:http%3a//stream.m3u8:Drama - Rakuten TV</channel>
        <channel id="ITAJ45000188Z">1:0:1:d8cf:f039:39f4:1010101:0:0:0:http%3a//stream.m3u8:Film d'azione - Rakuten TV</channel>
  • What do you think about please?

    Welcome to Pure2 C code :party-time:-

    I pass as a parameter list containing the necessary data for EPG events

    Code
            long start = PyLong_AsLong(PyTuple_GET_ITEM(singleEvent, 0));
            long duration = PyInt_AsLong(PyTuple_GET_ITEM(singleEvent, 1));
            const char *title = getStringFromPython(PyTuple_GET_ITEM(singleEvent, 2));
            const char *short_summary = getStringFromPython(PyTuple_GET_ITEM(singleEvent, 3));
            const char *long_description = getStringFromPython(PyTuple_GET_ITEM(singleEvent, 4));
            char event_type = (char) PyInt_AsLong(PyTuple_GET_ITEM(singleEvent, 5));

    as required by the function - https://github.com/PURE2-Team/…ib/dvb/epgcache.cpp#L3288

    During the execution of this function of the Pure2 core, excetion occurs in - https://github.com/PURE2-Team/…ib/dvb/epgcache.cpp#L1037


    Why ? -

    The question is not for me .... On all images, except for Pure2, this error never occurs.

  • No no I never used PureE2. It's OATV 7.0

    Never got this error on OpenATV 7.0, I use it myself ....

    Perhaps this is due to the values of the node programme attributes in the XMLTV used. More precisely, perhaps some of the characters of these values are not unescaped.... I need a sample of the playlist you are using and XMLTV for tests. So that I can catch such a bug on my own


    And, if I'm right about XMLTV, then there are no questions about the kernel code or the plugin))) And I have to write a "crutch" to fix this problem in XMLTV

  • Never got this error on OpenATV 7.0, I use it myself

    Perhaps I might say something stupid, but is this could be a hardware limit or a memory leak because of too many flush not yet saved in the epg.dat if the epg.dat is updated only at the end of the full e2m3u2 process. I don't know.

    Edited once, last by jeepcook ().

  • OK so rerun the process, same problem but not while flush epg for the same channel. Unable to have a full processing e2m3u2 process ok. The only solution is to erase epg.dat and execute epgimport + e2m3u2.


    edit: Finally no, after 3 executions, the process is OK without erase epg.dat

    Edited once, last by jeepcook ().

  • Perhaps I might say something stupid, but is this could be a hardware limit or a memory leak because of too many flush not yet saved in the epg.dat if the epg.dat is updated only at the end of the full e2m3u2 process. I don't know.

    1) There is no relationship between creating e2m3u2b bouquets and importing EPG events. These are two different non-overlapping processes.

    2) Importing EPG events is simple and straightforward. We "run" through xmltv and "spit out" events in the specified format, look at /E2m3u2bouquet/xmltvconverter.py - this code "spite out" the list, which in turn is sent to eEPGCache :: importEvents .... Moreover, "generators" are always used in code as the least resource-intensive constructions in python.

  • Never got this error on OpenATV 7.0, I use it myself ....

    Perhaps this is due to the values of the node programme attributes in the XMLTV used. More precisely, perhaps some of the characters of these values are not unescaped.... I need a sample of the playlist you are using and XMLTV for tests. So that I can catch such a bug on my own


    And, if I'm right about XMLTV, then there are no questions about the kernel code or the plugin))) And I have to write a "crutch" to fix this problem in XMLTV

    This error occurs always during "Samsung TV Plus all channels" process but not at each run, so you'll have difficulties to reproduct it I think.

    Code: m3u & xmltv url
    https://i.mjh.nz/SamsungTVPlus/all.m3u8
    https://i.mjh.nz/SamsungTVPlus/all.xml.gz
  • This error occurs always during "Samsung TV Plus all channels" process but not at each run

    :laugh1: those, the same python plugin code "processes" the same XMLTV, and error occurs always, but not at each run ....

    At the same time, in the log of Enigma2 work - there is NOT a single line with a crash of the plugin code ... But do you think the plugin is to blame? And I have to find plugin errors that are not in the log?

    I am slowly starting to become a psychiatrist. And what should I look for if your XMLTVs are ALWAYS processed without errors at each run on my SATbox?

  • :laugh1: those, the same python plugin code "processes" the same XMLTV, and error occurs always, but not at each run ....

    At the same time, in the log of Enigma2 work - there is NOT a single line with a crash of the plugin code ... But do you think the plugin is to blame? And I have to find plugin errors that are not in the log?

    I am slowly starting to become a psychiatrist. And what should I look for if your XMLTVs are ALWAYS processed without errors at each run on my SATbox?

    No no, I never said that the crash cause was e2m3u2 plugin. My initial message was "What do you think about". I think the problem comes from the image itself + my hardware. I have another receiver, an Octagon sf8008, next month I will migrate on it and I'm sure the problem will disappear.. I hope in fact!

    Edited 2 times, last by jeepcook ().

  • Yes, I see. Eveything is ok for you !

    So it is so .... But you must understand that in order to fix something I must be able to repeat it. If I try to repeat the situation described by the user 1-5-10-15 times and I get NO errors, what can I fix?


    p.s.

    Check how the updated version (1.0.55) works with "interval" type of bouquets update - E2m3u2bouquet Plugin

  • So it is so .... But you must understand that in order to fix something I must be able to repeat it. If I try to repeat the situation described by the user 1-5-10-15 times and I get NO errors, what can I fix?


    p.s.

    Check how the updated version (1.0.55) works with "interval" type of bouquets update - E2m3u2bouquet Plugin

    Yes I understand. I will be more careful with a next mistake.


    For the 1.0.55, I will test it asap, thanks for this new improvement! You're a nice man and dev!!

Participate now!

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