NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 109 110 111 112 113 … 433 Next »
DST and manual recurring recordings : wrong times !

DST and manual recurring recordings : wrong times !
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#11
2016-10-30, 11:12 PM
johnsonx42 Wrote:The problem is that internally, NextPVR does everything in UTC time (or Zulu time).
Actually, that's not entirely correct. The times for manual recurring recordings are supposed to be local times, and UTC everywhere else (like the schedule recordings created for the recurring). It's possible this was broken when we moved from .NET 2.0 to .NET 4.0, when some of default date string handling change. I remember we found several other things broken with date/times, relating to reimporting recordings, and these were fixed at the time.

Most people do recurring recordings from the guide, rather than manual recordings, so it's not as widely tested.
Handy.Man
Offline

Senior Member

Montréal, Québec, Canada
Posts: 423
Threads: 41
Joined: Oct 2012
#12
2016-10-30, 11:23 PM
Maybe look at http://forums.nextpvr.com/showthread.php...post496586
However this spring, Schedules Direct was down on Sunday morning :eek:
Server : NextPVR 4.2.3 Intel Core2 Quad Q6600 @2.4GHz 8GB Win7Pro, Hauppauge HVR-2250 Dual Tuner, DIAMOND ATI Theater HD 750 USB TV Tuner, Homemade fractal antenna, SchedulesDirect EPG.
Client : NextPVR 4.2.3 Intel I7-2600K @4.5GHz 8GB, Radeon HD6800, Win7Pro
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#13
2016-10-30, 11:32 PM
sub Wrote:Actually, that's not entirely correct. The times for manual recurring recordings are supposed to be local times, and UTC everywhere else (like the schedule recordings created for the recurring). It's possible this was broken when we moved from .NET 2.0 to .NET 4.0, when some of default date string handling change. I remember we found several other things broken with date/times, relating to reimporting recordings, and these were fixed at the time.

Most people do recurring recordings from the guide, rather than manual recordings, so it's not as widely tested.
well it's entirely correct in the sense that's what it IS doing, I tested it here. The manual recording rules are written and processed in Zulu time, with predictable results when the time zone offset changes. But I'll take your word for it that it wasn't supposed to be doing that, and it does seem like we've visited this exact subject before.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#14
2016-10-30, 11:47 PM
I've made a tweak for the next release which should fix the issue. I forced it to schedule 300 days of manual recordings for my recurring recording, and the times seem to be correct before and after daylight savings.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#15
2016-10-31, 12:02 AM
If you guys set <ManualRecordingDays>300</ManualRecordingDays> in your config.xml, and update the EPG, then look at the pending recordings, do you see the times go wrong in a few months, when the daylight savings next happen?

You'll obviously want to put that back to like 10 days after this test.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#16
2016-10-31, 12:09 AM
I don't need to set it to 300 days, since the DST change happens in 6... if I set a recurring manual record for 5:30-6:30pm on Sundays, it's set to record correctly today and hour early next Sunday. The rule is definitely being written in Zulu time, so I don't know how it would work any differently.

wait... maybe I'm looking at the wrong thing, hold on...
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#17
2016-10-31, 12:15 AM
yes, the rule in the database is written in Zulu time:
Code:
<Rules>
  <ChannelOID>6960</ChannelOID>
  <ChannelName>CBS</ChannelName>
  <StartTime>2016-10-31T00:30:00.0000000Z</StartTime>
  <EndTime>2016-10-31T01:30:00.0000000Z</EndTime>
  <PrePadding>0</PrePadding>
  <PostPadding>0</PostPadding>
  <Quality>0</Quality>
  <Keep>0</Keep>
  <Days>SUNDAY</Days>
</Rules>
so how could it not be wrong when the UTC offset changes?
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#18
2016-10-31, 12:25 AM
I'll give you a patch to check (see pre-release).
RolandP
Offline

Junior Member

Posts: 24
Threads: 8
Joined: Oct 2016
#19
2016-11-01, 07:59 AM
I'm getting mad... I have two computers with nextpvr, let's say a main one and a backup one.
Today, on the main one, pending recordings created by a recurring recordings are correct ! Same times in the two panels !
On the backup one, it's still one hour sooner than expected in the pending recordings panel.
???
The only difference between the two computers I can see, is that during my tests I rebooted the main one.
RolandP
Offline

Junior Member

Posts: 24
Threads: 8
Joined: Oct 2016
#20
2016-11-01, 08:57 AM
I'm getting really mad... I cancel all the recurring on the backup machine, I recreate all and now, it's ok on that computer too !
I did that yet the day of the DST change, and it wasn't working !
No idea of what's happening, really.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failed recordings won't delete Spid4567 3 2,467 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  All my recordings start 90 sec early ncsercs 2 1,360 2022-03-19, 03:28 AM
Last Post: sub
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,520 2021-03-21, 11:21 PM
Last Post: careads
  Most recordings are zero bytes virtualpaul 4 2,034 2021-01-29, 12:55 PM
Last Post: virtualpaul
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,074 2021-01-07, 08:47 AM
Last Post: sub
  maximize goes to wrong monitor workmanrob 2 1,318 2020-12-27, 03:30 PM
Last Post: workmanrob
  Recordings not playing in browser FamilyGuyFan 1 1,428 2020-10-22, 10:18 PM
Last Post: mvallevand
  Recordings 1 minute off BobbyDing 7 2,779 2020-10-11, 08:07 PM
Last Post: mvallevand
  easy tools to remove adverts in recordings? V_J 6 3,963 2020-10-06, 02:37 AM
Last Post: Ehrlichia
  Black screen, no audio, & zero bit recordings mattman1968 1 1,547 2020-09-15, 12:19 AM
Last Post: mattman1968

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode