Project

General

Profile

Bug #2473

Missing EPG data

Added by Rafal Kupiec over 7 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
EPG
Target version:
-
Start date:
2015-06-25
Due date:
% Done:

0%

Estimated time:
(Total: 0.00 h)
Found in version:
3.9.2075
Affected Versions:

Description

After some update I have begun to miss EPG on channels. To be more precise I have to say that EPG on channel X can contain EPG for 12-13 November and 15-17 November. What happened with 14 November? There is no EPG for that day. On another channel there might be no information for 2-3 hours.

I attach a screenshot to show you how it looks like in XBMC.
i believe this is a problem with TVH, because same situation can be observer in WebUI.

I'm not sure, but i think this is broken since one of last commits fixing EIT EPG grabber.


Files

epg.png (93.9 KB) epg.png Rafal Kupiec, 2014-11-13 00:05
epg.png (6.36 KB) epg.png Rafal Kupiec, 2014-11-20 00:07
screenshot25.png (450 KB) screenshot25.png Rafal Kupiec, 2015-09-26 13:17
screenshot26.png (58.3 KB) screenshot26.png Rafal Kupiec, 2015-09-26 13:17
screenshot27.png (66.9 KB) screenshot27.png Rafal Kupiec, 2015-09-26 13:17
epg.log (11.9 MB) epg.log Manuel CISSE, 2016-04-27 18:07

Subtasks

Bug #2973: EPG - missing eventsNewAdam Sutton

Actions

History

#1

Updated by Rafal Kupiec over 7 years ago

I have set 'EPG scan timeout in seconds (30-7200):' to 3600 and I remember that after restarting TVH it took a lot of time to grab EPG by EIT. I have seen epggrab in Status tab for a long time.
Actually, all epggrab subscriptions are gone after a while, even timeout set has been not reached. I think this might be related to presented 'holes' in EPG. Looks like it is not obtaining whole EPG and misses some data now.

#2

Updated by Prof Yaffle over 7 years ago

I seem to have EPG problems as well - I'm not sure that they're 'holes', but I'm certainly missing most events in the WebUI. It may or may not be related.

Trying to bisect the commits:

Build 2004 commit 77d4d39 - gives working EPG
Build 2013 0d05c29 crashes
Build 2020 1453747 crashes
Build 2038 deb9473 crashes
Build 2043 0b2e072 crashes
Build 2048 4c1f0fa runs - but has missing EPG data

My normal EPG is c. 70,000 events, +/- a bit.

My 'truncated' version is < 400. And it stays there from what I can see. I've made no changes to the EPG timeout.

I'm using DVB-S2 and DVB-T/T2 with OTA grabbers.

#3

Updated by Prof Yaffle over 7 years ago

Yes, I have holes... if I look at a clean build (3.9.2111~ga0e69f8), I have some data for 18/11... one event on 19/11... one on 22/11... and then a few hundred on 25/11.

Like a good Swiss cheese.

#4

Updated by Jaroslav Kysela over 7 years ago

  • Found in version changed from 3.9.2.2075 to 3.9.2075
#5

Updated by Jaroslav Kysela over 7 years ago

Trying here, removed EPG but got grabbed all events from DVB-T and DVB-S seems OK too.. But running more tests here.. Another strange bug.

#6

Updated by Jaroslav Kysela over 7 years ago

Tested with 1000 Channels DVB-T and DVB-S from 3 different SAT bouquets (Czech, German) and I don't see any missing EPG or gaps:

[   INFO] epgdb:   episodes   109138
[   INFO] epgdb:   broadcasts 109138

rwx------ 1 perexg perexg 71748931 Nov 18 17.48 cfg3/epgdb.v2
#7

Updated by Rafal Kupiec over 7 years ago

I can confirm, that reverting back to mentioned commit fixes this issue.
As i have stated in ticket description - this had to be introduced in one of latest commit...

#8

Updated by Jaroslav Kysela over 7 years ago

Prof Yaffle wrote:

I seem to have EPG problems as well - I'm not sure that they're 'holes', but I'm certainly missing most events in the WebUI. It may or may not be related.

Could you try latest and provide "--trace epggrab" ?

#9

Updated by Prof Yaffle over 7 years ago

Running now - my EPG survived the upgrade for the first time since build 2000ish, so instead of starting with < 400 events I started with > 66,000. That's good.

