I have only been using NextPVR 5 for a couple of weeks now, and I have a newbie question. I have noticed that when there are 2 back-to-back recordings on the same channel, the channel change script does not get called at the start of the 2nd recording. Is there a way that I can force the channel change script to run even when there is no channel change? I am trying to handle the case where someone might inadvertently change the STB channel externally with the remote. I considered using the PreRecording.bat script to blast the upcoming channel number, but since that script gets called 2 minutes prior to the start of the 2nd show, it would interrupt the end of the 1st recording in the case of a real channel change.
29. This will bring up the "Import Channels" screen. Click the top box to check/uncheck all.
Click individual boxes to check/uncheck that channel.
What I miss?
I've add epg.xml source.
Also HDMI/HDMI audio, blaster path (C:\Program Files\NextPVR\HaupBlast.exe)
and for channel I've retyped {channel}.
I get "save" button active, but if I use it - again get this:
This device currently has no channels, hit the Scan or Import buttons to add channels to this device.
Posted by: baj1 - 2020-11-10, 08:11 AM - Forum: Linux
- Replies (7)
I made some headway here and thought I'd share. I have a pretty decent volume of saved recordings, many of which have old comskip files from many versions ago. I don't know if I'm saying this right, but as I understand it they trip up Kodi/knewc due to the edl_skip_field setting. It defaults to 0=cut and you will not be able to play portions of the video marked as commercials. Setting it to a value = 3 will allow playback of the commercial marked portions.
Anywho, my solution was to re-run comskip on all of these recordings so I started a bash script to handle it in bulk in Linux. I'm far from a bash guru but was able to piece together some code with a lot of help from other forums and Martin's PostProcessing.sh example. Here it is:
Code:
#! /bin/bash
# comskip_subfolders.sh
# This script will bulk-process TS files in sub-folders. Execute in your root Video folder and it will run comskip on all TS files in all the "show" subfolders
# nice eases CPU use, range is -20 (fastest/highest CPU usage) to 19 (slowest/least CPU usage), negative values require sudo
for d in */; do
echo "Processing Folder $d"
cd "$d"
for file in *.ts
do
echo "Processing file " $file
nice -n 19 comskip --ini=/home/<username>/Comskip/comskip.ini "$file" > /dev/null
done
cd ..
done
Just paste the code into your favorite text editor and change <username> to your user, or modify the path completely if you installed Comskip elsewhere. Save the contents to your ~/bin folder and don't forget to chmod +x to make it executable. If you haven't already you might want to make sure you've set edl_skip_field = 3 in your comskip.ini, or add that line to the end of the ini file if needed.
Change the nice value if you like. I have a new server with a 6-core 3.6GHz CPU and I was running two instances of the script (in two separate folders) with nice @ "2" and each instance was showing about 240% utilization in System Monitor. It was processing 1 hour shows in around 100 seconds, although this did vary with the particular show it was processing.
Disclaimer! As stated I am FAR from a bash guru, use at your own risk! It worked on my single-depth subfolder structure of my Video (recordings) folder.
I hope someone finds this useful. This is v1.0, so I'm open to feedback/improvements.
Posted by: baj1 - 2020-11-10, 01:33 AM - Forum: Linux
- Replies (22)
I just noticed I had 3 recordings fail last night (Sunday) at 7:30pm and 8pm on two different channels with the error "Recording service not running at recording time." Those were the only 3 shows set to record during that time window. We have recording from 7pm and 8:30pm, so it was working before and after. I was not doing any server maintenance during that time, in fact I'm pretty sure I was watching football recorded earlier in the day on the server PC.
The same programs recorded fine on Friday and before, but it looks like I had some others fail on Friday with this same error. No failures with this error prior to that that I could find.
My logs only go back to 10am this morning (Monday), so that doesn't help. Anywhere else I can look for info?
I'll keep a closer eye on recording status and post logs if it happens again.
Have never actually tried this before, but I guess I can have NextPVR on the main PC and watch on a local (as in 10 foot away) laptop ?
I tried typing in hopefully the correct url on the laptop and it comes up with the same login screen as on the main PC, but typing the usual password it says Login Failed.
Also, under the Admin > Settings > Remote Access, it says 'If you're intending to use NextPVR over Internet, you need to tick the checkbox below. It'll only allow you to login remotely if you have changed the username/password and pin from the default values. This is required to help keep your machine secure.' So do I need to change the default username/password seeing as I'm using it locally, not via the Internet ?
(the box is ticked)
Posted by: zer - 2020-11-08, 10:24 PM - Forum: Windows
- Replies (7)
Setting up NextPVR on new hardware, all's working well so far apart from the desktop client which itself is fine until watching a recording or live TV where I don't get any on screen display (play bar and controls, etc).
Basic keyboard controls work (left/right arrows, space bar), BUT stop working after trying something like Ctrl-X or Ctrl-B. I can use the mouse to get the right-click menu up and everything within that seems to work. I have to press Escape to get back to the menu.
Just got NextPVR working tonight with Kodii and so far it has resolved a lot of issues I was having using WMC and Server WMC. I have one big issue though, which might be something simple to resolve, but I can't work it out. I have 2 x HD HomeRun devices, 4 tuners in Total, but it seems I can only use one tuner. It knows about all 4 of them, I can see them all under devices, but if I start recording a channel on my Kodi box, I cant change the channel, when I select another channel nothing happens. If I try to load NextPVR Web interface I can only play the channel I'm recording or already watching on Kodi. If I select another channel I get the error "failed to start requested stream" down the bottom.
When I first set everything up I had 4 duplicates of all the channels so I went in and hit "merge" under settings - devices - advanced tools and it seems to have fixed the guide issue but only allows me to use the one tuner. I'm not sure if that was the right thing to do or not so if someone can help it would be much appreciated.
I am recording a movie called "Star Trek IV: The Voyage Home" and when I browsed for the folder I found the recording in a folder called "SY3JLR~2". I have no idea how this happened.
I started the same movie using my Windows Nextpvr server and it created the correct folder name. Any Ideas?