Quantcast
Channel: NextPVR Forums
Viewing all 4387 articles
Browse latest View live

V 5.0.0 (190710) mass channel delete - dustbin

$
0
0
Been playing with IPTV again and found far too many channels imported and having trouble tidying up (fell back to delete database!)
In settings > channels all the 1000's of channels appear and can be flagged both individually and in a block with the normal normal Windows keys.
However, to delete I appear to be only able to hit the dustbin icon and not the delete key. I am deleting from the end (as that is where the garbage channels appear) but the dustbin icon only appear at the top of the first page, so I have to scroll up 70- odd thousand channels . It would be nice to have the dustbin available to all the time and/or the delete key working.
ta

Difficulty installing v5 on Raspberry Pi

$
0
0
I am having trouble installing V5 in a Raspberry Pi.
I followed instructions and get the following messages.
Can anyone help me interpret what is wrong as i am new to Raspbian and the Pi.
Thanks


commands:

pi@raspberrypi:~/NPVR $ cd NPVR
pi@raspberrypi:~/NPVR/NPVR $ chmod +x ./NextPVRServer
pi@raspberrypi:~/NPVR/NPVR $ cdmod +x ./DeviceHostLinux
bash: cdmod: command not found
pi@raspberrypi:~/NPVR/NPVR $ chmod +x ./DeviceHostLinux
pi@raspberrypi:~/NPVR/NPVR $ ./NextPVRServer
NEXTPVR_INSTALLDIR /home/pi/NPVR/NPVR/
NEXTPVR_DATADIR /home/pi/NPVR/NPVR/data/
NEXTPVR_DATADIR_USERDATA /home/pi/.NPVR-data/
[1] Checking if upgrade required
[1] master file is /home/pi/NPVR/NPVR/data/Config-master-dont-edit.xml
[1] Doing database updates
[1] Database: /home/pi/.NPVR-data/npvr.db3
[1] Version 5.0.0.190710
[1] CaptureSource.LoadAll()
[1] Unexpected error with HDHR discovery: System.Net.WebException: An exception occurred during a WebClient request. ---> System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Http' threw an exception. ---> System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Net.Http.Native': The specified module or one of its dependencies could not be found.
(Exception from HRESULT: 0x8007007E)
at Interop.Http.GetSslVersionDescription()
at Interop.HttpInitializer..cctor()
--- End of inner exception stack trace ---
at Interop.HttpInitializer.Initialize()
at Interop.Http..cctor()
--- End of inner exception stack trace ---
at Interop.Http.GetSupportedFeatures()
at System.Net.Http.CurlHandler..cctor()
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at NShared.Utility.HDHomeRun.Discover(String specificDeviceID)
[1] HDHR Discover
[1] ...
[1] HDHOMERUN_TAG_DEVICE_TYPE: 1
[1] HDHOMERUN_TAG_DEVICE_ID: 1251CD44
[1] HDHOMERUN_TAG_DEVICE_AUTH_STR
[1] HDHOMERUN_TAG_BASE_URL: http://192.168.1.59:80
[1] HDHOMERUN_TAG_TUNER_COUNT: 4
[1] HDHOMERUN_TAG_LINEUP_URL: http://192.168.1.59:80/lineup.json
/home/pi/NPVR/NPVR/DeviceHostLinux: error while loading shared libraries: libdvbv5.so.0: cannot open shared object file: No such file or directory
[1] Local Devices:
[1] CaptureSource.LoadAll()
[1] Using in-progress RecordingService
[1] RecordingService.Startup()
[8] ServiceLocatorThread() starting...
[8] ServiceLocatorThread() Hostname: raspberrypi
[8] address: 192.168.1.6
[8] Waiting for broadcast
[7] Requesting wake up for 'EPGWAKEUP' [EPG Update] at 8/1/19 2:44 AM
[7] PowerManagement ScheduleWakeup (needs implementation)
[7] Next EPG update time: 8/1/19 2:44 AM
[6] RecordingService starting...
[6] Doing database vacuum
[6] vacuuming done
[5] Deleting web temp files
[6] No /home/pi/.NPVR-data/scripts/PostStartup.sh
[6] PurgeOldDeletes()
[6] Loading recording schedule
[6] PowerManagement CancelRecordingWakeupRequests (needs implementation)
Segmentation fault

