Recoding fails, timer always displays a date in the 1969's
#1
Hi,

Using XBMC 12 RC2 + NextPVR 2.5.9 on Win 7 64 bits.

Live TV works. As soon as I try to record now (using the Record button at the lower right), the recording won't start. In fact, the start date/time says "31/12/1969".

Anyone else experienced this? Is it misconfiguration? bug?

Screenshot:
Image

Thanks!
Reply
#2
Can you see that recording in the NextPVR UI?

If you can readily reproduce the problem, you'll probably need to post the NextPVR web.log and nrecord.log files. Probably easiest to zip and attach them to a post on the NextPVR forums.

Reply
#3
From the station identifier in your screenshot, I take it you're in Quebec? Perhaps in the eastern part of the province where the time is 5 hours behind UTC? If so, that recording date/time you're seeing is likely due to an error in the application where the date may be incorrectly set to zeros, null or undefined. This, in turn, ends up being interpreted as the Unix epoch date of 00:00:00 on January 1, 1970 UTC (the "beginning of time" for Unix-based systems). If you're 5 hours behind UTC, then this date/time is adjusted locally to 19:00:00 December 31, 1969.
Reply
#4
Hi again,

I did reconfigure NextPVR so that I can get the LiveTV from it (I couldn't because of the renderer) and changed the path of the record directory (was set to X:\ which is a SMB mount on my NAS on the network, it seems that putting a local path (C:\) make it to work better for recording).

Following that, I am able to record within NextPVR and playback the videos in both NPVR and XBMC.

I am now able to start a recording from XBMC (the date is still wrong but the recorded file is correct). The problem is now that if I stop the recording, NPVR (or XBMC, don't know which one) will delete the .ts file (if I stop it from NPVR, the .ts file stays there).



@artrafael: Yes I am indeed from Quebec City, we're in UTC-5 during winter. It indeed seems like a unix-epoch under/overflow thing..
For the record thing (from NRecord.log), it seems that NPVR gets a request from XBMC to delete the file:
Code:
2013-01-03 18:46:59.826    [DEBUG][7]    Got: ipc://DigitalHost-20/RecorderRemote
2013-01-03 18:46:59.826    [DEBUG][7]    Asking NDigitalHost to start: C:\Temp\Manual Recordings\Un souper presque parfait_19691231_19002145.ts
2013-01-03 18:47:00.406    [DEBUG][4]    OnStart() complete...
2013-01-03 18:47:01.015    [DEBUG][7]    Temp at 2013-01-03 18:47:11
2013-01-03 18:47:01.015    [DEBUG][7]    Started recording (871:1:C:\Temp\Manual Recordings\Un souper presque parfait_19691231_19002145.ts)
2013-01-03 18:47:01.022    [DEBUG][7]    No C:\Users\Public\NPVR\Scripts\ParallelProcessing.bat
2013-01-03 18:47:03.707    [DEBUG][9]    Client Listener starting on port 7969
2013-01-03 18:48:56.083    [DEBUG][17]    DeleteRecording(871)
2013-01-03 18:48:57.084    [DEBUG][17]    DeleteRecording@1
2013-01-03 18:48:57.084    [DEBUG][17]    Cancelling wake up request for for 'RecordingOID871'
2013-01-03 18:48:57.085    [DEBUG][7]    recording service dequeued request to cancel (871)
2013-01-03 18:48:57.092    [DEBUG][7]    StopStream
2013-01-03 18:48:57.096    [DEBUG][17]     -removing: C:\Temp\Manual Recordings\Un souper presque parfait_19691231_19002145.ts
2013-01-03 18:48:57.128    [DEBUG][17]    DeleteRecording@2
2013-01-03 18:48:57.130    [DEBUG][17]    PlaybackPositionHelper.DeletePlaybackPosition(C:\Temp\Manual Recordings\Un souper presque parfait_19691231_19002145.ts)
2013-01-03 18:48:57.134    [DEBUG][17]    DeleteRecording@5
2013-01-03 18:48:58.229    [DEBUG][17]    DeleteRecording@exit
2013-01-03 18:48:58.529    [DEBUG][7]    Reloading recording schedule
2013-01-03 18:48:58.529    [DEBUG][7]    CancelAllWakeupRequests
Reply

Logout Mark Read Team Forum Stats Members Help
Recoding fails, timer always displays a date in the 1969's0