NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 35 36 37 38 39 … 43 Next »
Timestamp logging change since February

 
  • 0 Vote(s) - 0 Average
Timestamp logging change since February
vintdiesel
Offline

Member

Posts: 114
Threads: 23
Joined: Jan 2012
#1
2020-04-02, 09:46 PM
I haven't noticed this until now, although I wondered why NextPVR wasn't waiting anymore to post process my recording until after midnight, which is some logic in my script.

Here are two samples from my Postprocessing logging file in February. I am in Auckland NZ by the way:

21/02/2020 17:50:00 - 5082 - Recording started on /recordings/1 News At 6pm/1 News At 6pm_20200221_18001900.ts recorded channel 1 on tuner 23

The above is correct, I have 10 minutes of pre-padding and the recording started at 17:50 and the filename for the news shows that it starts at 18:00 and ends at 19:00.

Since the 22nd of February, which I am thinking I must have updated NextPVR, (maybe to 5.0.1.200209?)

22/02/2020 04:50:01 - 5128 - Recording started on /recordings/1 News At 6pm/1 News At 6pm_20200222_05000600.ts recorded channel 1 on tuner 21

The recording is at the same time of day (18:00), but it is logged as starting at 04:50 and the filename is even showing that the news starts at 05:00 and ends at 06:00.

To me it looks like the timestamps and filenaming has gone from NZ daylight savings time to Greenwich mean time?

Note: I am having trouble attaching the logs, in which the upload has been taking a long time (several minutes). Once it gets to 100% then the browser complains that: NextPVR Forums
There has been an error due to your post data being empty. This could be due to a browser page refresh or direct access to this page. We recommend you press the browser back button and begin again.
 

I have tried a few times but to no avail.  If I clear the log attachment, then I can post.

Damian
Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
Linux Client: Raspberry Pi 3+, OSMC + Kodi
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2020-04-02, 10:04 PM
(2020-04-02, 09:46 PM)vintdiesel Wrote: Note: I am having trouble attaching the logs, in which the upload has been taking a long time (several minutes). Once it gets to 100% then the browser complains that: NextPVR Forums
There has been an error due to your post data being empty. This could be due to a browser page refresh or direct access to this page. We recommend you press the browser back button and begin again.
 

I have tried a few times but to no avail.  If I clear the log attachment, then I can post.
You're attaching a zip file right?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#3
2020-04-02, 10:07 PM
Which platform are you running the server on?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2020-04-02, 10:10 PM
(2020-04-02, 09:46 PM)vintdiesel Wrote: The recording is at the same time of day (18:00), but it is logged as starting at 04:50 and the filename is even showing that the news starts at 05:00 and ends at 06:00.
Behind the scenes everything is done in UTC time, which is why it's still recording at the correct time. When it needs to add a date/time the the logs, or use the date/time in a filename, or display it to the user, it asks .NET to convert it to a local time. Ultimately .NET ends up using the machine's timezone settings to do this conversion. It sounds like your machine is no longer set for the correct timezone.
vintdiesel
Offline

Member

Posts: 114
Threads: 23
Joined: Jan 2012
#5
2020-04-02, 11:04 PM
Hi sub, thanks for the prompt replies,


Quote:You're attaching a zip file right?


Yes I am, by attaching the zip log file that is downloaded to my PC when I click the "Log Files" button.  I have attached logs a few times before, and had no problem until now.



Quote:Which platform are you running the server on?


Docker on a Linux Unraid server which is running a LibreElec distro.


Quote: It sounds like your machine is no longer set for the correct timezone.


Thanks for that. I shall check the server settings.  I always use a Windows based PC to setup Unraid or the NextPVR docker so I am thinking of course my time settings are correct.  Never gave it a thought of checking the server OS timezone settings though,  Rolleyes
Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
Linux Client: Raspberry Pi 3+, OSMC + Kodi
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#6
2020-04-02, 11:31 PM
Consider this https://forums.nextpvr.com/showthread.ph...#pid532506

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#7
2020-04-02, 11:48 PM
Try adding these to your docker start (one additional thing over Martin's suggestion above)

--volume /etc/timezone:/etc/timezone:ro -volume /etc/localtime:/etc/localtime:ro
vintdiesel
Offline

Member

Posts: 114
Threads: 23
Joined: Jan 2012
#8
2020-04-03, 01:22 AM (This post was last modified: 2020-04-03, 01:23 AM by vintdiesel.)
Thanks guys, so helpful!
Looks like my system time is set correctly.

Linux 4.19.98-Unraid.
Last login: Fri Apr  3 14:15:36 +1300 2020 on /dev/pts/0.
root@Tower:~# date
Fri Apr  3 14:17:16 NZDT 2020

SO....... I will try the above suggestions to see if that changes things then I will report back.
Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
Linux Client: Raspberry Pi 3+, OSMC + Kodi
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#9
2020-04-03, 01:45 AM
(2020-04-03, 01:22 AM)vintdiesel Wrote: Thanks guys, so helpful!
Looks like my system time is set correctly.

Linux 4.19.98-Unraid.
Last login: Fri Apr  3 14:15:36 +1300 2020 on /dev/pts/0.
root@Tower:~# date
Fri Apr  3 14:17:16 NZDT 2020

SO....... I will try the above suggestions to see if that changes things then I will report back.
It's not that your system wasn't using the correct time or timezone, but rather that docker isn't inside the container.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IPTV - Change source IP address, without needing to reimport channel. Paul92 1 346 2024-11-09, 03:23 AM
Last Post: mvallevand
  What would happen if I change file locations and names of the recordings? Luisy44 4 530 2024-10-15, 01:15 AM
Last Post: Luisy44
  Channel Name Change jcjefferies 8 1,051 2024-06-25, 02:33 PM
Last Post: mvallevand
  Change a show cover image? muzicman0 14 2,913 2021-05-23, 02:47 PM
Last Post: muzicman0
  Can't change channels in NextPVR. Only from cmd line. vedatil4 29 7,066 2021-04-15, 06:36 PM
Last Post: vedatil4
  Why is NextPVR logging http://localhost:nnnnn/status ? PapaJay 7 2,308 2021-03-25, 02:03 AM
Last Post: sub
  NextPVR or the EPG borked up the time change? PeytonClara 6 2,341 2021-03-06, 02:56 AM
Last Post: SamM
  NextPVR or the EPG borked up the time change Ronstang 6 1,903 2020-12-16, 02:46 PM
Last Post: mvallevand
  IPTV Channel Removed Following Name Change ElGordito 1 1,339 2020-11-13, 05:22 PM
Last Post: thecubasekid
  Change log greg in kansas 4 2,325 2020-09-12, 03:54 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode