I am running NextPVR v5.0.8 (200823) on Windows 10 Professional x64. I have an "all series" recording scheduled that I'm trying to edit and is throwing an error upon saving. I believe it may be due to special characters in the title?
Steps to recreate:
In the web interface, I clicked on the Scheduler tab, changed the dropdown to recurring, click on the show to edit, change the directory to something different, click Save. It says "Scheduling Error" and "Unable to schedule recording at this time"
Recording Name: Law & Order: Special Victims Unit
Recording Type: Advanced
Channel: [Any Channel]
Advanced: title like 'Law & Order: Special Victims Unit'
Pre-Padding: 1
Post-Padding: 1
Directory: Recurring TV
Keep: All
Error Message from nrecord.log
Code:
2020-09-28 18:57:46.148 [DEBUG][5] Got request [::ffff:192.168.0.120]: /services/service (recording.recurring.save)
2020-09-28 18:57:46.149 [DEBUG][5] method=recording.recurring.save
2020-09-28 18:57:46.149 [DEBUG][5] parameters:
2020-09-28 18:57:46.149 [DEBUG][5] method: recording.recurring.save
2020-09-28 18:57:46.149 [DEBUG][5] recurring_type: advanced
2020-09-28 18:57:46.149 [DEBUG][5] channel: 0
2020-09-28 18:57:46.149 [DEBUG][5] advanced: title like 'Law & Order: Special Victims Unit'
2020-09-28 18:57:46.149 [DEBUG][5] name: Law & Order: Special Victims Unit
2020-09-28 18:57:46.149 [DEBUG][5] keep: 0
2020-09-28 18:57:46.149 [DEBUG][5] recurring_id: 79
2020-09-28 18:57:46.149 [DEBUG][5] pre_padding: 1
2020-09-28 18:57:46.149 [DEBUG][5] post_padding: 1
2020-09-28 18:57:46.150 [DEBUG][5] directory_id: Recurring TV
2020-09-28 18:57:46.150 [DEBUG][5] format: json
2020-09-28 18:57:46.150 [DEBUG][5] sid: <snip>
2020-09-28 18:57:46.150 [DEBUG][5] client_ip: ::ffff:192.168.0.120
2020-09-28 18:57:46.150 [DEBUG][5] user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
2020-09-28 18:57:46.150 [DEBUG][5] host_callback: mydvr:8866
2020-09-28 18:57:46.151 [DEBUG][5] advanced recording
2020-09-28 18:57:46.151 [ERROR][5] Unexpected error in RecordingRequestHandler.HandleRequest():
System.Xml.XmlException: An error occurred while parsing EntityName. Line 10, position 35.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.Throw(String res)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.ParseEntityReference()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NUtility.RecurringRecording.set_DayMask(DayMask value)
at NShared.Extend.RecordingRequestHandler.CreateRecurring(Dictionary`2 parameters)
at NShared.Extend.RecordingRequestHandler.HandleRequest(String method, Dictionary`2 parameters)
I tried removing the ampersand and colons from both the name and filter to see what would happen and got the same error. I am not having this issue with any of my other ~15 scheduled recordings. I tried deleting and recreating a few times, no luck...
sub: I've been working Martin on some slowness/timeout things with knewc recently. And I just captured a possibly good example with a theory of "why".
I watched a recording, stopped it, hit the Record button to delete it, confirmed, and then knewc timed out (the alpha test version I'm using times out after 10 seconds with no response from the server).
Code:
2020-09-28 12:24:43.677 [DEBUG][11] DeleteRecording(14757)
2020-09-28 12:24:43.677 [DEBUG][11] DeleteRecording@1
2020-09-28 12:24:43.677 [DEBUG][11] -removing: E:\NPVR Recordings2\Lights Out With David Spade\Lights Out with David Spade.S01E01.Dana Carvey, Al Madrigal, Sarah Tiana.ts
2020-09-28 12:24:44.130 [DEBUG][11] DeleteRecording@2
2020-09-28 12:24:44.130 [DEBUG][11] -removing: E:\NPVR Recordings2\Lights Out With David Spade\Lights Out with David Spade.S01E01.Dana Carvey, Al Madrigal, Sarah Tiana.log
2020-09-28 12:24:44.130 [DEBUG][11] -removing: E:\NPVR Recordings2\Lights Out With David Spade\Lights Out with David Spade.S01E01.Dana Carvey, Al Madrigal, Sarah Tiana.edl
2020-09-28 12:24:44.145 [DEBUG][11] PlaybackPositionHelper.DeletePlaybackPosition(E:\NPVR Recordings2\Lights Out With David Spade\Lights Out with David Spade.S01E01.Dana Carvey, Al Madrigal, Sarah Tiana.ts)
2020-09-28 12:24:44.145 [DEBUG][11] DeleteRecording@5
2020-09-28 12:24:44.145 [DEBUG][11] DeleteRecording@exit
2020-09-28 12:24:44.145 [DEBUG][11] ActivatePopup: null
2020-09-28 12:24:44.145 [DEBUG][11] deactivating old popup: Popup
2020-09-28 12:24:44.145 [DEBUG][11] Going to dispose popup at end of animation
2020-09-28 12:24:44.145 [DEBUG][11] Calling dispose on old popup: Popup
2020-09-28 12:24:44.145 [DEBUG][11] Recordings.RELOAD_RECORDINGS
But then the NextPVR GUI server seems to call RELOAD_RECORDINGS 20! times
before finally rendering a screen to send back to knewc
Code:
2020-09-28 12:24:54.067 [DEBUG][11] DoCompositeRendering() took 93.5994ms
Unfortunately, by that time, 11 seconds have elapsed and now knewc has timed-out!
What I realized looking at this example, was that the recording I had just deleted was the only one in that folder. So when NextPVR was going to go back to the recording list after the delete completed, the folder it would have normally gone back to was no longer there. I'm guessing that this is (part) of what trigger calling RELOAD_RECORDINGS so many times.
I'm hoping that you can take a look at the code and see what is happening!
For a week or so Kodi Matrix has been offering NPVR Addon v 7.0.0 but when I try to install get the error [ Kodi Binary Global GUI Version 5.15 could not be satisfied. ]
Using Matrix Alpha 1 64 bit on Windows 10 with Aeon Silvo Skin.
Will I need to update to the nightly - or is there more to it?
Desk top app loads and plays sub titles have to manually turn off each time I open app, is there any way to set desk top app to start with the sub tiles in the off position setting
Thanks in Advance
Gil
After upgrading to version 5 I am unable to record to NAS but can playback from the same NAS. The error message displayed in recordings says 'HDHR stream not available', but the log shows the actual reason is the recording file can not be created because The user name or password is incorrect. for accessing the NAS. I start the NextPVR service using my user account which can access the NAS for reading and writing. If I change the recording directory to a local drive, then there are no errors.
I do not understand why this happens.
I dropped my zipped log files in the editor, but they do not show as attachement.
2020-09-26 08:46:32.185 [DEBUG][10] DefaultDirectoryChoice: first
2020-09-26 08:46:32.401 [DEBUG][10] allocating recording target filename: \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts
2020-09-26 08:46:32.403 [DEBUG][10] About to start recording (920 on 21): \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts...
2020-09-26 08:46:32.404 [DEBUG][10] (Recording is due to be stopped at 9/26/2020 9:00 AM)
2020-09-26 08:46:32.427 [DEBUG][10] HDHomeRunRecorder.StartStream()
2020-09-26 08:46:32.427 [DEBUG][10] ipaddress is 192.168.1.68
2020-09-26 08:46:32.428 [DEBUG][10] building graph
2020-09-26 08:46:32.428 [DEBUG][10] About to load channel from tuning
2020-09-26 08:46:32.537 [DEBUG][10] source@1
2020-09-26 08:46:32.538 [DEBUG][10] Requesting: http://192.168.1.68:5004/tuner0/v2
2020-09-26 08:46:33.064 [DEBUG][83] HTTP input source starting
2020-09-26 08:46:33.271 [DEBUG][10] Creating writer: \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts
2020-09-26 08:46:33.723 [ERROR][10] Unexpected error creating TSWriter map: System.IO.IOException: The user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts.map'
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes)
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at NShared.Writer.OutputSink..ctor(String filename)
2020-09-26 08:46:33.761 [ERROR][10] Failed to start stream: System.IO.IOException: The user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts'
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
at NShared.Writer.OutputSink..ctor(String filename)
at NShared.Shim.InputSource.StartStream(String target)
at NShared.Shim.InputSourceHTTP.StartStream(String target)
at NShared.Shim.GenericCapture.StartStream(String target, String& reason)
2020-09-26 08:46:33.773 [DEBUG][10] Failed to start recording on allocated device (920:\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts): 'HDHR stream not available'
2020-09-26 08:46:33.773 [DEBUG][10] Looking for second chance device to perform recording...
2020-09-26 08:46:33.806 [DEBUG][10] Found possible backup device
2020-09-26 08:46:33.827 [DEBUG][10] HDHomeRunRecorder.StartStream()
2020-09-26 08:46:33.827 [DEBUG][10] ipaddress is 192.168.1.68
2020-09-26 08:46:33.828 [DEBUG][10] building graph
2020-09-26 08:46:33.829 [DEBUG][10] About to load channel from tuning
2020-09-26 08:46:33.928 [DEBUG][10] source@1
2020-09-26 08:46:33.929 [DEBUG][10] Requesting: http://192.168.1.68:5004/tuner1/v2
2020-09-26 08:46:34.435 [DEBUG][10] Creating writer: \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts
2020-09-26 08:46:34.435 [DEBUG][9] HTTP input source starting
2020-09-26 08:46:34.473 [ERROR][10] Unexpected error creating TSWriter map: System.IO.IOException: The user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts.map'
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes)
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at NShared.Writer.OutputSink..ctor(String filename)
2020-09-26 08:46:34.531 [ERROR][10] Failed to start stream: System.IO.IOException: TThe user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts'
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
at NShared.Writer.OutputSink..ctor(String filename)
at NShared.Shim.InputSource.StartStream(String target)
at NShared.Shim.InputSourceHTTP.StartStream(String target)
at NShared.Shim.GenericCapture.StartStream(String target, String& reason)
2020-09-26 08:46:34.558 [DEBUG][10] Failed to start recording on backup device too: 'HDHR stream not available'
2020-09-26 08:46:34.584 [DEBUG][10] Found possible backup device
2020-09-26 08:46:34.601 [DEBUG][10] HDHomeRunRecorder.StartStream()
2020-09-26 08:46:34.601 [DEBUG][10] ipaddress is 192.168.1.68
2020-09-26 08:46:34.602 [DEBUG][10] building graph
2020-09-26 08:46:34.602 [DEBUG][10] About to load channel from tuning
2020-09-26 08:46:34.697 [DEBUG][10] source@1
2020-09-26 08:46:34.698 [DEBUG][10] Requesting: http://192.168.1.68:5004/tuner2/v2
2020-09-26 08:46:35.190 [DEBUG][10] Creating writer: \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts
2020-09-26 08:46:35.190 [DEBUG][6] HTTP input source starting
2020-09-26 08:46:35.219 [ERROR][10] Unexpected error creating TSWriter map: System.IO.IOException: The user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts.map'
On my Debian Linux NextPVR server I incorrectly edited the config.xml file which caused a config-broken.xml file to be generated and created a new default config.xml file. In the new config file the default paths for Live TV Buffer and Recording Directory were the default Windows file paths.
This is not a big deal as I just changed the file paths in the UI settings page to the correct ones. But shouldn't the default config.xlm contain the original file paths from the Deb installer?
Logs attached just in case. The earlier log is when I was messing with the config file I think.