NextPVR Forums

Full Version: epg error- object reference not set to an instance of an object
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I had an epg.xml file that never seemed to load so I deleted all devices and tried starting again. 

When I go to settings > about and try to reload the guide data the problematic source says 

"[http://problematic/source/epg.xml] object reference not set to an instance of an object"

Not sure why this is happening with one source. No matter what I do this is what I keep getting.


The epg and m3u8 source in question is generated from the script here https://www.matthuisman.nz/2021/11/frndl...nnels.html
Post the logs and we’ll take a look.
That is exactly what I have been looking for but no luck finding any logs. The docs I found only referred to locations for Windows.

http://www.nextpvr.com/nwiki/pmwiki.php?...Parts#logs
says "NextPVR data directory" and not finding any such directory called NextPVR, but maybe I am reading it too literally
On the Settings->About page, click the 'Log Files' button and it'll download a zip file. You can then attach that zip file to your post.
Here it is
(2022-05-13, 06:14 AM)markosjal Wrote: [ -> ]http://www.nextpvr.com/nwiki/pmwiki.php?...Parts#logs
says "NextPVR data directory" and not finding any such directory called NextPVR, but maybe I am reading it too literally
FYI, that was old documentation for NextPVR v4, which was very different (Windows only software).

NextPVR v5 documentation is here https://github.com/sub3/NextPVR/wiki
Is http://raspberrypi.local:8183/epg.xml actually returning an xmltv file? I'm guessing not. Your best bet is probably to delete the channels that are were imported to use this EPG source, then report import them with the correct EPG source.
http://raspberrypi.local:8183/epg.xml IS returning an xml file generated by the script linked to earlier. That is actually localhost and I have also tried it using
http://localhost:8183/epg.xml
http://127.0.0.1:8183/epg.xml
http://10.0.0.250:8183/epg.xml

which all seem to work fine at least in a browser running on the same pi and good enough for the m3u8 file that also comes from the same place

http://raspberrypi.local:8183/playlist.m3u
There is one oddity that I have noticed about the epg.xml file. That is that it is all on a single line , with no line breaks anywhere. Of course you can see it normally, line by line in a browser but nano or gedit show it as a single line.
Single line is fine. The app will handle that.

I'd probably just go to the Settings->Devices screen, hold Ctrl, delete the IPTV sources, and re-add them.
Pages: 1 2