Project

General

Profile

Bug #3830

EIT event id decimal conversion mismatch compared to dvbsnoop

Added by dj bloc over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
EPG - Grabbers
Target version:
-
Start date:
2016-05-28
Due date:
% Done:

0%

Estimated time:
Found in version:
git master gbb64db6 (25 May 2016)
Affected Versions:

Description

Using git master release HTS Tvheadend 4.1-2076~gbb64db6~trusty (25 May 2016) and UK Freeview DVB.

When doing some research I've noticed that eventId from Tvheadend as reported in "http://<IP>:9981/api/epg/events/grid" does not match those reported by dvbsnoop.

For example a eventId in the DVB stream as 0x6af0 is reported as:
dvbsnoop = 27376
Tvheadend = 55281

I'm inclined to think the issue is with Tvheadend because:

a) All eventIds shown by Tvheadend tend to always have a value greater than 55,000 whereas monitoring the event ids from the DVB stream show the full 16-bit range is in use.
b) Google conversion suggests dvbsnoop is correct - https://www.google.co.uk/search?q=0x6af0+in+decimal

Using dvbsnoop 1.4.50 and command "./dvbsnoop -nph 0x12 -f 0x4E -m 0xFF -pd 3"

The only EPG source is epggrab from the DVB stream.

If I've found the correct locations the conversion routines can be found at:

https://sourceforge.net/p/tuxbox-cvs/apps/ci/master/tree/dvb/dvbsnoop/src/sections/eit.c#l129
https://sourceforge.net/p/tuxbox-cvs/apps/ci/master/tree/dvb/dvbsnoop/src/misc/helper.c#l209
https://github.com/tvheadend/tvheadend/blob/master/src/epggrab/module/eit.c#L425

History

#1

Updated by Jaroslav Kysela over 8 years ago

  • Status changed from New to Rejected

You mix different things. The TVH event ID is totaly different from EIT ID. EIT ID is not exported outside TVH - this values is stored in 'struct epg_broadcast' - dvb_eid member.

Also available in: Atom PDF