Delete Nlite in windows

$
0
0
Is there a special way to go about deleting Nlite from my windows machine completely?
Thank you,
Bruce

v5 linux nextpvr-helper.deb installer

$
0
0
Today sub released a beta version of a Debian based installer for NextPVR v5. This should work on any apt based linux including Ubuntu, Debian, Mint, Raspian and Armbian

This installer should do download all the requirements for running NextPVRServer and create a service to control the server. The server runs as user nextpvr as a security issue.

1. To download and install the .deb file

wget https://nextpvr.com/nextpvr-helper.deb
or
curl https://nextpvr.com/nextpvr-helper.deb -O

sudo apt install ./nextpvr-helper.deb

the ./ is important

2. To update to a new beta version of nextpvr

sudo dpkg -i nextpvr-helper.deb

I will announce new versions of the deb in this thread

3. To uninstall the program files (except dotnet)

sudo apt remove nextpvr-helper

to remove the npvr.db3 database config files etc

sudo apt purge nextpvr-helper

and finally to remove any dependencies

sudo apt purge nextpvr-helper

NextPVR Docker wont Start

$
0
0
Updated to the latest revision today, which pulled a file or 2, but the docker wouldn't start. So I deleted the image file completely and pulled all files, but still no go.

log from Unraid Host: NextPVRServer: /root/coresetup/src/corehost/cli/fxr/fx_muxer.cpp:416: static pal::string_t fx_muxer_t::resolve_fx_dir(host_mode_t, const pal::string_t &, const runtime_config_t &, const pal::string_t &, const int &): Assertion `mode != host_mode_t::standalone' failed.

Does this mean anything to someone?
Damian

Map Strategy

$
0
0
As can see it doesn't keep channel Name from ATSC
Name:  map.jpg
Views: 9
Size:  150.2 KB
Attached Images
 

Kodi dumping out while loading channels from client

$
0
0
Hi. I have been using NextPVR for nearly two years now, and am very happy with it. I have NextPVR 4.2.4 installed on a laptop as a 'server', and initially used Kodi on an Android box attached to my TV as the client. Generally it worked very well. About six months ago I replaced the Android box with an Amazon Firestick 4K, and took the opportunity to upgrade my Kodi client from 17.6 to 18.1. That too worked well with NPVR. Then a few days ago, I started to experience problems loading Kodi on the Firestick. When I click on the Kodi icon to launch it, the Leia splash screen appears as normal, then the usual Kodi home screen, and in the top right corner the 'Loading channels from clients' process starts. But, about 25% of the way through that, after just a few seconds, the process momentarily freezes, and then Kodi closes and dumps me back out to the Firestick home screen.

I wondered if there was now a more current version of Kodi, and found there was. So, today I upgraded it from 18.1 to 18.3, but exactly the same thing is still happening. The upgrade hasn't fixed it. I can't get Kodi to stay loaded for more than about 10 seconds until it gets part way through the loading channels from client process. I saw in another forum that there might be a problem in Kodi, where under Settings / PVR & Live TV / General / Channel Manager there could be a channel marked as 'not active', but where the 'Activate guide' flag is not set to 'false'. However, I can't get Kodi to stay loaded for long enough for me to investigate that, and I don't know how to stop the Kodi NPVR add-on from trying to load the guide while I check.

Do you have any ideas how I can troubleshoot this? I know you normally ask for logs, but I don't know how to obtain a log file from a Firestick. Hoping you can help!

(Incidentally, I am not seeing any problems with the NextPVR back-end on my laptop - that is working just fine, the same as it always has.)

.deb installer problem

$
0
0
Martin,

I tried the .deb installer a few times this morning but it's having issues. I started with a clean install of Unbutu 18.04 server in a Freenas VM. I first ran the installer as you noted in the thread. It appeared to install correctly but i was unable to pull up the web page and running the status command give me the below output. A reboot of the VM didn't help so I installed .NET first using these directions. Still no joy.

Next I rolled back to a fresh VM and installed .NET first using these directions and ran the .deb installer again. Still no joy... It appears NPVR is running, but I can't get to the web page with a connection refused. I'm guessing it's something to do with the web server but I got no idea were to start. I'm for all purposes a linux noob, but I am comfortable with the cli,

Any ideas?

Code:

nextpvr@nextpvr:~$ service nextpvr-server status
● nextpvr-server.service - NextPVRServer
  Loaded: loaded (/usr/lib/systemd/system/nextpvr-server.service; enabled; vendor preset: enabled)
  Active: inactive (dead) since Sun 2019-08-04 11:58:11 EDT; 2min 13s ago
  Process: 1478 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, status=0/SUCCESS)

Aug 04 11:58:09 nextpvr systemd[1]: Starting NextPVRServer...
Aug 04 11:58:09 nextpvr server.sh[1478]: Starting server..
Aug 04 11:58:09 nextpvr server.sh[1478]: Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
Aug 04 11:58:09 nextpvr server.sh[1478]:  https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
Aug 04 11:58:11 nextpvr server.sh[1478]: Done. PID=
Aug 04 11:58:11 nextpvr systemd[1]: Started NextPVRServer.
nextpvr@nextpvr:~$


Programming using v5 commands. How to login?

$
0
0
I have a ton of utilities and a client that I am dragging up to v5 compatibility. All of them currently read and/or modify the database directly and I am trying to get away from that using the http calls.
I know you are super busy and I'm trying to bug you as little as possible.;) Right now I am trying to learn by reproducing the calls that the web client makes.
My question is this: Do I need to login to use calls like: "/services/service?method=channel.list&format=json"? or is logging in irrelevant for applications?

When the web page logs in, it gets a return code of 302.
When I login using the code below, I get a return code of 200. Yet, I can get a channel listing.
So, I am confused at this point. Did I login successfully? Do I need to login at all? Did I get the channel listing because I am already logged in with the web interface in chrome? How do I log out?

Code:


        //function doLogin()
        //{
        //    var salt = getParameterByName("salt");
        //    var username = $("#email").val();
        //    var password = MD5($("#password").val());
        //    var combined = MD5(salt + ":" + username + ":" + password);
        //    window.location.href = 'login.html?hash=' + combined;
        //}
     
        public async Task<bool> doLogin()
        {
            string url = "http://192.168.86.25:8866";           
            try
            {
                //login
                fHttpResponseMsg = await fHttpClient.GetAsync(url);
                fHttpRequestMsg = fHttpResponseMsg.RequestMessage;
                string query = fHttpRequestMsg.RequestUri.Query;               
                var parts = HttpUtility.ParseQueryString(query);
                string salt = parts.Get("salt");                               
                string passMD5 = CreateMD5("password").ToLower();
                string hash = CreateMD5(string.Format("{0}:{1}:{2}", salt, "admin", passMD5));
                hash = hash.ToLower();
                string loginRequest = string.Format("{0}/login.html?hash={1}", url, hash);
                fHttpResponseMsg = await fHttpClient.GetAsync(loginRequest);
                fHttpRequestMsg = fHttpResponseMsg.RequestMessage;
                //get channel listing
                string serviceRequest = string.Format("{0}/services/service?method=channel.list&format=json", url);
                fHttpResponseMsg = await fHttpClient.GetAsync(serviceRequest);               
                string json = await fHttpResponseMsg.Content.ReadAsStringAsync();
                return true;
            }
            catch
            {
                return false;
            }
        }     

        public static string CreateMD5(string input)
        {
            // Use input string to calculate MD5 hash. Cut and paste from Stackoverflow
            using (System.Security.Cryptography.MD5 md5 = System.Security.Cryptography.MD5.Create())
            {
                byte[] inputBytes = System.Text.Encoding.UTF8.GetBytes(input);
                byte[] hashBytes = md5.ComputeHash(inputBytes);

                // Convert the byte array to hexadecimal string
                StringBuilder sb = new StringBuilder();
                for (int i = 0; i < hashBytes.Length; i++)
                {
                    sb.Append(hashBytes[i].ToString("X2"));
                }
                return sb.ToString();
            }
        }

Thanks for your help!

JLM

IPTV Server returned 404 not found

$
0
0
Since upgrading to the latest build i am unable to stream my iptv service from the web client or from kodi. It was working in the previous build. Any help is appreciated :)
Attached Files

Unable to scan channels with HDHR3-DT

$
0
0
I'm having trouble getting the my HDHR to scan channels. The tuners are detected, but no channels appear when I click the "Scan Channels" button.

I noticed this error in red when scrolling back through the Terminal window:

[25] Unexpected error in legacy scan: Newtonsoft.Json.JsonReaderException: Error reading JArray from JsonReader. Current JsonReader item is not an array: Null. Path '', line 1, position 4.
at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JArray.Parse(String json, JsonLoadSettings settings)
at NShared.Recorders.HDHomeRunScanner.LegacyScan(HDHo meRun device, Dictionary`2 parameters, String& reason)

Is anyone else having this issue? Have I missed a step?

I've attached my logs, too.
Attached Files

Desktop App Guide

$
0
0
Just tried to change the channel group in the desktop app. No joy. List of names is presented but selecting one does nothing. Can only escape out.

Is this not yet active?

IPTV devices Version: 5.0.0.190803

$
0
0
Hi,
I have a few IPTVdevices created
how can you delete them again.

I can not find a button

With kind regards
ramus56

Multiple recording directories?

$
0
0
Multiple recording directories...
Coming soon? Possible now?

JLM

Can't watch live tv in chrome

$
0
0
I reinstalled nextpvr a few days ago using the .deb instructions.
I can record and playback recordings but livetv fails.
I thought it might be a permissions issue but I changed the live tv directory to be the same as the recordings directory and it didn't help.

VLC cannot play live tv either.
Code:

Your input can't be opened:
VLC is unable to open the MRL 'http://192.168.86.25:8866/live?channel_id=7149'. Check the log for details.

NextPVR Logs attached...

Wierd....
I was going to attach the vlc log also. Vlc doesn't log unless you turn on logging. Turned on logging and tried to stream. Failed again and no log. Killed vlc, restarted it and now it plays the stream. Nextpvr now plays live streams too. Computers :mad:

JLM
Attached Files