epggrab kicked in immediately as well, and appears to be running, which is also good. I'll let it run for a bit, see if it finishes and PM you the logfile.

Looks good, though, for the moment... let's see if new events appear. I'll leave it overnight if necessary.

Thanks for the outstanding work here - děkuji :-)

#10

Updated by Prof Yaffle over 7 years ago

Okay, EPG deleted events as they expired, and new events appeared on the end of the list. It appeared to be functional. I'm getting too many crashes to really test it further, so need to revert to my stable build, but it's looking promising.

Let's see what Rafal has to say tomorrow...

#11

Updated by Rafal Kupiec over 7 years ago

Steps done:

1) Updated to 3.9.2130
2) Restarted tvheadend
3) Enabled initial EPG scan on startup
4) Set EPG grab time limit to 15 minutes
5) Stopped tvheadend
6) Moved epgdb.v2 file
7) Started tvheadend
8) Waited 15 minutes
9) Checked EPG for 'holes'
10) Stopped tvheadend
11) Compared new epgdb.v2 file with the old one

Results:
) I have found missing EPG data in WebUI on few channels (both DVB-T and DVB-S)
) I have found missing EPG data in XBMC (after clearing all PVR data)
*) New epgdb.v2 file is about ~1MB smaller:

rwx----- 1 tvheadend video 21994043 Nov 19 23:58 epgdb.v2
rwx----- 1 tvheadend video 22730502 Nov 19 23:36 epgdb.v2_BACKUP

#12

Updated by Rafal Kupiec over 7 years ago

  • File tv.png added

Example of missing EPG data in WebUI with 3.9.2130

#13

Updated by Rafal Kupiec over 7 years ago

Example of missing EPG data in WebUI with 3.9.2130

#14

Updated by Jaroslav Kysela over 7 years ago

  • File deleted (tv.png)
#15

Updated by Prof Yaffle over 7 years ago

I deleted my EPG db and restarted tvh... no EPG data was grabbed despite epggrab running.

On Jaroslav's advice, I tried manually tuning to the Freesat EPG mux - tvh immediately crashed. I don't know if the two things are related.

gdb backtrace (gdb / set args -u hts -g video -D / file /usr/bin/tvheadend / run):

[New Thread 0x7fffadffb700 (LWP 13849)]
tcp_server: tvhpoll_wait: Interrupted system call
2014-11-19 11:53:48.103 [  ERROR] iptv: poll() error Interrupted system call, sleeping 1 second
2014-11-19 11:53:58.050 [   INFO] mpegts: 12324V in ASTRA - scan no data, failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc5ffb700 (LWP 4494)]
strlen () at ../sysdeps/x86_64/strlen.S:106
106    ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff60a02ae in __GI___strdup (
    s=0x6433383661630202 <error: Cannot access memory at address 0x6433383661630202>) at strdup.c:41
#2  0x000000000045802b in htsmsg_add_str (msg=<optimised out>, 
    [email protected]=0x7fffb00210a0, name=<optimised out>, 
    [email protected]=0xa6c0ee "title", 
    str=0x6433383661630202 <error: Cannot access memory at address 0x6433383661630202>) at src/htsmsg.c:241
#3  0x0000000000454970 in htsp_build_event ([email protected]=0x12b7bf0, 
    [email protected]=0x0, [email protected]=0x0, [email protected]=0, 
    htsp=0x7fffc5ffa6b0) at src/htsp_server.c:789
#4  0x0000000000454e5c in htsp_method_getEvents (htsp=0x7fffc5ffa6b0, 
    in=<optimised out>) at src/htsp_server.c:1107
#5  0x0000000000456bdc in htsp_read_loop (htsp=0x7fffc5ffa6b0)
    at src/htsp_server.c:2382
#6  htsp_serve (fd=34, opaque=0x7fffd0000c08, source=<optimised out>, 
    self=<optimised out>) at src/htsp_server.c:2518
#7  0x00000000004390bf in tcp_server_start (aux=0x7fffd0000be0)
    at src/tcp.c:540
#8  0x0000000000435f41 in thread_wrapper (p=0x7fffd0000d60)
    at src/wrappers.c:140
