E2m3u2bouquet - discussion & support

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

  • You use 4097 = exteplayer3 = 5002. Now it work for me too with your help, thank you !:thumbs up:
    But still the same problem with 5001 in openATV and OpenPLi, with quickzap or without it : impossibility of using the numeric keys to select channels...:face with rolling eyes:

    Edited 3 times, last by lgm75 ().

  • For me and for another person the problem occurs with or without your plugin, it is a ServiceApp bug under certain configurations. We can't do anything about it at the moment.:face with head bandage:

  • Hello,


    I'm using less my e2 box but I have a problem with the epg load process since weeks. In fact, each 7 days the epg display is empty. I have to delete the epg.dat, which has a smaller size than usually but not empty, and run the e2m3u2 process to regenerate a new one. In the e2m3u2 config the process run every hour and reading the log there is no error on the loading. For the epg.dat the date is modify at the end of the process.


    Here is an extract of the log:



    I did a lot of checks but now I don't know what to do to solve this case.


    Thanks

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

    OpenATV multiboot 7.5.1 / 7.6

    Edited once, last by jeepcook ().

  • For the epg.dat the date is modify at the end of the process.

    Neither IPTV Bouquets Maker (e2m3u2b) nor EPGImport, nor CrossEPG - NEVER interact with the epg.dat cache file ...

    [09.01 18:01:57] [e2m3u2b] Saving the eEPGCache into /media/hdd/epg.dat ...

    This is implemented by using the built-in functionality of any of the E2 image ... I have described to you earlier step by step the logic of EPG import operation ... Any of the existing EPG importers interacts with eEPGCache “dictionary” which is always stored in RAM ... and the implementation of writing this dictionary (data “drop”) into epg.dat cache file is done by C-code of your image


    [09.01 18:01:59] [e2m3u2b] Total imported events in 00:01:57

    This record indicates that among all the “processed” events, only 1323 events were “given” to eEPGCache ... These are the events that exist in XMLTV that can be mapped to channels in your playlist and they fall within an acceptable time range, for example - it's silly to import events that have already passed ...

    if you like it you can make donations

  • each 7 days the epg display is empty. I have to delete the epg.dat, which has a smaller size than usually but not empty,

    1) The point is that if the XMLTV file you are using has no data to import, then ... nothing will be imported ...If there are no events to import in the target XMLTV, and the events you have imported earlier are “out of date”. the EPG will not be displayed


    2) It is absolutely normal to change the size (decrease) of epg.dat cache file. Your system (Enigma2 image) periodically cleans the eEPGCache from obsolete (past) events ... also Enigma2 periodically does data drop from eEPGCache to epg.dat.... cache file. e.g. it happens ALWAYS when you turn off the receiver ... Therefore, if eEPGCache has been cleared of outdated (already passed) events, and the system has “dumped” data into epg.dat, the file size will decrease.

    if you like it you can make donations

  • jeepcook

    You can see all of this in your image log

    At power-up (startup of your image), your eEPGCache is initialized and reads data from the previously saved epg.dat

    Code
    [Avahi] avahi_timeout_free
    [Avahi] Registered vuultimo4k (_http._tcp) on vuultimo4k:80
    [eEPGCache] setCacheFile read/write epg data from/to '/media/hdd/epg.dat'
    [eEPGCache] time updated.. start EPG Mainloop
    *****
    *****
    [eEPGCache] 269505 events read from /media/hdd/epg.dat

    Depending on what image you use ... there can be variations ... in DreamOS by default every 2 minutes (if I remember correctly, you should look at the log for accuracy) the function of clearing eEPGCache of obsolete events is started ... in some images is shown in the log, but it is all visible in the C-code .... that periodically runs the EPG cleanup from obsolete events ... There are images where in the settings you can set the frequency of saving eEPGCache to epg.dat, etc.

    But in any image, the following happens when the power is turned off

    i.e. saving the eEPGCache (stored in RAM) to the epg.dat cache file... and only those events that are not outdated (not expired) at the moment of saving are saved ... Pay attention to the number of events read from the epg.dat file when the receiver is turned on and the number of events stored in epg.dat when it is turned off.

    Code
    [eEPGCache] 269505 events read from /media/hdd/epg.dat
    *****
    [eEPGCache] 268786 events written to /media/hdd/epg.dat

    Do you think the size of epg.dat will decrease? :woozy face:

    if you like it you can make donations

  • I'm ok with your answers but that's the fact. With the same epg.xml I have after 7 days no display epg and after deleting epg.dat and rerun e2m3u2 I have a 7 days epg for each channel. So my xml is good. And I confirm that just after the epg import completed the date/time of the file is updated and during these 7 days the file decrease instead or stay with the similar size as previous. So I don't know what happens with the epg load by e2m3u2b process.

    Perhaps there is a problem with OpenATV 7.5 or 7.5.1, I will check OATV github issues.

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

    OpenATV multiboot 7.5.1 / 7.6

  • OpenATV 7.5 or 7.5.1

    Here is the function responsible for periodic cleaning of EPG from “obsolete” events

    enigma2/lib/dvb/epgcache.cpp at e3d227dc8bdd88927c41e42097b2a21092ed9282 · openatv/enigma2
    openatv-gui. Contribute to openatv/enigma2 development by creating an account on GitHub.
    github.com

    Here you can see that the function of clearing outdated events is called regularly (with a specified interval)

    enigma2/lib/dvb/epgcache.cpp at e3d227dc8bdd88927c41e42097b2a21092ed9282 · openatv/enigma2
    openatv-gui. Contribute to openatv/enigma2 development by creating an account on GitHub.
    github.com

    Here is the function responsible for saving the “contents” of eEPGCache to the epg.dat cache file

    enigma2/lib/dvb/epgcache.cpp at e3d227dc8bdd88927c41e42097b2a21092ed9282 · openatv/enigma2
    openatv-gui. Contribute to openatv/enigma2 development by creating an account on GitHub.
    github.com

    if you like it you can make donations

  • Hello,


    Finally, I've found the problem. In my configuration, I have scripts which generate the epg.xml file configured in my m3u8 file each hour. It is necessary to do that to have a full epg for samsung tv and pluto tv channels which have short epg, not 24 hours cover.

    But there are conflicts, if the epg has been loaded by e2m3u2 and the content is modified during the epg load, there are corrupted datas.

    And in this case the only solution is to stop enigma2, delete the epg.dat, restart enigma2 and run e2m3u2b process.


    So I thought about solutions:

    - Verify if e2m3u2 is running, but it's not a script so there is no pid file which I can check i,n my scripts. This need an evolution of the plugin to have somewhere the information.

    - Have 2 or more xmls for a single m3u8 file. With this solution I would have the "master" epg xml and a link for each epg like samsung and pluto. I don't think it's possible.

    - Instead of using interval parameter in e2m3u2, use a fixed hour, but in this case I'll lost the refresh of samsung and pluto epg channels. Or have a way to parameter more than one fixed hour, this need an implementation in e2m3u2.


    For now, and that's how I've understood the problem, I configured to have the generation of the epg.xml file once a day and running e2m3u2 once a day too. So I don't have an exhaustive epg.


    Do you see another solution which could help me to have a clean and full epg?


    Thanks.

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

    OpenATV multiboot 7.5.1 / 7.6

  • But there are conflicts, if the epg has been loaded by e2m3u2 and the content is modified during the epg load, there are corrupted datas.

    It's not a problem ... It's the way it's designed ... The logic of EPG import includes a pause time when the code does not pay attention to the file of matching serviceref to channel_ID ... Now this pause is 3 hours ... I will reduce it to 1 hour and your “problem” will go away by itself.

    if you like it you can make donations

  • Hello,

    I think something is broken with the last versions.


    With 1.9.7, the plugin stop its work when an error occur and don't log it:


    With an old version, 1.7.8, the process continue its work and log an error:


    Edit: I think my case RE: E2m3u2bouquet - discussion & support occurs only with last versions, not old ones. Because now I have a 7 days epg with 1.7.8 version, not with the last one.

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

    OpenATV multiboot 7.5.1 / 7.6

    Edited once, last by jeepcook ().

  • Hello,

    I'd like to generate an epg xml containing different epg xml files. Currently I have a script to do that but I have problems because the top of the file or bottom can change between 2 extractions. So the result of my compiled epg contains mistakes. I've looking for a solution and found that e2m3u2 had this implementation but in a very old version, not your version.

    Do you know a solution to build properly a "compiled" xml?

    Thanks

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

    OpenATV multiboot 7.5.1 / 7.6

  • and found that e2m3u2 had this implementation but in a very old version, not your version.

    I scrapped that useless feature a long time ago. The point is that these are not different XMLTVs, but different links to the same XMLTV .... i.e. if for some reason you can't get XMLTV from the first link, we try to get it from the next one given..... but it's all the same XMLTV, just “hosted” on a different “domain” =)


    Having several different XMLTVs for the same playlist is silly and illogical. There are two methods to “bind” events from XMLTV to channels in your playlist


    1) “index” - this is based on tvg-id tag values.

    2) By channel names


    Now imagine that you have set several different XMLTVs for your playlist and have a channel with tvg-id=“12345”..... Except that it is very likely that in one XMLTV channel_id “12345” is “BBC” channel, and in the second (third, fourth, etc.) channel_id “12345” - very likely could be FOX news .... and in your playlist tvg-id=“12345” is channel Sport 1 =)


    Binding by channel name is also possible and ambiguous when using multiple XMLTV sources ... e.g. with descriptions and their completeness or lack thereof for the same channel in different XMLTVs.




    if you like it you can make donations

  • In fact I have a m3u8 containing a lot of channels with their own tvg-id and in the same playlist some channels from pluto tv and samsung tv, it's my favoris list. To have the epg I made a script to concatenate the epg corresponding to the first part of the playlist, the epg from pluto tv and samsung tv.

    Each tvg-id is unique on the result epg xml.

    But because the enigma2 epg is based on the serviceRef and not the tvg-id, I have no other solution.

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

    OpenATV multiboot 7.5.1 / 7.6

  • In fact I have a m3u8 containing a lot of channels with their own tvg-id


    But because the enigma2 epg is based on the serviceRef and not the tvg-id,

    There's no correlation. The problem will be in any software if you use one playlist and it contains tvg-id of channels that “corelate” with different EPG (XMLTV) .... You are very likely to encounter that either two different channels in your playlist will have the same tvg-id values ... or that the XMLTVs you use will have the same channelID (tvg-id) which will refer to different channels in your XMLTV (EPG) .... So you can't guarantee to map the tvg-id to the right cahnnelID ...


    The most correct thing to do would be to create multiple playlists each linked to only one EPG source ... rather than one big playlist that needs many EPG sources ...

    if you like it you can make donations

  • The most correct thing to do would be to create multiple playlists each linked to only one EPG source ... rather than one big playlist that needs many EPG sources ...

    I understand that but I don't want, because I have movies channels, musics channels, documentary channels... and a lot of other categories I want to have in the same list. And, in my configuration, I can guarantee that I have no tvg-id in one playlist available in another one too. It's easy, pluto and samsung have very specific tvg-ids and are not included in rytec sources because they don't have 24hours epg.

    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!