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 … 279 280 281 282 283 … 433 Next »
Recording ended too soon

Recording ended too soon
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#11
2011-10-09, 06:43 PM
Reddwarf Wrote:Where do you get your epg-data from? Have you checked that there is not a "+02:00" or "-02:00" in the epg-.xml file?
I tried another epg-source I can easily look into. EPG data correct. With that epg-source same problem.

sub Wrote:If the recording times a listed wrong in either the Recording screen or TV Guide, then it sounds like either your EPG source is supplying the wrong times, or you dont have your timezone set correctly, or you dont have it set to auto adjust for daylight savings.
Timezone is correct, EPG data is correct, daylight savings is also correct.
In tvguide and in recording screen things are okay. Only in the db3-file things are wrong and so are the actual recording times.
Furthermore, it seems that starting time might be correct, but ending time like the wrong time in the db3-file.

So, I tried GB-PVR 1.3.11 and there's everything normal. In tvguide, recordings as well as in db3-file.
The problem seems to be that NPVR writes the data wrong into the db3-file. At that since I installed windows 7 SP1.
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,759
Threads: 769
Joined: Nov 2003
#12
2011-10-09, 07:00 PM
WKleeven Wrote:Timezone is correct, EPG data is correct, daylight savings is also correct.
In tvguide and in recording screen things are okay. Only in the db3-file things are wrong and so are the actual recording times.
Furthermore, it seems that starting time might be correct, but ending time like the wrong time in the db3-file.
If it's showing the right times in the recordings screen and tv guide, then everything is ok in the db3 file. The uses UTC for data in the database, and this is ultimately the source of the right times you're seeing in the screen, so sounds like there is nothing wrong with that.

Quote:So, I tried GB-PVR 1.3.11 and there's everything normal. In tvguide, recordings as well as in db3-file.
The problem seems to be that NPVR writes the data wrong into the db3-file. At that since I installed windows 7 SP1.
GBPVR stored local times in it's database. NPVR stores UTC instead.

This stuff hasnt changed in the last year, and no body else has been reporting problems with date/times being shown wrong, so doesn't sound like there is anything wrong with this stuff.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,019
Threads: 956
Joined: May 2006
#13
2011-10-09, 07:01 PM
WKleeven Wrote:Only in the db3-file things are wrong and so are the actual recording times.

As BrettB wrote, the times in the database are in UTC not local time. If they display correctly, the database is ok. I still think sub needs to look at your NRecord logs to see all the trace errors.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,759
Threads: 769
Joined: Nov 2003
#14
2011-10-09, 07:08 PM
WKleeven, if you can zip and attach your db3 file, I'll check why you're getting this error message in your logs:

Quote:2011-10-09 02:11:53.490 [INFO][8] UpdateAllRecurringRecordings()
2011-10-09 02:11:53.490 [INFO][8] Deleting existing pending season recordings
2011-10-09 02:11:53.526 [INFO][8] UpdateRecurringRecording(62, 'Bouw een nieuw leven'):
<Rules><EPGTitle>Bouw een nieuw leven</EPGTitle><ChannelOID>7245</ChannelOID><ChannelName>RTL 4</ChannelName><StartTime>2009-05-16T13:30:00.0000000Z</StartTime><EndTime>2009-05-16T16:30:00.0000000Z</EndTime><PrePadding>5</PrePadding><PostPadding>15</PostPadding><Quality>1</Quality><Keep>0</Keep><Days>SATURDAY</Days><TimeslotStart>2009-05-16T12:00:00.0000000Z</TimeslotStart><TimeslotEnd>2009-05-16T15:00:00.0000000Z</TimeslotEnd></Rules>
2011-10-09 02:11:53.994 [ERROR][8] Unexpected error in UpdateRecurringRecording(): System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
bij NShared.EPGManager.LoadListingsMatchingTitle(Channel channel, String title)
bij NShared.RecordingServiceProxy.UpdateRecurringRecording(RecurringRecording recurringRecording)
2011-10-09 02:11:53.994 [INFO][8] UpdateRecurringRecording(64, 'Derek Ogilvie: Family Circle'):
<Rules><EPGTitle>Derek Ogilvie: Family Circle</EPGTitle><ChannelOID>7245</ChannelOID><ChannelName>RTL 4</ChannelName><StartTime>2009-05-21T18:00:00.0000000Z</StartTime><EndTime>2009-05-21T21:00:00.0000000Z</EndTime><PrePadding>5</PrePadding><PostPadding>0</PostPadding><Quality>1</Quality><Keep>0</Keep><Days>THURSDAY</Days><TimeslotStart>2009-05-21T16:30:00.0000000Z</TimeslotStart><TimeslotEnd>2009-05-21T19:30:00.0000000Z</TimeslotEnd></Rules>
2011-10-09 02:11:54.025 [ERROR][8] Unexpected error in UpdateRecurringRecording(): System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
bij NShared.EPGManager.LoadListingsMatchingTitle(Channel channel, String title)
bij NShared.RecordingServiceProxy.UpdateRecurringRecording(RecurringRecording recurringRecording)
2011-10-09 02:11:54.025 [INFO][8] UpdateRecurringRecording(65, 'Top Gear'):....
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#15
2011-10-09, 07:41 PM
Here it is.
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,759
Threads: 769
Joined: Nov 2003
#16
2011-10-09, 08:03 PM
This patch addresses error messages that were shown in that log when updating the EPG.

