PiGS and Daylight Savings...
Daylight savings occurs on Saturday night. Since we fall back at 2am this coming Sunday, 2am becomes 1am again (the 1am time-slot gets repeated). The schedule is 100% zulu time which does not change, just the mapping of the programs to local time on your DVR. My dvr is currently showing 1am twice on Sunday morning as it should.
The SD/Rovi API's returns a field called TimeZones which you can see
here. SD does not include any timezone information. So I created a timezone structure which you can see in your pigs.json file. I initialized it your your local time zone when pigs was started. I don't know what, if anything, this TZ info does to the dvr/ dvr schedule.
{ 'StartDateTime': '2020-03-08T08:00:00Z', <<< 8 - 6 is 2am winter to spring
'EndDateTime': '2020-11-01T07:00:00Z', <<< 7 - 5 is 2am fall to winter
'Offset': -300}] <<< current offset is -300/60 = GMT -5 hrs for CST
On the Menu>Settings>Time&Date there are 2 settings Auto Time & Date and Auto Apply Daylight Savings. But where does dvr get its T&D and DST info? what does manual mean? what does Auto/manual DST mean? does this info come from NTP? The problem becomes if this config info does anything somehow it needs to get updated after Sunday.
I tried editing the Tzinfo to modify the time change from 2am to 3 or 4 am, restarting pigs and doing a MGR but nothing changed on the dvr schedule (like 2am or 3am being repeated) so it almost appears dvr is using something else for its Time change algorithm (my T&D is set to auto).
If you feel like looking into this, Here is a direct link to
BETA version 1.13c . It has some better error handling, I messed with the dns a little and it includes a browser url search function which can dump some schedule info right from the PiGS internal schedule. I didnt know if I could trust what dvr was displaying so I wanted to see what the raw Zulu based schedule looked like before dvr got a chance to manipulate it. see
ReleaseNotes.txt for full details. There are search examples in the notes.
To display 11/1 00:00 GMT for channel 15.1, the search looks like this:
http://192.168.1.200/search?expand=&duration=1*24*60&startdate=2020-11-01T00:00:00Z&zulu=true&channel=15.1&title=©=
There are some weird things in the SD schedule like a 60min Castle episode that says its 120 minutes long. my offset is -5:00 so 05:00 is 00:00 midnight.
After that I think my offset changes to -6:00? so the 07:02 castle is at 1am local time I guess.
Chan | Date-Time(offset=0) | Dura | Title | Description |
---|
15.1 | 2020-11-01T00:00:00Z | 60 | Weakest Link | "Whose Brain Is Still on Hold With Tech Support?." S1, E4. Aired: 2020-10-13. Eight strangers test |
15.1 | 2020-11-01T01:00:00Z | 60 | Ellen's Game of Games | "Party in the Goo. S. A.." S3, E9. Aired: 2020-03-10. Volunteers from Ellen's studio audience play |
15.1 | 2020-11-01T02:00:00Z | 60 | Saturday Night Live | (New) An ensemble performs sketch comedy. Cast: Kenan Thompson, Kate McKinnon, Cecily Strong, Aidy B |
15.1 | 2020-11-01T03:00:00Z | 29 | NBC 15 News at 10 | (New) Aired: 2006-04-03. Local and regional news coverage. |
15.1 | 2020-11-01T03:29:00Z | 93 | Saturday Night Live | (New) "John Mulaney; The Strokes." S46, E5. Aired: 2020-10-31. Host John Mulaney; The Strokes perfo |
15.1 | 2020-11-01T05:02:00Z | 120 | Castle | "An Embarrassment of Bitches." S4, E13. Aired: 2012-01-23. The investigation into the death of a fa |
15.1 | 2020-11-01T07:02:00Z | 60 | Castle | "The Blue Butterfly." S4, E14. Aired: 2012-02-06. Castle and Beckett must investigate a mysterious |
15.1 | 2020-11-01T08:02:00Z | 30 | 1st Look | "In Search of the Truth." S2018, E17. Aired: 2018-10-27. Johnny Bananas seeks out the truth about t |
15.1 | 2020-11-01T08:32:00Z | 30 | Open House NYC | "Presents: George to the Rescue -- Racquel." Aired: 2020-10-24. Brokers and buyers participate in s |
15.1 | 2020-11-01T09:02:00Z | 28 | Open House NYC | (New) "Presents: George to the Rescue -- Northwell." Aired: 2020-10-31. Brokers and buyers particip |