#9  0x00007ffff68f3182 in start_thread (arg=0x7fffc5ffb700)
---Type <return> to continue, or q <return> to quit---
    at pthread_create.c:312
#10 0x00007ffff6111fbd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) 
</pe>

Valgrind output:

<pre>
$ valgrind --leak-check=full --show-reachable=yes /usr/bin/tvheadend -u hts -g video -D

    ==28528== Thread 41 tcp_server_start:
    ==28528== Invalid read of size 8
    ==28528==    at 0x499839: descrambler_service_start (descrambler.c:108)
    ==28528==    by 0x44EA5F: service_start (service.c:623)
    ==28528==    by 0x450049: service_find_instance (service.c:734)
    ==28528==    by 0x44C24B: subscription_reschedule (subscriptions.c:314)
    ==28528==    by 0x44CA43: subscription_create_from_channel_or_service (subscriptions.c:677)
    ==28528==    by 0x44CB39: subscription_create_from_channel (subscriptions.c:688)
    ==28528==    by 0x48EF94: http_stream_channel (webui.c:863)
    ==28528==    by 0x4904E8: http_stream (webui.c:938)
    ==28528==    by 0x43C81F: http_exec (http.c:489)
    ==28528==    by 0x43CD06: http_cmd_get (http.c:555)
    ==28528==    by 0x43CF81: process_request (http.c:635)
    ==28528==    by 0x43D2BC: http_serve (http.c:946)
    ==28528==  Address 0xd8317a8 is 24 bytes before a block of size 48 free'd
    ==28528==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==28528==    by 0x4A71EE: dvb_bat_destroy_lists.isra.5 (dvb_psi.c:1163)
    ==28528==    by 0x4A96E3: dvb_nit_callback (dvb_psi.c:1290)
    ==28528==    by 0x4A42DF: mpegts_table_dispatch (mpegts_table.c:124)
    ==28528==    by 0x4A3EB1: mpegts_psi_section_reassemble0 (mpegts_table.c:338)
    ==28528==    by 0x4A4FA9: mpegts_psi_section_reassemble (mpegts_table.c:376)
    ==28528==    by 0x49E0B5: mpegts_input_table_dispatch (mpegts_input.c:683)
    ==28528==    by 0x49EA5A: mpegts_input_table_thread (mpegts_input.c:924)
    ==28528==    by 0x435F40: thread_wrapper (wrappers.c:140)
    ==28528==    by 0x6110181: start_thread (pthread_create.c:312)
    ==28528==    by 0x692EFBC: clone (clone.S:111)
    ==28528==
</pre>
#16

Updated by Prof Yaffle over 7 years ago

I hate it I hate it I hate it I hate it.

After watching various versions crash on demand yesterday, and having holes all over the place on my EPG, I started with a more systematic approach. Last night and this morning, I've built, run and debugged 40-odd versions of tvheadend between 3.9.2004~g77d4d39 and 3.9.2144~gda3d9ec. Would they crash? Would they hell. Would they eat my EPG? Nope, I currently have 75,000 events and climbing.

I've left tvh running in gdb (vs as a service) for the moment to see if anything changes. Otherwise, my conclusion is a config corruption - I can't explain it otherwise without randomly blaming an OTA packet corruption or a driver error.

I suppose it's possible - though unlikely - that there's an issue in config migration, and jumping from too early a version to too late a version is leaving somethign out of the config that's later relied upon? Compare that to my step-by-step upgrades over the past 24 hours - either commit-by-commit or in groups of five or ten commits as I lost patience with everything resolutely working. If there is a migration issue, chances are high I'd have avoided it like that - or if anyone running from an unstable repo or rebuilding every 48 hours or so.

Guesswork, though. Let's see.

#17

Updated by Prof Yaffle over 7 years ago

Confirmed with a 'clean' grab as well, after removing epgdb.v2 - events were successfully re-grabbed OTA for both DVB-T and -S. Back up to 75k events in < 30s or so.

#18

Updated by Rafal Kupiec over 7 years ago

Prof Yaffle wrote:

I hate it I hate it I hate it I hate it.

After watching various versions crash on demand yesterday, and having holes all over the place on my EPG, I started with a more systematic approach. Last night and this morning, I've built, run and debugged 40-odd versions of tvheadend between 3.9.2004~g77d4d39 and 3.9.2144~gda3d9ec. Would they crash? Would they hell. Would they eat my EPG? Nope, I currently have 75,000 events and climbing.

