Project

General

Profile

Bug #2617

EPG OFFSET

Added by Juanjo Armellino almost 10 years ago. Updated almost 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG
Target version:
-
Start date:
2015-01-13
Due date:
% Done:

0%

Estimated time:
Found in version:
3.9.2345
Affected Versions:

Description

Hi people,
im running tvheadend 3.9.2345~gf5c8e4c~trusty

I have the problem than out broadcasters here in Argentina, and for what i have been reading on the net, in brazil too, are not setting the timezone for the EPG, so all out EPGs are 3 hours offset (we are gmt+3)

Is there any chance to add an option to configure a manual offset for all the info ? it happens on every single channel, so i think a global setting would work fine.

thanks in advance
Juanjo

History

#1

Updated by Sam Stenvall almost 10 years ago

Maybe it's a bug in the ISDB parser (you use that in South America, right)?

#2

Updated by Jaroslav Kysela almost 10 years ago

It needs more accurate description. Which time is used by stream providers? Local time? What about DST ? Actually, tvh expects that the broadcasted times are in GMT+0 as specified in ETSI EN 300 468 V1.4.1 .

https://github.com/tvheadend/tvheadend/blob/master/src/input/mpegts/dvb_support.c#L398-L436

#3

Updated by Juanjo Armellino almost 10 years ago

Sam Stenvall wrote:

Maybe it's a bug in the ISDB parser (you use that in South America, right)?

yes, we use it in most south america countries

how can i check the time used by stream providers ? is there a way to get a dump of the grabbing ? the only grabber enabled is the EIT: dvb grabber

i have been doing some fiddling and if i set ubuntu timezone to gmt+0 and manually set the time then EPG works properly, not sure if it means anything..

Juanjo

#4

Updated by Juanjo Armellino almost 10 years ago

I just captured this with dvbsnoop, the program "desde la tierra" shown in this event, has a reported "Start_time: 0xdecf060000 [= 2015-01-17 06:00:00 (UTC)]" and it is shown in the epg listing as starting sat 17 january at 3 am.. the program actually starts at 6 am gmt-3 according to the channel's website.. so if Im not mistaken, they are providing EPG info with wrong times...

juanjo@HTPC:~$ dvbsnoop - n 1 - nph - crc 0x12
dvbsnoop V1.4.50 -- http://dvbsnoop.sourceforge.net/

------------------------------------------------------------
SECT-Packet: 00000001 PID: 18 (0x0012), Length: 875 (0x036b)
Time received: Tue 2015-01-13 20:10:57.657
------------------------------------------------------------
PID: 18 (0x0012) [= assigned for: DVB Event Information Table (EIT)]

Guess table from table id...
EIT-decoding....
Table_ID: 81 (0x51) [= Event Information Table (EIT) - actual transport stream, schedule]
section_syntax_indicator: 1 (0x01)
reserved_1: 1 (0x01)
reserved_2: 3 (0x03)
Section_length: 872 (0x0368)
Service_ID: 59201 (0xe741) [= --> refers to PMT program_number]
reserved_3: 3 (0x03)
Version_number: 3 (0x03)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 24 (0x18)
Last_Section_number: 248 (0xf8)
Transport_stream_ID: 1850 (0x073a)
Original_network_ID: 1850 (0x073a) [= >>ERROR: not (yet) defined... Report!<<]
Segment_last_Section_number: 24 (0x18)
Last_table_id: 81 (0x51) [= Event Information Table (EIT) - actual transport stream, schedule]

Event_ID: 102 (0x0066)
Start_time: 0xdecf060000 [= 2015-01-17 06:00:00 (UTC)]
Duration: 0x0010000 [= 01:00:00 (UTC)]
Running_status: 0 (0x00) [= undefined]
Free_CA_mode: 0 (0x00) [= unscrambled]
Descriptors_loop_length: 196 (0xc4)
DVB-DescriptorTag: 77 (0x4d)  [= short_event_descriptor]
descriptor_length: 184 (0xb8)
ISO639_2_language_code: spa
event_name_length: 15 (0x0f)
event_name: "Desde la tierra" -- Charset: Latin alphabet
text_length: 164 (0xa4)
text_char: "Desde la tierra es el programa que informa sobre los hacedores de la econom▒a social y pondera a la producci▒n y el consumo sanos y en equilibrio con la naturaleza." -- Charset: Latin alphabet
DVB-DescriptorTag: 84 (0x54)  [= content_descriptor]
descriptor_length: 2 (0x02)
Content_nibble_level_1: 6 (0x06)
Content_nibble_level_2: 15 (0x0f)
[= user defined]
User_nibble_1: 15 (0x0f)
User_nibble_2: 15 (0x0f)
DVB-DescriptorTag: 85 (0x55)  [= parental_rating_descriptor]
descriptor_length: 4 (0x04)
Country_code: ARG
Rating: 4 (0x04) [= minimum age: 7 years]
#5

Updated by Jaroslav Kysela almost 10 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|eb5cfaa6e916e5fd9cb1d4b3348a235c0f6f03b6.

#6

Updated by Jaroslav Kysela almost 10 years ago

  • Status changed from Fixed to New
  • % Done changed from 100 to 0

It appears like a local time instead UTC. Could you try v3.9-2372-geb5cfaa ? Set "EIT Local Time" in the network settings (it's advanced so it's only in Edit dialog).

#7

Updated by Juanjo Armellino almost 10 years ago

Jaroslav Kysela wrote:

It appears like a local time instead UTC. Could you try v3.9-2372-geb5cfaa ? Set "EIT Local Time" in the network settings (it's advanced so it's only in Edit dialog).

thanks a lot!, it works like a charm...

Juanjo

#8

Updated by Jaroslav Kysela almost 10 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF