kodi-pvr / pvr.iptvsimple

IPTV Simple client for Kodi PVR
GNU General Public License v2.0
756 stars 371 forks source link

Channels do not Load via URL #651

Open MajorMac2 opened 1 year ago

MajorMac2 commented 1 year ago

Hi there,

I am having issues regarding IPTV on Raspberry PI with LibreELEC and KODI. I have a paid sub for IPTV from a service and an m3u and epg link. DEBUG is enabled in log file attached. I have replaced private details with SERVER, USER, and PASSWORD.

Channels do not load at all and there is no PVR Manager progress line on reboot. (Seen in similar help threads). I can see from the log that.. "ERROR : CCurlFile::Open failed with code 404 for http://...." must be the problem however I have double checked this link on other apps and it does work. The only difference being the Username and Password is not needed inside the link as the other apps have their own sign in procedure. Nevertheless the link is the exact one I was provided.

After some searching I did see mention of User-Agent on Kodi which I have tried typing in as "VLC or vlc" but still doesn't work..

4djH -Edited.txt

Thanks in advance for any solutions/advice.. MajorMac.

phunkyfish commented 1 year ago

A 404 means the file is not found, so the link is incorrect in some way. This comes from the server.

If it was an authentication issue it would be a 401 error.

It’s likely the server will not accept the username/password in the URL and reads it as a bad link. Does you provider specify they support kodi?

MajorMac2 commented 1 year ago

No I don't think they know much about it, (although I'm waiting on a proper response). But there initial reaction was 'not sure'..

However they gave me that m3u link when I bought the sub so it comes from them. In theory it shouldn't need specific support though right? As long as the link is correct?

phunkyfish commented 1 year ago

Correct, if they supplied the URL it should work.

What happens if you use the same links in a browser?

MajorMac2 commented 1 year ago

http://SERVER/get.php?username=USER&password=PASSWORD&type=m3u_plus&output=mpegts

Is there anything that jumps out as strange in that link? (I have no experience in this stuff at all), and obviously private details are edited..

MajorMac2 commented 1 year ago

Sorry to answer your question, it downloads the .m3u file....

phunkyfish commented 1 year ago

It looks pretty standard. If you download the file in a browser and then load it locally in kodi does it work?

MajorMac2 commented 1 year ago

I loaded m3u and epg there and the PVR manager seems to be starting up but staying at 0% last 15 mins.

My understanding was that it wouldn't work 'live' if I had the links as local playlists. (I don't really know how this works..)

The playlist is 42MB so probably way too big..

phunkyfish commented 1 year ago

It might laid eventually if you left it for hours. But yes, 42mb is very very large.

See how long it takes. Your log file will contain the total length of time. Just post a new full debug log when it finishes.

wsnipex commented 1 year ago

if it works in a browser but not in kodi, the provider might do some filtering based on user agent or other header.