I've left tvh running in gdb (vs as a service) for the moment to see if anything changes. Otherwise, my conclusion is a config corruption - I can't explain it otherwise without randomly blaming an OTA packet corruption or a driver error.

I suppose it's possible - though unlikely - that there's an issue in config migration, and jumping from too early a version to too late a version is leaving somethign out of the config that's later relied upon? Compare that to my step-by-step upgrades over the past 24 hours - either commit-by-commit or in groups of five or ten commits as I lost patience with everything resolutely working. If there is a migration issue, chances are high I'd have avoided it like that - or if anyone running from an unstable repo or rebuilding every 48 hours or so.

Guesswork, though. Let's see.

Maybe it is safe to check latest commit with clean config?
In this case i would move /etc/tvheadend somewhere and start from scratch, because I dont encouter any crashes.

#19

Updated by Martin Walter over 7 years ago

Prof Yaffle wrote:

I suppose it's possible - though unlikely - that there's an issue in config migration, and jumping from too early a version to too late a version is leaving somethign out of the config that's later relied upon? Compare that to my step-by-step upgrades over the past 24 hours - either commit-by-commit or in groups of five or ten commits as I lost patience with everything resolutely working. If there is a migration issue, chances are high I'd have avoided it like that - or if anyone running from an unstable repo or rebuilding every 48 hours or so.

Guesswork, though. Let's see.

At least consistent with the crashes I'm seeing now after skipping several hundred commits when updating (#2498), but might not be related either.

#20

Updated by Prof Yaffle over 7 years ago

Rafal Kupiec wrote:

Maybe it is safe to check latest commit with clean config?
In this case i would move /etc/tvheadend somewhere and start from scratch, because I dont encouter any crashes.

Config removed, dpkg-reconfigure to recreate the 'base' config, networks and muxes added, scanning running for an hour and a half or so now. DVB-T stuff completed quickly as always, and generated > 14k events; DVB-S stuff is still discovering muxes and adding services, so I've a lot of holes on specific channels (i.e. no events), partial holes on others (i.e. events every day, but only in the afternoon), and complete gaps elsewhere (i.e. channels that don't yet exist because the underlying services and muxes haven't been discovered). Nothing deeply worrying at this stage... given the discovery of events when I simply deleted the EPG DB, I'd put all of these holes down to time and discovery.

I'll leave it run for another hour or so and see if anything changes. @Rafal, maybe you want to try as well and see where you land?

Martin Walter - re: your crashes - all I can suggest is a clean config to see if it helps. It's a random hope to grab at...!

#21

Updated by Rafal Kupiec over 7 years ago

Prof Yaffle wrote:

Rafal Kupiec wrote:

Maybe it is safe to check latest commit with clean config?
In this case i would move /etc/tvheadend somewhere and start from scratch, because I dont encouter any crashes.

Config removed, dpkg-reconfigure to recreate the 'base' config, networks and muxes added, scanning running for an hour and a half or so now. DVB-T stuff completed quickly as always, and generated > 14k events; DVB-S stuff is still discovering muxes and adding services, so I've a lot of holes on specific channels (i.e. no events), partial holes on others (i.e. events every day, but only in the afternoon), and complete gaps elsewhere (i.e. channels that don't yet exist because the underlying services and muxes haven't been discovered). Nothing deeply worrying at this stage... given the discovery of events when I simply deleted the EPG DB, I'd put all of these holes down to time and discovery.

I'll leave it run for another hour or so and see if anything changes. @Rafal, maybe you want to try as well and see where you land?

Martin Walter - re: your crashes - all I can suggest is a clean config to see if it helps. It's a random hope to grab at...!

I have written this regarding your crashes.
About EPG: Please take a look at epg.png (6.36 KB). Nothing changed since that time.

#22

Updated by Jaroslav Kysela over 7 years ago

What about this bug.. Can it be reproduced with the current tvh code ?

#23

Updated by Rafal Kupiec over 7 years ago

Jaroslav Kysela wrote:

What about this bug.. Can it be reproduced with the current tvh code ?

Need to check thoroughly.
Will keep you updated within next 2-3 days.

#24

Updated by Rafal Kupiec over 7 years ago