The errors was caused by recordings that pointed to a channel that now longer existed in the database. It'll no cause an exception. If a channel referred to in a recording was not found, then now it'll look for another channel with the same name, and still now found, it'll just log a message that the channel wasnt found, rather than having a null-pointer exception when it tries to work with the non-existant channel.
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#17
2011-10-09, 09:55 PM
I am not sure what caused the incomplete recording this morning. But when trying to find a cause, I looked at the db3-file and didn't know about UTC-times in NPVR in it instead of local times (like in GB-PVR). BrettB talked about GMT+2, which made no sense to me. I think it's because it's GMT+1 and +1 for daylight savings time.
Then some errors showed up about recurring recordings, which also made no sense to me because I didn't have a problems with recurring recordings.
I understand the errors occurred when updating the epg data. I tried the bugfix in post #16. Then updated the epg. I see error in the logs, don't know if it's another kind of error. Attached the logs.

I saw something else:
When making a new recording, whilst the recording is going on you can see the item in "pending recordings" (which is normal), but also in "ready recordings" and "what's new".
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,759
Threads: 769
Joined: Nov 2003
#18
2011-10-09, 10:13 PM
WKleeven Wrote:Then some errors showed up about recurring recordings, which also made no sense to me because I didn't have a problems with recurring recordings.
I understand the errors occurred when updating the epg data. I tried the bugfix in post #16. Then updated the epg. I see error in the logs, don't know if it's another kind of error. Attached the logs.
The logs generally look fine now. When it updated the and processed the recurring recordings, there was a couple of recurring recordings associated with channels that are no longer in the database, and no other channel with the same name. These didnt result, just a log message saying the channel wasnt found (so of course no episodes of that recurring recording will be scheduled).

The only other error in the logs was this:
Code:
2011-10-09 23:35:23.272    [ERROR][4]    Unexpected error parsing int setting: System.ArgumentOutOfRangeException: Toe te voegen waarde ligt buiten de reeks.
Parameternaam: value
   bij System.DateTime.Add(Double value, Int32 scale)
   bij NUtility.SettingsHelper.CheckForConfigUpdate()
   bij NUtility.SettingsHelper.GetSetting(String xpath, String defaultValue)
   bij NUtility.SettingsHelper.GetSetting(String xpath, Int32 defaultValue)
This error isnt critical, and can safely be ignored. It's done intentionally when you have multidec plugins enabled. Its done because the ffdecsa library leaves the floating point unit in an inconsistent state, so application forces this datetime add operation to .net it to reinitialise it.


Quote:I saw something else:
When making a new recording, whilst the recording is going on you can see the item in "pending recordings" (which is normal), but also in "ready recordings" and "what's new".
That's normal. That's the way the community wanted it.
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#19
2011-10-09, 10:17 PM
Still don't know why the recording didn't complete, but for now case closed. Thanks for the help everybody.
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#20
2012-10-08, 08:06 PM
Unbelievable, but true. Yesterday, almost exactly one year later than the problem I had that made me start this thread, I recorded the same broadcast (F1 Japan) and I got the same problem (digital recording, encrypted, SD)!

I understand now about UTC. In the db3-files start end endtime are in UTC and correct. I attached the logs, but there is not much info from yesterday anymore.
The filename suggests a recording from 13.00-16.00 which is correct (RTL GP Formule 1 - Japan (race)_20121007_13001600). In the db3-file you can see prepadding of 16 minutes and postpadding of 30 minutes. That's a total of 03:46:00.
But, in windows explorer you can see (see attachment) the length of the video is only 01:48:06 which is almost 2 hours short.

You know what it looks like? Start_time in db3-file (11.00, that's 13.00 local) is correct and in UTC, but end_time in db3-file (14.00) is in local time, not in UTC!

Wim
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (11): « Previous 1 2 3 4 5 … 11 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,605 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,027 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,095 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,262 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,743 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,310 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,059 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,340 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,510 2021-01-11, 04:37 PM
Last Post: Graham
  Recording service stopped or not running at scheduled time MattInetroit 3 1,908 2021-01-08, 12:03 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode