xTeVe icon indicating copy to clipboard operation
xTeVe copied to clipboard

error 404 not found when adding playlist

Open merrychrishna opened this issue 2 years ago • 10 comments

Please first read the documentation. Problems affecting the client, e.g. Plex or Emby should be reported there in the forum.

Describe the bug A clear and concise description of what the bug is.

when adding the playlist m3u url in xteve i get error 404 not found and the playlist doesnt download. i am able to download the playlist on tivimate so i tried putting tivimates user-agent in xteve encase my provider is blocking xteve but that didnt fix the problem. so how can my provider still be blocking xteve? or what could be another reason why it doesnt work?

Server (please complete the following information):

  • OS windows 10 [xTeVe] Version: 2.2.0 Build: 0200 [xTeVe] Database Version: 2.1.0

To Reproduce Steps to reproduce the behavior: add the m3u url and click save

Expected behavior A clear and concise description of what you expected to happen.

the playlist should download and get added to xteve

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: windows 10
  • Browser firefox

Additional context Add any other context about the problem here.

my provider might be blocking xteve somehow

merrychrishna avatar Apr 20 '22 08:04 merrychrishna

Are you using the format http<s>://<domain>:<port>/get.php?username=<username>&password=<password>&type=m3u_plus&output=mpegts

tunes0710 avatar Apr 23 '22 11:04 tunes0710

i tried ##http<s>://<domain>:<port>/get.php?username=<username>&password=<password>&type=m3u_plus&output=mpegts and ##http<s>://<domain>:<port>/get.php?username=<username>&password=<password>&type=m3u_plus&output=ts

merrychrishna avatar Apr 23 '22 12:04 merrychrishna

Can you download it you your machine? curl -o <filename> <url> If it downloads to your computer and you can open it in a text editor ok, there's no reasons why it shouldn't be opening in xteve. But it's worth checking the file it downloads, incase it's HTML code for a redirect or anything like that

tunes0710 avatar Apr 23 '22 13:04 tunes0710

curl -o didnt work. it says invalid url.

i also cant ping the host ping http://reign.loginto.me:826 Ping request could not find host http://reign.loginto.me:826. Please check the name and try again.

but the url works in tivimate

i dont know what to input in curl. it looks like -o is just to output to a file. maybe i need to use --user to put in the password? but still dont know what the whole url should look like if i do that

merrychrishna avatar Apr 23 '22 13:04 merrychrishna

That isn't how ping works. You'd need to ping reign.loginto.me not http etc... if you did a curl -o filename.txt and had the full URL with ?username= etc etc in it.. then it should be fine it's saying that it's a dynamic url for primestreams.tv so try replacing reign.loginto.me with primestreams.tv and see if that works... i.e. curl -o iptv.txt http://primestreams.tv:826/get.php?username=<username>&password=<password>&type=m3u_plus&output=mpegts and replace it with your username and password and see if it downloads the information to a text file on your pc called iptv.txt

tunes0710 avatar Apr 23 '22 21:04 tunes0710

it still says error 404

>curl -o iptv.txt http://primestreams.tv:826/get.php?username=XXXX&password=XXXX&type=m3u_plus&output=mpegts

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   146  100   146    0     0   1707      0 --:--:-- --:--:-- --:--:--  1717
'password' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file specified.
'output' is not recognized as an internal or external command,
operable program or batch file.```

iptv.txt
404 Not Found

404 Not Found


nginx
```

merrychrishna avatar Apr 24 '22 00:04 merrychrishna

aah sorry.... enclosed the whole url in quotes curl -o iptv.txt "http://primestreams.tv:826/get.php?username=XXXX&password=XXXX&type=m3u_plus&output=mpegts"

tunes0710 avatar Apr 24 '22 00:04 tunes0710

ok just tried it and its the same error 404

merrychrishna avatar Apr 24 '22 00:04 merrychrishna

It must be some security that they use... as that is exactly what I use on my provider and it works fine... if you change get to xmltv and remove the &type= onwards.... then it will download the EPG from there ok. Either they've changed it from get.php to something else... or they have implemented additional security to stop M3U's from being used outside approved clients...

I tested it specifying a user-agent as well, but still didn't work. Sorry, am all out of ideas!

tunes0710 avatar Apr 24 '22 00:04 tunes0710

@tunes0710 would you happen to know how to solve this error from a different provider? 2022-05-08 22:03:30 [xTeVe] [ERROR] Invalid M3U file, an extended M3U file is required. () - EC: 0

merrychrishna avatar May 09 '22 02:05 merrychrishna