m3u list

$
0
0
Is there any way of making a m3u list for NextPVR to use with my Happauge Colossus 2 capture card?

Thanks.

Could someone provide an Unraid template?

$
0
0
Please, that would be so neat :)

Not Finding Channels

$
0
0
Hi

I have an Avermedia A835B AVerTV Volar Green HD attached to my laptop in a dorm room connected to an external antenna via a wall socket.

I have NextPVR installed. NextPVR sees the tuner but when I do a channel scan no channels show up.

When I checked the logs I found the following:

<tuning>
<type>DVB-T</type>
<locator>
<frequency>177500</frequency>
<bandwidth>7</bandwidth>
</locator>
</tuning>

2019-08-06 16:28:17.260 [DEBUG][8] DigitalRecorderDVBT::Tune@1
2019-08-06 16:28:17.260 [DEBUG][8] DigitalRecorderDVBT::Tune@2
2019-08-06 16:28:17.260 [DEBUG][8] DigitalRecorderDVBT::Tune@3
2019-08-06 16:28:17.260 [DEBUG][8] DigitalRecorderDVBT::Tune@4
2019-08-06 16:28:17.271 [DEBUG][8] DigitalRecorderDVBT::Tune@5
2019-08-06 16:28:24.740 [DEBUG][8] DigitalRecorderDVBT::Tune@post
2019-08-06 16:28:24.743 [DEBUG][8] Calling LockChannel()
2019-08-06 16:28:24.743 [DEBUG][8] locked=0, present=1, strength=10, quality=10 (took 0ms to check)
2019-08-06 16:28:24.744 [DEBUG][8] File size is 0 bytes (non-existant)
2019-08-06 16:28:24.744 [INFO][8] DigitalRecorder.StartStream() allocated handle: 0x1
2019-08-06 16:28:29.780 [INFO][1] DigitalRecorder.StartStream(c:\nowhere\null.ts)
2019-08-06 16:28:29.781 [DEBUG][1] Switching BDA graph to tune:

