I have just upgraded install on XP 64bit (x64), doesnt seem to be a problem on installing.
However i have a new PC, running Windows 7 64bit, on installing i get the below box saying "DataDirectory registry setting does not appear to be set correctly", this is a new build, i havent changed anything, whats the installer looking for that this version of Windows 7 (with Server Pack 1) looking for?
C:\Users\Public\NPVR is there though...!!??? not tested the install yet (its a client for the XP 64bit server).
I just noticed that the ts files have subtitles in there. Is there a way to convert but also keep the subtitles? I'm thinking MKV through handbrake? Has anyone tried this?
I have noticed that when I return from the screen saver on the PC the time shows the time before the screen saver was turned on, and it doesn't refresh until the PC time changes. On the NMT it seems to work ok.
Right, time to get to the bottom of this bugger. I've seen this error with a couple of my plugins now, but seeing as they were all written in the same way that's hardly surprising
Here's the first block of code that runs when the System plugin saves its settings (after clicking ok in the Settings dialog):
Code:
string path = "/Settings/PluginSettings/System";
SettingsHelper sh = SettingsHelper.GetInstance();
XmlDocument doc = sh.GetBackingDocument();
XmlNode system = sh.GetSettingsNode(path);
// Clear the current <System> node (if it exists)
if (system != null)
system.RemoveAll();
// Otherwise, create it
else
{
system = doc.CreateElement("System");
sh.GetSettingsNode("/Settings/PluginSettings").AppendChild(system);
}
//Now (re)fill it with data
system.AppendChild(doc.CreateElement("ConfirmShutdownMode"));
// More similar lines follow...
...
"System.ArgumentException: The node to be inserted is from a different document context", "at System.Xml.XmlNode.AppendChild(XmlNode newChild)" is thrown - very very rarely - when it hits that last line of code. Why?
If it was wrong, surely it would crap-out every time :confused:
Testing fixes is difficult because it's so rare. If I open/ok, open/ok, etc the Settings dialog enough times I can usually force it, but I'd love to get rid of it for good!
I'm trying to setup a manual recording to record all "College Basketball*" shows on any channel. The EPG is updating but not recording any "College Basketball*" shows even though there are many instances in the EPG. My manual recording settings are:
Recording Type: Record Daily
Channel: Any channel
Name: College Basketball*
Date: Today
Start time: 12:00am
End time: 11:50pm
Pre-padding: 1 min
Post-padding: 2 min
Keep: All
Advance Rules: None
I've attached a screen cap of the error I'm getting when I try to stream a recording using VLC. Based on the line of code where the error occurs, it appears that the program cannot locate VLC. I am running Windows 7 Ultimate 64 bit and I've verified that VLC is installed at "C:\Program Files (x86)\VideoLAN\VLC" and I have the correct paths in "VLC Location (Video)" and "VLC Location (Audio)" under the config screen. Is there some other configuration step I'm missing?
sometimes when my computer win 7 wakes up the UI aspect ratio goes to 4:3 when it should be 16:9. How do I fix this? I suppose on the wakeup.bat I can tell it to restart npvr. I've told npvr that the UI is 720p and 16:9 and when I check it still is.
I think it does this because upon waking up the computer outputs 800x600.
The output is an ATI HDMI output with it's special adapter.
I thought I would post this incase someone else finds it useful.
There are a couple of ways to do this but this one works for my setup. I needed a way to switch to the Amplifier (SPDIF) for NPVR playback and for iTunes playback. I call iTunes from the NPVR menu for Music.
The two attached scripts select device 1 or device 2 in "Control Panel >> Sound" in Windows 7.
If you have more than two devices in "Control Panel >> Sound" then you can change the number of "DOWN" arrows in the script to select different devices.
I added these scripts as "Custom Tasks" in Settings >> Plugins and called them "Amp On" and "Amp Off".
Depending on your requirements you may also want to try Imline's AudioAdjust Plugin or the DPDT tool. DPDT worked intermittently for me.
If you have a slow system you may need to increase the sleep durations in the scripts.
For the nDroidService I have a thread which uses the HttpListener class in synchronous mode. I create the listener instance and then use...
Code:
listener.GetContext();
...which blocks the thread until a request comes in. I then process the request and respond within the same thread and loop back to that line to listen/block again.
I want to expand the code to just simply take a request and put it out to a different thread to handle in its own time rather than process in a synchronous manner. I've looked at the BeginGetContext method of HttpListener but I can't get my head around how to use it and I'm not sure it's what I want anyway.
Anybody have any ideas for handling multiple HTTP connections/requests/responses simultaneously?