Are there any examples of how to capture remote control commands so I can build my own custom NextPVR client?
I am working with this bit of code but I get nothing when
Code:
public void RegisterRemote()
{
RAWINPUTDEVICE[] rid = new RAWINPUTDEVICE[4];
rid[0].usUsagePage = 0xFFBC; // adds HID remote control
rid[0].usUsage = 0x88;
rid[0].dwFlags = 0;
rid[0].hwndTarget = fForm.Handle;
rid[1].usUsagePage = 0x0C; // adds HID remote control
rid[1].usUsage = 0x01;
rid[1].dwFlags = RIDEV_INPUTSINK;
rid[1].hwndTarget = fForm.Handle;
rid[2].usUsagePage = 0x0C; // adds HID remote control
rid[2].usUsage = 0x80;
rid[2].dwFlags = RIDEV_INPUTSINK;
rid[2].hwndTarget = fForm.Handle;
//rid[0].usUsagePage = 0x01; // adds HID mouse with no legacy messages
//rid[0].usUsage = 0x02;
//rid[0].dwFlags = RIDEV_NOLEGACY;
rid[3].usUsagePage = 0x01; // adds HID keyboard with no legacy message
rid[3].usUsage = 0x06;
rid[3].dwFlags = RIDEV_NOLEGACY;
uint theSize = (uint)Marshal.SizeOf(rid[0]);
if (!RegisterRawInputDevices(rid, (uint)rid.Length, theSize))
throw new ApplicationException("Failed to register raw input devices.");
}
It runs without error but I get nothing in the WndProc override when I press remote buttons.
So all of a sudden this week, my Guide hasnt been populating, so nothing has been recorded.
I went to check my zap2xml addon and that's been downloading the XML fine, but for some reason the guide isnt fully populated.
I've tried restarts with no success,
here is what the guide looks like: https://imgur.com/dG0bcR1
Here is my settings: https://imgur.com/T9myqyc
I tried to look at the log and it does seem to read the XML fine, as far as I can tell.
if anyone could help me out that would be great!
here is the log from the last restart of app https://pastebin.com/HX0BkMJv
I can Mute a Live TV session from the right click menu, but cannot Unmute again from the right click menu. Sound can only be restored by exiting the Live TV session and restarting it.
Sound from NextRVR can be disabled (muted) and re-enabled (unmuted) using the Windows 7 Volume Mixer. I have observed that when NextPVR sound is muted using the right click menu that the sound is *not* disabled in the Windows Volume Mixer. I conclude that NextPVR muting is working independently of the Windows Volume Mixer.
Ideally I would like for both Mute and Unmute to work from the right click menu. I have the Default Audio Renderer selected under settings, but when I have tried other options with Realtek High Definition Audio I ended up somehow losing sound altogether and had to do a system restore to get back to a point where I could reinstall NextPVR and get sound back again with the Default Audio Renderer.
Hi. I just noticed from the logs that the FFMPG that is delivered with NPVR is from 2015. I was researching some high CPU activity while viewing a recording.
Is this necessary for legacy reasons?
Would it upset the apple cart if the newest version was substituted into the NPVR directories?
Can the FFMPEG commands be manipulated? And freely admitting that I don't know what I'm talking about, is it worth my time to experiment to see if hardware encoding is possible?
I'm using a TBS6522 Multi-standard Dual Tuner PCI-E card but NPVR is not detecting the DVB-T tuner in Settings > Devices.
Re-installing makes no difference.
The tuner card has a "change mode tool" that sets each tuner - and at first they were both set to DVBS, so could it be something to do with that?
Maybe I need to force NPVR to re-detect the tuners?
When in PVR UI mode I can control the timeout for all OSD items except for the OSD bar with playback controls. I guess that it is the DVD OSD bar, but it might not be.
Is there any way that this bar with playback controls can be hidden when NextPVR is in PVR UI mode? Or if not, is there some way to reduce its timeout (currently estimated at 4000 ms) to the same values that I have set (1000 ms) for the other OSD items?
If I needed this bar with playback controls for playing back recordings then I guess reducing the timeout value would be preferable to hiding it altogether.
Hello. I feel like I have gotten close to meeting my overall goal above.
The situation is: I want to be able to watch a recording in progress (most likely a sporting event) on my Apple TV while it is recording and with the ability to skip commercials.
With the help of several articles in this forum, I feel like I have gotten close but not exactly there.
I have COMSKIP running in parallel with my recordings, and this seems to work
I can see the commercial markers on my Windows PC when I play this recording, so this is also a good sign
I saw a post about KODI and COMSKIP where I set the value of edl_skip_field=3 in my ComSkip.ini file
So I have content with an EDL file, I just can't put it all together on ATV.
There is no NextPVA app on Apple TV, so that is out
I have tried to use MrMC, and I can play the file during a Record but I can't seem to navigate very well in the file itself. Definitely can't move by chapter at this point as far as I can tell.
I have NextPVA on iPhone/iPad and I have successfully casted a video onto ATV. However, automatic commercial skipping doesn't seem to work and it's unclear to me if I even have the ability to move by chapter from the iPad NextPVA app.
I saw some posts that made my head explode related to setting some KODI advanced parameters in this situation, but I can't tell whether this applies to me or not.
So, hoping that someone can let me know if there is any combination of items/apps/configurations that can meet the goal above.
I have SD set to update my epg at 4:15 am along with my IPTV xml update. This is not happening and I'm neither recording or watching IPTV at that time. I'm wondering if it's because once I watch or record an IPTV channel the record indicator light down not go off and NPVR thinks something is recording when nothing actually is. Is there a way the next version of NPVR could correct this problem? Also, although I know they're different tuners, any time I'm recording both an IPTV and a cable channel simultaneously, the cable channel is unwatchable. The IPTV recording will be fine. I believe I've sent samples of this before. I can watch an IPTV recording with no effect on a recording cable channel. Any chance this can be corrected?
Hi. On the MISC tab, I have set my Buffer Directory to a location on my D drive. This is because my C drive is Solid State and does not always have a ton of space.
I just noticed that when I run Live TV from the NextPVR IOS Client, the associated temporary files are on C anyway, specifically in C:\Users\Public\NPVR\web\temp.
I suppose I could set a symbolic link from this directory to a location on the D Drive, but is there a right way to prevent this from happening?
I am still having problems with missed recordings. The latest instance was a program scheduled to record last night (2018-02-08) at 21:00. If I look in the "What's New" page it reports "Recording Service Not Running at Recording Time" for that program and one scheduled earlier in the day. The last successful recording was on the 7th at 21:57-23:00 which seemed to have recorded OK (the output file is fine) but against which NPVR shows "Recording service was stopped during recording".
Obviously something happened towards the end of that program which caused the recording service to crash, and it didn't restart until I rebooted the PC last night.
I have had a look in the logs but I can't make sense of the cause. The only error I can see in the timeslot for the program on 2018-02-07 is in NRecord.log.1, and seems to relate to downloading FanArt, but that shouldn't have stopped the recording and there are other similar instances earlier:
Code:
2018-02-07 21:57:08.406 [ERROR][60] Unexpected error in FanArtTVHelper: System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at NShared.Metadata.FanArtTVHelper.LookupMetadata(String seriesID, MetadataEntity entity)
There is an error a couple of hours earlier in the log which looks a bit more serious, but I can't understand what it's saying:
Code:
2018-02-07 21:04:01.910 [DEBUG][9] Stopping recording (15322 on 22). Past end time of recording. 12
2018-02-07 21:04:01.921 [DEBUG][9] StopStream(C)
2018-02-07 21:04:01.931 [ERROR][9] Unexpected stopping remote stream: System.Runtime.Remoting.RemotingException: Failed to read from an IPC Port: The pipe has been ended.
Server stack trace:
at System.Runtime.Remoting.Channels.Ipc.IpcPort.Read(Byte[] data, Int32 offset, Int32 length)
at System.Runtime.Remoting.Channels.Ipc.PipeStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
at System.Runtime.Remoting.Channels.Ipc.IpcClientHandler.ReadHeaders()
at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at NUtility.IRecorder.StopStream(Int32 streamHandle)
at NShared.DigitalRecorder.StopStream(Int32 streamHandle)
2018-02-07 21:04:01.931 [ERROR][9] Trying to force restart of NDigitalHost on next stream request...