Posted by: baj1 - 2020-11-30, 04:07 AM - Forum: Linux
- Replies (17)
Around 20:47 my wife was skipping ahead watching playback in knewc on the server PC of the Sunday Night NFL game which was still recording, and the server crashed.
Kodi and NextPVR logs attached.
This has actually happened a few times over the past several days, but the first time I caught the logs right away.
Will the ability to configure Windows PCs as clients be added to v5? I currently have a server and 3 client PC's running v4. I watch live TV from clients and like being able to watch videos from my library and resume where I left off from any room. I know I can do some of this from web interface, but hope to retain same abilities in new version
NextPVR failed to start recording "the game" today. Granted we had a lot of recordings going but in theory we should have been fine. Adapter 0 and 1 are the two tuners on my Hauppauge 2250, I also have a dual tuner HDHR we in theory we should be able to handle 4 recordings simultaneously.
There were 3 recording going before 12pm today and 4 scheduled for 12pm. Three of those 4 were on the same channels recording before 12pm. The recording on the "new" channel, my game, failed to start. Based on the device-adapter1.log.1 file it appears the tuner was inactive prior to 12pm but then threw error "dvb_fe_set_parms failed" when it attempted to start.
I also noticed there were no log entries prior to 12pm, but it should have been 11:59am with the 1 minute pre-padding, so not sure what happened there.
The file was created in the NFL Football folder, but is 0 bytes.
So aside from not scheduling so many recordings around important things like football games, any thoughts?
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3aad423cdc36 nextpvr/nextpvr_amd64table "dotnet /app/NextPVR…" 13 days ago Up About an hour 80/tcp, 443/tcp, 0.0.0.0:8866->8866/tcp nextpvr
Attempting to import a m3u file, no response or feed back in the web pane
I have placed the m3u a:
/home/jerry/nextpvr
ls -all
total 14248
drwxr-xr-x 4 jerry jerry 4096 Nov 28 11:07 .
drwxr--r-- 36 jerry jerry 4096 Nov 28 09:42 ..
drwxr-xr-x 3 jerry jerry 4096 Nov 28 11:07 config
-rw-r--r-- 1 jerry jerry 388 Nov 19 09:45 Dockerfile
-rw-r--r-- 1 jerry jerry 53942 Nov 28 02:22 MYPRO.m3u
-rw-r--r-- 1 jerry jerry 14512014 Nov 28 02:22 MYPRO.xml
drwxr-xr-x 2 root root 4096 Nov 15 02:30 videos
/home/jerry/nextpvr/config
ls -all config/
total 14240
drwxr-xr-x 3 jerry jerry 4096 Nov 28 11:07 .
drwxr-xr-x 4 jerry jerry 4096 Nov 28 11:07 ..
drwxr-xr-x 2 jerry jerry 4096 Nov 28 11:07 data
-rw-r--r-- 1 jerry jerry 53942 Nov 28 02:22 MYPRO.m3u
-rw-r--r-- 1 jerry jerry 14512014 Nov 28 02:22 MYPRO.xml
/home/jerry/nextpvr/data
ls -all config/data/
total 14236
drwxr-xr-x 2 jerry jerry 4096 Nov 28 11:07 .
drwxr-xr-x 3 jerry jerry 4096 Nov 28 11:07 ..
-rw-r--r-- 1 jerry jerry 53942 Nov 28 02:22 MYPRO.m3u
-rw-r--r-- 1 jerry jerry 14512014 Nov 28 02:22 MYPRO.xml
The logs indicate a download....Downloading m3u, but right after that......Failed to download channel list
I am testing out the Linux version on Ubuntu 20.04.01 LTS, and have an Nvidia GPU (GTX 1050) using the proprietary 450 driver, and I can't get transcoding to work. I tried playing a live channel, as well as recording and playing back through Kodi. I am viewing remotely (recording in my office, Kodi running at home). I have tried a couple profiles. I looked at the logs, and don't see any reference to FFMPEG. I did a search for transcode, and found a 41 references, but they all appeared to be profile definitions.
Is there something special I need to enable in Linux to get transcoding working? I have already set it to VAAPI. I also tried CPU.
Current (non working) setting on the transcoder settings page are:
Preferred Streaming Profile - 144p (set low so it is obvious if it was working...I also tried 1080p).
Avoid transcoding where possible... - unchecked
Video Encoder - VAAPI, also tried CPU
Recording Auto Transcode - Leave recordings in native format. (I also tried 144p just to see)
When I look at the Video stats in Kodi, it still shows that it is streaming MPEG2, not h.264 (which I would expect), and the quality is clearly not 144p.
I just installed v5. On v4, I used IRSS to allow my remote to control the windows client by sending Windows Messages to the Windows Class for the client. This doesn't work for v5. I look up the Windows Class with another tool and it says it is: WindowsForms10.Window.8.app.0.141b42a_r12_ad1. If I use that value, the client doesn't respond. If look at the available Classes using the IRSS tool, it doesn't list that class. It has similar ones that have "Window.0" or "Window.20808" instead of "Window.8". If I use either of those, I get an access is denied error. There is nothing in the logs for the client because the messages are not getting to it.
Has anyone been able to use Windows Messages to control the v5 Windows Client?
I just installed v5. For v4, I had "Start on second monitor" unselected & the client comes up on the TV & not the monitor. For v5, regardless of selecting that setting or not, it always starts on the monitor except if I move Windows File Explorer to the TV and execute C:\Program Files\NextPVR\client\NextPVR.exe from there. It does respect the full screen setting. I don't see anything in the log that is relevant.
While carry out some work on another machine I inadvertantly pulled the power plug to my RPI4 which runs NextPVR. In 999 case out of 1000 this wouldn't have been a problem but on this occasion the SD card was corrupted and the PI refused to boot. Having time on my hands, under the UK national COVID lockdown, I decided to rebuild the PI using the new native USB boot feature using a small SSD I had to hand. This all went well and I soon had a working PI again. I have been using NPVR 5.x since January and have a number of recordings that I wanted to reimport into NPVR, this is when my problems started. Due to the way in which the corruption happened I had the recordings (*.ts and *.xml files) stored safely on my NAS but the database and config.xml had been lost and I didn't have a recent export of the recordings. OK, not great problem I thought. I recreated the config via the web app and was ready to start reimporting the recordings. I have some films and a number of TV series recorded so I made a start with the films being individual files. It turns out that the xml file created by NPVR at recording time is NOT quite the format needed to reimport the recording should a problem like mine arise. I needed to edit each xml file to make the necessary changes before the import of each recording could be made. I have done this for most of the films but the thought of changing each series recording xml file is something I will have to do a bit at a time.
I know all the pain of the above is mine - however, with the stable door firmly bolted, I looked around to see if anybody had posted a backup regime (app, script etc) on the forum but couldn't find any. I guess I will need to create a script (to be run via crontab at a suitable time ?) which does the following:
stop the NPVR recording service
copy the database and config.xml file to a safe location
restart the NPVR recording service
runs a recordings export process
I think I can manage to script the first three items but how can I achieve the last (export recordings) ?
Sub - could I make a heart felt plea that you consider adding a facility to a future NPVR version to provide a backup process that allows the the user, if they wish - I do, to save the files needed for a restore like mine above to a safe location of their choosing ? I have attached a file showing the before and after changes to the xml files I had to make to get the recordings to import successfully.