Yes, problem still exists

#25

Updated by Rafal Kupiec over 7 years ago

Any update here?

#26

Updated by Anders Falk over 7 years ago

Also interested. Have the same problem since a couple of updates. Some channels miss data in the EGP.

#27

Updated by Rafal Kupiec about 7 years ago

Can we do anything with this, please?
Im pretty sure its not dependent on drivers or device, because It is working great with TVH 3.4.

#28

Updated by Anders Falk about 7 years ago

Agree with Rafal. Did a clean install a few weeks ago. All EGP data appeared again. Now I have one channel missing OTA EPG data again. I have a feeling that something is happening during upgrades of TVH. I upgrade frequently...almost as soon as a new version is avaliable. Just a guess...might be totally wrong.

#29

Updated by Jaroslav Kysela about 7 years ago

I've not seen this in my setup. Provide some logs.

1) remove the <cfgdir>/epgdb.* file
2) start tvh
3) trigger EPG scan (in the config/channels/epg dialog - there's a button on top)
4) wait until this scan finishes
5) wait for EPG holes (if they're not visible immediatelly after scan)
6) provide the logs and describe them (channel, time)

Subsystem to trace (--trace epg,eit), tvh binary must be compiled with --enable-trace.

THE LOGS WILL BE HUGE!!!! You need a lot of disc space.

#30

Updated by Rafal Kupiec about 7 years ago

Anders Falk wrote:

Agree with Rafal. Did a clean install a few weeks ago. All EGP data appeared again. Now I have one channel missing OTA EPG data again. I have a feeling that something is happening during upgrades of TVH. I upgrade frequently...almost as soon as a new version is avaliable. Just a guess...might be totally wrong.

or during restart

#31

Updated by Paolo Roascio almost 7 years ago

@Rafal
@Andres

Can you please try with tvh version 4.1-467-ge2ee2a7 or newer?

#32

Updated by Rafal Kupiec almost 7 years ago

Still some holes with 4.1-467~ge2ee2a7

#33

Updated by Paolo Roascio almost 7 years ago

Rafal Kupiec wrote:

Still some holes with 4.1-467~ge2ee2a7

Can you post a screenshot of the epg grabber settings page?

Do you use kodi?, can you post a screenshot of the epg page with holes?

#34

Updated by Rafal Kupiec almost 7 years ago

I'm on 4.1-480.
As you can see on attached screenshots, the problem still exists with Kodi 15.1.

#35

Updated by Paolo Roascio almost 7 years ago

Ok, i asked you screenshots because something similar happened to me.

I can speak only for the eit grabber, i don't use xmltv, and this is mi thinking (maybe wrong anyway):

- tvheadend grabs eit epg data every 12 hours (default config at 02:04 and 14:04);
- You set timeout for muxes scan to 900 = 15min so, in case a mux reach timeout, the receiver is busy for 15 minutes, this for each mux reaces timeout.
- i don't know your equipment (number of tuners), the number of muxes that reaches timeout and also, in your screenshot (kodi one), i cannot understand if the affected channel epg is now/next or scheduled.

Then my thought is that your timeuot is too big. In my experience, here in Italy, problematic muxes, despite the timeout, send quickly the full epg data, so, for me, a timeout of 120 secs is enough. This lock tuners for only two minutes per problematic mux. Also the refresh period (12 hours) in my case was too long, i have many channels with now/next epg data, so, in short programs, cartoons for example, i had holes. In my case, the optimal scan period is 45 minutes with really few holes in case of really short programs, like 3 min news

Maybe not the solution, but can you give a try?

Useful also a log with timings for muxes epg scan. Can you try to launch in a console this:

tvheadend -l tvheadend.log -C

so the normal (not trace) log is wrote in tvheadend.log and is possible - at least - check the number of problematic muxes and the time tvheadend takes to scan the whole network.

#36

Updated by Rafal Kupiec almost 7 years ago

Well, nice investigation, but here are my thoughts:

1) I need longer timeout because i have several networks. I don't see such option per network/mux and all my DVB-S requires that
2) This hole is in EPG for Sunday (tomorrow), but sometimes happens that I am watching channel and there is no current EPG for it
3) I got 4 DVB-T tuners with 3 MUXes and 4 DVB-S tuners with about 20 transponders
4) I don't experience this issue with TVH 3.4. Perex told me its related to bug in driver, but I think there might be sth wrong after rewrite.