The line I am interested in is the following:

2019-08-06 16:28:24.743 [DEBUG][8] locked=0, present=1, strength=10, quality=10 (took 0ms to check)

Does this mean I have good antenna strength and quality?

If so why am I not seeing any channels?

I would appreciate any help.

Thank you.

Gary

Linux recording folder permissions

$
0
0
Hi,

I, and I assume others, would like to be able to have full permissions to the recording folders and their files. Right now the owner of the folder and the recording are nextpvr and no write permissions are granted for either folder or file. Can you make the file permissions 777 for the folders and files so we can run comskip and store the edl in the folder or compress them to MP4 and replace the original? Or publish the password for user nextpvr? What are your thoughts on this?

JLM

DVB-T and selecting audio stream

$
0
0
Hello. Pretty new Nextpvr user here.
Been messing around with the software for a week now. Had some issues with IR blasting, but a post or 2 later, and the experts on this forum got me sorted.

I had quite a bit of issues getting my STB working right, and would keep losing audio after channel changing between channels that contained AC3 audio, which would result
in recordings with no audio. Finally worked out that my STB (NZ MySkyHDi box) defaulted to outputting Dolby Digital AC3 by default.

My capture card is a Hauppauge Colossus, and NPVR just does not work correctly detecting audio streams, regardless of Decoders used.

What happens, is that it falsely detects the audio as AAC in the first instance, and then pops up error saying I have no AAC decoder selected. (but I do)
If I stop playback, and select channel again, it correctly detects the AC3 audio.

I would like to have the best audio stream, but having Dolby Digital selected on the MySkyHDi causes a lot of issues for my configuiration, and basically makes the PVR functions unreliable.
I also have Mediaportal TVServer, and it does not have issues on the local MP client itself, but remote clients like Kodi etc do the same thing, and can not detect audio on the first attempt, but do on the second attempt.

To cut a long story short, I had to change the MySkyHDi audio output setting from Dolby Digital to 'Auto'
Doing so gives me perfect channel changes for the STB channels and retains audio when changing channels.
(am guessing this is an issue with Hauppauge drivers)

Question 1: Does this mean I will not get surround sound, or it that it is surround sound, but just not Dolby Digital?

Question 2: Now, I have the opposite issue with DVB-T channels that contain an AC3 audio stream.
Is it possible for Nextpvr to always play the AC3 stream from DVB-T channels like NZ TV1, TV2, TV3 etc?
By default it always plays the HE-AAC audio stream, but right clicking and selecting Audio Stream gives option of AC3 stream, which if chosen triggers my AVR to show 'Dolby Digital'. Is the HE-AAC audio stream 'Surround'?, or is there something I am overlooking?, like can Nextpvr not play the 'best' audio by default?
Viewing all 4387 articles
Browse latest View live