Posted by: mvallevand - 2014-10-28, 11:52 AM - Forum: X-NEWA
- No Replies
After using Sheik Yerbouti's system yesterday I thought I'd post a few tips on streaming over the Internet.
First note that Internet streaming is not enabled by default. The following need to be changed to true
This provide access to the API
<AllowRemoteAPI>false</AllowRemoteAPI>
and this to live TV and recordings . You don't need this is you just want to manage and schedule recordings
<AllowRemoteStreaming>false</AllowRemoteStreaming>
Also the PIN has to be changed to something other than the default.
Other than setting up the home network to allow NEWA connections from the Internet that's it.
Playback will depend on you u/l bandwidth. Sheik's is a little too slow
First off I would like to say that I love the Next PVR software a top notch bit of kit. I have installed the package to multiple machines and it works flawlessly when working from its own tv card/tuner etc.
My problem is when i try to showcase the client/server function and i am not having much luck. I have read a few threads and guides which try to explain the issue however i never seem to get any success.
I have taken a screenshot of the server and client screens (device and settings) - see attached.
I have attached the error message i keep receiving when i attempt to connect.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Data.SQLite.SQLiteException (0x80004005): unable to open database file
at System.Data.SQLite.SQLite3.Open(String strFilename, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
at System.Data.SQLite.SQLiteConnection.Open()
at NUtility.DatabaseHelper.GetConnection()
at NUtility.Channel.LoadForCaptureSource(Int32 forCaptureSourceOID, Int32 channelOID)
at NextPVR.Players.AvailableLiveChannelHelper.GetAvailableChannels(Int32 existingHandle, Boolean& reloaded, Boolean& reducedList)
at NextPVR.Players.LiveTvPlayer.CheckAvailableChannels(Boolean forceReload)
at NextPVR.Players.LiveTvPlayer..ctor(IntPtr window)
at NextPVR.ControllerForm.PlayLiveTV()
at NextPVR.Menu.Vertical.HandleMenuItem(String menuItem)
at NextPVR.Menu.Vertical.OnKeyDown(KeyEventArgs e)
at NextPVR.ControllerForm.OnKeyDown(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at NextPVR.ControllerForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Please let me know if you need any more information.
I tried to install NextPVR as a new installation on my OS (Windows 8.1) after reinstalling my OS.
When running the installer, as some point I see an error in the command prompt box that shows the installation occurring. The message that shows is "Process is terminated due to StackoverflowException". Then a pop up box from Windows asks me to close the program.
However, the remaining installation runs on through and installs the program just fine and seems to work just fine overall within itself so no problems there.
The only problem I am running into in using the program is when I try to access it via XBMC. I get a "Tuner Not Available" error when I try to play something. The epg grid shows up just fine, it just won't play.
I can only find one log available since the reinstallation in the Public>NPVR>Logs folder that is title "Nrecord". It doesn't look like there are any errors in it. However, when I try to upload it to this post it won't let me. I have never had to upload any logs as NPVR has so far worked great for me.
Can someone tell me if that is the correct log and if not, where the correct one is? And then how to attach it to this post?
I have been running with 3.2.9 (and others) stably for a long time. After updating to 3.3.8 I can watch live tv from sky through my hauppauge analog card once but when I stop it and then try again I get the unable to connect to recording service message.
This does not happen with my other tuner which is a DVB-T usb stick
My NPVR server is usually quite reliable--and I record A LOT of shows. But now, 2 Sundays in a row I seem to have had the NRecord.exe service "die". The first time was last Sunday (so version 3.2.9) and I wasn't home and didn't discover the problem until the next day when I had several failed recordings. Since I didn't catch it in time, I didn't get logs, and I just ignored it as some sort of fluke.
But just now, the service died on me again. This time it's version 3.3.8 which I installed Friday night. Maybe the two occurrences aren't related. But if they are, then the problem is not something new in 3.3.8.
Since I don't have the logs from the last time, I'll just focus on this instance where the logs are attached. I had 2 recordings running for the same channel both being recorded by 2 different tuners in an HDHR Prime with CableCard. It was in the post-padding for the 1st show (NFL Football) and the normal time for the 2nd show (60 Minutes). I was using the NMT client and from the Recordings listing, cancelled the NFL Football recording and then deleted it. The delete request brought up the confirmation dialog and I clicked OK. But the dialog stayed on the screen for a long time. That's when I noticed that both (rather than just 1) of the tuner in-use lights on the HDHR Prime had gone out. And the desktop gadget on my laptop couldn't connect to the recording service any longer. The NRecord.log doesn't seem to show any error. And the NFL Football recording and folder seemed to get deleted OK. I restarted the recording service and it immediately began recording 60 Minutes again (to a new file).
Sorry if both of these issues have been addressed repeatedly, but I have searched for answers to both and not found a workable solution.
1. I am using Schedules Direct for EPG data and chose local antenna -- since all broadcasts are ATSC. But I see no schedule data in the EPG, only no data available.
2. Using XBMC I receive the message tuner not available.
I use HDHomerun dual, two units and can watch broadcasts well in the GUI.
The firewall is not the problem. All three programs are allowed through, and I also turned off firewall and no change.
Windows version is 8.1 and XBMC version is Gotham. NPR is latest download.
Everything works fine in NPVR. I can watch TV and record (didn't actually check the recording, though).
*** Now that REST services are completed I will plan on deprecating SOAP services in the 2nd half of 2014. ***
mvallevand: REST Service Updates:
Added Season number to epgeventJSONObject.
Added Episode number to epgeventJSONObject.
UncleJohnsBand: REST Service Updates:
Update GuideService/Channels API to contain Channel Minor number.
Update GuideService/Channels API to contain Channel Formatted number.
Updated VCL methods that took in a channel number to now use a type of string instead of int.
Added DayMask attribute to Recurring object.
Added TimeSlot attribute to Recurring object.
Added Cast object within the epgeventJSONObject.
Added Crew object within the epgeventJSONObject.
Added Global CORS support.
Added channelIcon property to the Channel object which holds the url to download the icon.
[LIST=|INDENT=1]
This means all REST API calls from local hosts or external hosts will be able to access the various API Methods.
Added new GetChannel API to return info on a signle channel based on channel oid.
Updated Newtonsoft JSON library to 6.0.5.
[*]UncleJohnsBand: Mobile iNEWA Updates:
Correct display issue introduced introduced with the 2.0 version of NEWA.
[*]fjbpchristiaens: Mobile iNEWA Updates:
Update to iNEWA version 2.14.
[LIST=|INDENT=1]
[*]Fixes for ready recordings, scheduled recordings and TV guide which should fix some issues with spinning wheel in some conditions.
[/LIST]
[LIST=|INDENT=1]
[*]Some bug fixes (e.g. when lists are empty).
[/LIST]
[LIST=|INDENT=1]
[*]Added a "What's New" screen to show the new recordings for the last X days.
[/LIST]
[LIST=|INDENT=1]
[*]Reset of TV listing date and whats new list.
[/LIST]
[*]UncleJohnsBand: NEWA Application Updates:
Updated NEWA to support the new minor channel extension numbers for display and search.
Updated saved search version to v4.3 to support minor channel extension numbers.
[LIST=|INDENT=1]
[*]All saved searches will auto-upgrade when used manually or when auto-search executes.
[/LIST]
Updated default audio bitrate for presets in streaming to be 64bit instead of 32bit.
Correct issue when creating recordings from CSS Details page.
Removed commented out code that will not ever be used.
Correct JavaScript syntax error on CSS Manage screen.
Event Credits (Cast and Crew) now available to Schedules Direct and XMLTV epg users.
[LIST=|INDENT=1]
[*]This change removes the need for Schedules Direct users to use ExtendedEWA database for this extra information.
[/LIST]
[LIST=|INDENT=1]
[*]Schedules Direct Utilities will no longer work with the move of source data to JSON based API. I am not sure if I will remediate the utility to work with the JSON API or not.
[/LIST]
Corrected issue when trying to stream from the Details page.
Updated VLC plugin code on pages to recognize IE 11.
Updated XML Info Feed for NPVR desktop Gadget to show minor channel info.
NEWA now using GZIP compression on responses including JSON returns.
[*]Kayleigh: NEWA Application Updates:
Correct issue with MP4 audio streaming.
[LIST=|INDENT=1]
[*]Server must now run VLC 2.1 or higher.
[/LIST]
My recordings of 'Parenthood' were named incorrectly with the season 3 error, as I discussed in another thread. I deleted the xml under scripts and media, but that did not work. I went back and tried to do a rename again, and this is the error I got:
Code:
[...startup]
2014-10-26 17:26:41.081 [DEBUG][1] imageGrabLite, Version=2.2.5399.23174, Culture=neutral, PublicKeyToken=null
2014-10-26 17:26:41.088 [DEBUG][1] Command Line --oid 12004 --rename --zap2it
2014-10-26 17:26:41.114 [DEBUG][1] Rename file True
2014-10-26 17:26:41.200 [DEBUG][1] Searching select scheduled_recording.name, event_details, start_time, filename, service_type from scheduled_recording, channel, channel_mapping where scheduled_recording.oid = 12004 and scheduled_recording.channel_oid = channel.oid and scheduled_recording.channel_oid = channel_mapping.channel_oid and scheduled_recording.capture_source_oid = channel_mapping.capture_source_oid
2014-10-26 17:26:41.213 [DEBUG][1] No matches found
2014-10-26 17:26:41.214 [DEBUG][1] Cannot rename file, no episode information
2014-10-26 17:26:41.214 [DEBUG][1]
2014-10-26 17:26:41.214 [DEBUG][1]
2014-10-26 17:26:41.214 [DEBUG][1] False
2014-10-26 17:26:41.214 [DEBUG][1]
2014-10-26 17:26:41.214 [DEBUG][1] False
2014-10-26 17:26:41.214 [DEBUG][1] False