#37

Updated by Paolo Roascio almost 7 years ago

1) I need longer timeout because i have several networks. I don't see such option per network/mux and all my DVB-S >requires that

No, timeout isn't related to network(s), this is the reason i asked you to lower it. Timeout is related to each single mux, no matter the network number. Tvheadend scans all services registered in otamux directory, no matter the amount of time this implies, but if it meets a problematic mux, related tuner is locked until timeout.
In your case is relevant the cron refresh period, this yes, if is too low, tvheadend cannot start new epg scan cycle before the previus isn't finished (and this is the case for holes).

The log tells us exactly the time tvheadend takes to scan all your muxes/services, this to calibrate the cron multiline command.

This i my thought, Skilled guys can correct me if i'm wrong, but:

1) the timeout parameter is related to each mux (the option you don't find per mux is for "all" single mux).
2) the per network(s) (DVBT/satellites) time is influenced by the cron multiline (if intensive scans may be climbed over, if rare, previously registeed epg may end before a new rescan)

4) I don't experience this issue with TVH 3.4. Perex told me its related to bug in driver, but I think there might be >sth wrong after rewrite.

For me too, but the otamux structure has changed. previously there was a file per service, and i subspect that the epg scan was for all services. Now there is logic and filters, so it act more efficiently, but problematic muxes cause troubles (the reason i asked you to try with the specific version of tvh is to exclude bug 1942). This, in my though, isn't a driver problem, neither a tvheadend problem. I think this is a configuration problem to be optimized according broadcasters parameters.

#38

Updated by Paolo Roascio almost 7 years ago

Ah, for the record, i got 2 dvbt tuners (57 muxes), a dvbs2 tuner (hotbird) and another dvbs2 tuner connected to a 180 cm H-H dish (~20 satellites if i remember well), so the full satellite epg scan takes about an hour, but my tuners don't need timeouts (tevii S480)

#39

Updated by Manuel CISSE about 6 years ago

