Cypheros Transportstream Forum

English-speaking Support => TS-Doctor 2.x => Thema gestartet von: jaydear am Juli 12, 2017, 22:49:45

Titel: Wrong times
Beitrag von: jaydear am Juli 12, 2017, 22:49:45
Where does the EPG time bias come from: Is it 1. embedded in the broadcast TS, 2. added by the STB or 3. deduced by TSD somehow?

TV Guide (EPG)
Character coding table: ISO 6937 (eng)
EPG time bias: UTC+0:00
  12/07/2017 9:00 AM - 9:32 AM... should be 12/07/2017 7:00 PM - 7:32PM

In most, but not all recordings, I'm getting UTC+0.00 instead of +10.00 and it's becoming a nuisance. I've checked my settings in my STBs and they are set for +10.00. Could a setting be added to TSD to override wrong UTC bias please?
Titel: Re: Wrong times
Beitrag von: Cypheros am Juli 13, 2017, 12:31:52
The EPG time is always UTC. TS-Doctor uses the Windows localization settings to get the offset. At the moment I'm in France but if I'm back next week, I will check that.
Titel: Re: Wrong times
Beitrag von: jaydear am Juli 17, 2017, 02:09:27
No hurry  :D

I've started making a list and discovered that on any particular broadcaster some recordings will have UTC+10:00 and others will have UTC+0:00  :-\
Titel: Re: Wrong times
Beitrag von: Cypheros am Juli 18, 2017, 14:23:14
TS-Doctor has 3 types of UTC time bias detection.


New version 2.0.81 will show the type of time bias detection in the log. Additionally there is a new optional registry key "UTCTimeBias" under "HKEY_CURRENT_USER\Software\Cypheros\TsDoctor2\Settings" to force a value for UTC time bias.
Create a DWord (32 bit) with a value of 10 should do the trick.
Titel: Re: Wrong times
Beitrag von: jaydear am Juli 18, 2017, 19:01:53
V2.0.81 is using TOT. Probably better if it used Windows API  ::)

TV Guide (EPG)
Character coding table: ISO 6937 (eng)
EPG time bias (TOT): UTC+0:00
  18/07/2017 2:04 AM - 2:58 AM ...
  18/07/2017 3:02 AM - 3:24 AM ...
  18/07/2017 3:24 AM - 5:00 AM ...
  18/07/2017 5:00 AM - 6:00 AM ...

I'll add the DWORD and let you know if there are any problems.

Titel: Re: Wrong times
Beitrag von: jaydear am Juli 18, 2017, 19:18:13
AFAIK I did it correctly -
UTCTimeBias                REG_DWORD                0x0000000a (10)

Now the log shows
TV Guide (EPG)
Character coding table: ISO 6937 (eng)
EPG time bias (Registry): UTC+0:00

So, not working  :(
Titel: Re: Wrong times
Beitrag von: Cypheros am Juli 18, 2017, 22:54:12
Ups, will be fixed soon.
Titel: Re: Wrong times
Beitrag von: Cypheros am Juli 21, 2017, 01:40:30
OK, new version is online. It should work now.

Sorry for the inconveniences. Love Australia and Jim Jefferies :D
Titel: Re: Wrong times
Beitrag von: jaydear am Juli 21, 2017, 19:16:04
TSD still defaulting to TOT for me, but DWORD is working now  :)  Thanks!
Titel: Re: Wrong times
Beitrag von: jaydear am Juli 21, 2017, 19:33:44
... but, unfortunately the timeline is not showing anything  :(  Sorry.
Titel: Re: Wrong times
Beitrag von: Cypheros am Juli 22, 2017, 22:38:48
TV Guide looks OK. Maybe the recording start time is not correctly detected.

Could you post the full log to support (at) cypheros.de ?
Titel: Re: Wrong times
Beitrag von: jaydear am Juli 23, 2017, 02:51:42
OK, will do asap. I'll have to edit the registry to enable the DWORD again. I disabled it because I need the timeline descriptions for my workflow.

I notice in my screengrab above that the Transponder Time Bias is still showing UTC+0:00, if it matters  :-\
Titel: Re: Wrong times
Beitrag von: Cypheros am Juli 26, 2017, 20:04:50
OK, UTC time bias is a bit tricky for Australia as you have 8 different country_region_ids and 4 different offset values.

Had to redesign the whole EPG time assignment but the next version should work better with Australian TV recordings.