Daylight saving time

Discussion in 'Newcomers Forum' started by Mike Amory, March 26, 2017.

  1. Mike Amory

    Mike Amory Portal Member

    Joined:
    June 8, 2015
    Messages:
    17
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +2 / 0
    Home Country:
    Finland Finland
    Today Daylight Saving Time moved the clocks of all my computers one hour towards the summer and MediaPortal stopped all the active recordings. It looks like MediaPortal can't handle Daylight Saving Time correctly. I think that all active recording should ignore the Daylight Saving Time changes and keep recording and all new recordings should use the new Daylight Saving Time. Am I right or am I right?


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,573
    Likes Received:
    513
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +926 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Switching to and from Daylight Saving Time is notoriously difficult for media centers and DVRs to get right. WMC got it right only half the time, and my Humax DVRs (two different models) never got it right. We can hope that MP will address this issue sometime in the future.

    In the mean time, I make a point of never scheduling a recording that spans the clock change, or which starts less than two hours after the clock change. In addition, I schedule a short dummy recording that starts two hours after the clock change. The purpose of this dummy recording is to wake the HTPC so that it can alter its internal clock, and then decide that the start time has already passed (this happened last night), and so return to sleep without recording anything. But the subsequent recordings will then be correct.

    -- from CyberSimian in the UK
     
    Last edited: March 26, 2017
  4. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,515
    Likes Received:
    4,723
    Ratings:
    +8,189 / 17
    Home Country:
    New Zealand New Zealand
    Aye, it's a huge task.
    AFAIK the best way to handle it properly is to store all timing data as UTC/GMT dates/times, then convert to local time-zone for display.
    (Currently we store all timing data as local dates/times.)
     
  5. Mike Amory

    Mike Amory Portal Member

    Joined:
    June 8, 2015
    Messages:
    17
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +2 / 0
    Home Country:
    Finland Finland
    Is it possible to have 2 separate clocks? Computer's clock, that always shows the right time, and program's internal clock. The computer's clock triggers the start time of new recordings, but the end time is based on the count of minutes since starting the recording. The program's internal clock would just count seconds since starting the program. This means that if you change date and time of the computer, it doesn't have any effect on the active recordings. Just an idea.
     
  6. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,515
    Likes Received:
    4,723
    Ratings:
    +8,189 / 17
    Home Country:
    New Zealand New Zealand
    No matter how you slice/dice the problem, the challenges in solving it with a robust solution are not insignificant.

    We acknowledge there are issues with the handling of daylight savings transitions. They're on our radar, and we'll deal with them as best we can and as soon as practically possible.
     
  7. Mike Amory

    Mike Amory Portal Member

    Joined:
    June 8, 2015
    Messages:
    17
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +2 / 0
    Home Country:
    Finland Finland
    OK. This is not a big issue. It happens only twice a year and it's quite easy to manually change the pre-record and post-record times. Recent studies show that changing time back and forth is bad for people's health. It looks like Daylight Saving Time will be dumped soon. So maybe it's better to wait and see. Anyway, thank you for your efforts.
     
  8. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,515
    Likes Received:
    4,723
    Ratings:
    +8,189 / 17
    Home Country:
    New Zealand New Zealand
    Just to note...
    On Windows XP (assume an equivalent is available for newer versions of Windows) there's a [Windows] "automatically adjust clock for daylight saving changes" option in the time zone tab of the date and time properties dialog (double-click on the time in the bottom right corner):
    upload_2017-3-27_9-56-49.png

    Disabling that option may save you having to mess with pre/post recording, enabling you to adjust the time when it's safe (ie. no recordings running).
    Better? I don't know. Another option to consider.
     
  9. Mike Amory

    Mike Amory Portal Member

    Joined:
    June 8, 2015
    Messages:
    17
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +2 / 0
    Home Country:
    Finland Finland
    You are right! I have Win7 and it has this option. Thank you for the tip.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!