Posted by: aurerm - 2024-10-27, 06:59 AM - Forum: Linux
- No Replies
Hello
I found an interesting issue. I fixed it but I post it here so maybe it helps someone who faces it too
I installed NextPVR on a new Ubuntu Server. All well. http://192.168.x.y:8866
EPG with 150 channels imported access works from PC, Mac even VPN.
I shutdown the server, moved it to another place and booted it up again
For some reason I then used http://hostname:8866
Guide was empty, no devices shown, really strange. Again reboot, still the same. Nothing in NextPVR logs.
I then checked the F12 tools of Chrome. http://hostname:8866/languages/null.json' from origin 'http://hostname:8866' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `private`.
Hmm, I knew that CORS stuff from work.
So I changed the URL again to the IP and it works.
So if you face such an error too – use the IP.
Posted by: FM5 - 2024-10-27, 03:08 AM - Forum: Windows
- Replies (4)
Windows 10.
Current NextPVR release.
Haupauge USB tuner.
Hello. I've been trying to figure out the problems with Sleep and failed recordings for months. Fresh installs on three entirely different computers, etc.
But maybe it's not actually a sleep problem. NextPVR usually (always?) records one program fine after a computer reboot. And then the PC either goes to sleep and doesn't wake up, or doesn't go to sleep, but, either way, I think it's the next recording that is what fails.
The NextPVR Backend Status window always shows what's going on. The TV tuner always shows up in the window.
When it did the record a first TV show but not record a second one recently, I physically unplugged the one USB TV tuner. And then plugged it back in. NextPVR then showed it was recording, but the status window said it was recording a TV show I had scheduled an hour or two earlier.
It seems perhaps that after properly recording one scheduled TV show after a reboot that the TV tuner gets stuck and won't release and then the PC 1) perhaps won't go into sleep mode, 2) won't record a second TV show. Though for 2) it doesn't say TV tuner in use or unavailable. It fails in some other way.
Today, I set it to record two episodes of different shows, one right after the other. It worked fine.
Usually when I test, I schedule it to record one 30-minute show, then 30 minutes of nothing, then schedule another 30-minute TV show. To see if it goes into sleep mode during that middle 30 minutes.
A powercfg request showed a Legacy Kernel Caller error. I typed in the override command today to try that. Haven't noticed any change.
The Hauppauge tuner driver is the latest one, from 2015.
NextPVR and it used to work great. Started having these problems months ago out of nowhere. Nothing should have changed on the PC other than Windows 10 auto-updates. Also have a second (Microtune brand) USB tuner I've tried that acts similarly.
The NextPVR PC has a simple life of pretty much only ever being used for NextPVR TV recording and playing, and only one tuner, and Windows 10 installed fresh a few times in recent months while trying to figure these problems out. I'm assuming a Windows 10 update messed things up since it does this even after a fresh Windows 10 install on an entirely different computer.
Various failed error messages in case someone searches the forums in the future:
Failed: No connection could be made because the target machine actively refused it.
Failed: recording service not running at recording time.
Failed: The operation timed out.
My subtitles are way ahead of the actual audio on NextPVR 6.1.5. I just recently built a new computer and installed this new version...I've been using version 4 on the old computer. The computer running version 4 has no issues with subtitle delay even when viewing the same shows that v 6.1.5 has issues. I've tried changing the DVBSubtitlesPESDelay in config file, but it has no effect. In case it helps, I only have "disable" and "closed caption" as options on the Alt-Y menu. Any suggestions for how I can get this better syncing on the new version?
I wanted to record something last night and get to sleep but found the channel wasn't in the guide.
Forgive me me for not searching very much for the answer. I'm wondering what's the best way to go about adding this, or all channels without much fuss or disturbing existing recording schedules?
They're (or at least this one) is already listed in the xmltv file.
My QNAP NAS finally failed, but fortunately I knew it was going to happen.
I have a new Terramaster NAS setup and have been using robocopy to keep it in synch with the old NAS until I had time to remap my clients.
Unfortunately, I'm forced to do that now.
This isn't an easy topic to search the forums on, or I'm using the wrong search terms without luck.
I've been using UNC paths for NPVR instead of drive letters, so it's not a simple matter of mapping the same letter to the new drive.
Question is, what's a good way to update the NPVR database and change my UNC from "NAS315" to "NAS0324"? (I'll backup the db first).
It's not clear to me if and of the NextTool commands will accomplish this.
I'm capable of using SQL to update the database.
Art
I have screwed up something in NextPVR and can not view any video. I would like to start fresh with all default settings. What do I need to do to reset everything?
(Not to be confused with NextPVR's nice seek-able thumbnails)
There was a recent API change in Kodi v22 that allows for thumbnail extraction from recordings. I enabled this as an alternative to downloading and displaying the poster from NextPVR since the poster can get a bit repetitive. While it sounds like a good idea if you watch this video https://streamable.com/g5qcy3 you will see why I have never really like using thumbnails with my video library I choose a cartoon series since it is quite easy to see how often it misses the show and then even when it is the cartoon does it really help? Probably best in countries with no commercials.
I have a Schedules Direct subscription and found my lineup.
Tuner is a HDHomeRun Dual - which is from 2012. Did a fresh install of the HDHomerun setup, did a channel scan, found 123 channels, can view them on Windows Media Player.
Trying to add channels in NextPVR.....
Settings/Devices finds the HDHomerun with 2 tuners.
Clicked Scan Channels
In the Guide drop down I selected Schedules Direct [local broadcast listings(USA-OTA-85283)]. Process gets stuck on "Loading EPG mappings".
I tried using a new XMLTV file created from EPG123.exe (the WMC setup).
On Kodi for android, I just recently reorganized my channels in NextPVR and now all of the channel icons are wrong on the guide, and I can't find a way to correct them. Here's what I've done:
1. Gone to PVR / Client specific settings and tried 'Refresh cache for channel icons' and then after that 'Update all channels'
2. In PVR / General - used the 'Clear data' function and allowed the entire guide to be reloaded.
3. Uninstalled the entire NextPVR addon, restarted Kodi and reinstalled/reconfigured it.
4. Browsed the Kodi file system under profile directory to addon_data/pvr.nextpvr/. In this folder, there is a folder labelled '1' that has all the incorrectly numbered channel icons. I deleted this folder and refreshed the guide. The folder comes back again with incorrectly numbered icons. Same for a reinstall of the entire addon.
I am out of ideas for how to correct these channel icons. It seems like something from the NextPVR server is feeding the wrong data, and even with a complete wipe of Kodi (definitely don't want to do that) they'd come back the same again. HOWEVER, on the webUI, all channel icons are correct. I'm stumped. Can someone tell me what else I might try?