Using TVHeadEnd 4.1-1943~g10f1326~wheezy, I'm also seeing holes in the EPG (grabbed using OTA DVB-T), but maybe it's not a bug or another bug?
Here is an extract from the trace log (attached) :
2016-04-27 17:53:32.994 [ TRACE]:eit: svc='TF1', ch='TF1', eid= 2767, start=1461837600, stop=1461843900, ebc=0x7fef1c00a4e0
2016-04-27 17:53:32.994 [ TRACE]:eit: dtag 4D dlen 213
2016-04-27 17:53:32.994 [ TRACE]:eit: 66 72 65 1F 05 4C 65 73 20 31 32 20 63 6F 75 70 fre..Les 12 coup
2016-04-27 17:53:32.994 [ TRACE]:eit: 73 20 64 65 20 6D 69 64 69 2E 20 22 6E B0 20 32 s de midi. "n. 2
2016-04-27 17:53:32.994 [ TRACE]:eit: 34 31 22 B1 05 4A 65 75 20 70 72 E9 73 65 6E 74 41"..Jeu pr.sent
2016-04-27 17:53:32.994 [ TRACE]:eit: E9 20 70 61 72 20 4A 65 61 6E 2D 4C 75 63 20 52 . par Jean-Luc R
2016-04-27 17:53:32.994 [ TRACE]:eit: 65 69 63 68 6D 61 6E 6E 2E 20 4C 65 73 20 31 32 eichmann. Les 12
2016-04-27 17:53:32.994 [ TRACE]:eit: 20 63 6F 75 70 73 20 64 65 20 6D 69 64 69 20 63 coups de midi c
2016-04-27 17:53:32.994 [ TRACE]:eit: 6F 6E 74 69 6E 75 65 6E 74 20 64 65 20 73 92 69 ontinuent de s.i
2016-04-27 17:53:32.994 [ TRACE]:eit: 6E 76 69 74 65 72 20 63 68 65 7A 20 6C 65 73 20 nviter chez les
2016-04-27 17:53:32.994 [ TRACE]:eit: 74 E9 6C E9 73 70 65 63 74 61 74 65 75 72 73 20 t.l.spectateurs
2016-04-27 17:53:32.994 [ TRACE]:eit: 61 76 65 63 20 6C 61 20 6D EA 6D 65 20 71 75 65 avec la m.me que
2016-04-27 17:53:32.994 [ TRACE]:eit: 73 74 69 6F 6E 20 3A 20 71 75 69 20 64 E9 63 72 stion : qui d.cr
2016-04-27 17:53:32.994 [ TRACE]:eit: 6F 63 68 65 72 61 20 6C 65 20 74 69 74 72 65 20 ochera le titre
2016-04-27 17:53:32.994 [ TRACE]:eit: 64 65 20 AB 6D 61 EE 74 72 65 BB 20 64 65 20 4D de .ma.tre. de M
2016-04-27 17:53:32.994 [ TRACE]:eit: 69 64 69 20 3F idi ?
2016-04-27 17:53:32.994 [ TRACE]:eit: dtag 55 dlen 4
2016-04-27 17:53:32.994 [ TRACE]:eit: 46 52 41 00 FRA.
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418adf0, 3148, 3, tvh://channel-fed6ed805de52772e94ebddbd62033c6/bcast-3147/episode] created
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418adf0, 3148, 3, tvh://channel-fed6ed805de52772e94ebddbd62033c6/bcast-3147/episode] updated
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418adf0, 3148, 3, tvh://channel-fed6ed805de52772e94ebddbd62033c6/bcast-3147/episode] getref 1
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418b180, 3149, 4, (null)] created
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418b180, 3149, 4, (null)] updated
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418b180, 3149, 4, (null)] getref 1
2016-04-27 17:53:32.994 [ TRACE]:epg: added event 3149 ((null)) on TF1 1461841200 to 1461843900
2016-04-27 17:53:32.994 [ TRACE]:epg: remove overlap (b) event 3147 (Les 12 coups de midi. "n° 241") on TF1
1461837600 to 1461843900
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1c00a4e0, 3147, 4, (null)] putref 0
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418adf0, 3148, 3, tvh://channel-fed6ed805de52772e94ebddbd62033c6/bcast-3147/episode] putref 0
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418adf0, 3148, 3, tvh://channel-fed6ed805de52772e94ebddbd62033c6/bcast-3147/episode] destroy
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1c00a4e0, 3147, 4, (null)] destroy
2016-04-27 17:53:32.994 [ TRACE]:eit: svc='TF1', ch='TF1', eid= 2768, start=1461841200, stop=1461843900, ebc=0x7fef1418b180
2016-04-27 17:53:32.994 [ TRACE]:eit: dtag 4D dlen 49
2016-04-27 17:53:32.994 [ TRACE]:eit: 66 72 65 0B 05 4C 65 20 6A 6F 75 72 6E 61 6C 21 fre..Le journal!
2016-04-27 17:53:32.994 [ TRACE]:eit: 05 48 44 2E 20 50 72 E9 73 65 6E 74 E9 20 70 61 .HD. Pr.sent. pa
2016-04-27 17:53:32.994 [ TRACE]:eit: 72 20 4A 61 63 71 75 65 73 20 4C 65 67 72 6F 73 r Jacques Legros
2016-04-27 17:53:32.994 [ TRACE]:eit: 2E .
2016-04-27 17:53:32.994 [ TRACE]:eit: dtag 55 dlen 4
2016-04-27 17:53:32.994 [ TRACE]:eit: 46 52 41 00 FRA.
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418ac50, 3150, 3, tvh://channel-fed6ed805de52772e94ebddbd62033c6/bcast-3149/episode] created
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418ac50, 3150, 3, tvh://channel-fed6ed805de52772e94ebddbd62033c6/bcast-3149/episode] updated
2016-04-27 17:53:32.994 [ TRACE]:epg: eo [0x7fef1418ac50, 3150, 3, tvh://channel-fed6ed805de52772e94ebddbd62033c6/bcast-3149/episode] getref 1
2016-04-27 17:53:32.994 [ TRACE]:eit: svc='TF1', ch='TF1', eid= 2769, start=1461843900, stop=1461846900, ebc=0x7fef1c07db80

Event eid= 2767 ("Les 12 coups de midi") is completely removed from the EPG, probably because it overlaps event eid= 2768.

Is this the expected behaviour ? Maybe truncating the first event in order to remove the overlap would be better ?

Also available in: Atom PDF