pierre-emmanuelJ / iptv-proxy

Reverse proxy on iptv m3u and m3u8 file and xtream codes client api
GNU General Public License v3.0
508 stars 150 forks source link

not geting playlist #54

Closed BoBi1234 closed 3 years ago

BoBi1234 commented 4 years ago

Basically, what I'm doing wrong? I starting app wit below command, at first I have some issues with --port but after ading '' to m3u-url it seems fine.

iptv-proxy --m3u-url 'http://SERVERIP:PORT/get.php?username=USERNAME&password=PASSWORD&output=ts&type=m3u&output=m3u8' --port 7070 --hostname MYIP --xtream-user USERNAME --xtream-password PASSWORD --xtream-base-url http://SERVERIP:PORT --user test --password passwordtest

after that I'm receiving [GIN-debug] GET /iptv.m3u --> github.com/pierre-emmanuelJ/iptv-proxy/pkg/server.(*Config).xtreamGetAuto-fm (5 handlers) [GIN-debug] POST /iptv.m3u --> github.com/pierre-emmanuelJ/iptv-proxy/pkg/server.(*Config).xtreamGetAuto-fm (5 handlers) [GIN-debug] Listening and serving HTTP on :7070 in console but when try to download new list web browser connot reach site. I'm not really familiar with linux, know only basics so it might be my fault :)

pierre-emmanuelJ commented 4 years ago

did you try to access this url:

curl http://MYIP:7070/get.php?username=test&password=passwordtest&output=ts&type=m3u&output=m3u8

you are using port 7070 to reach the iptv-proxy, be sure this port is open on your machine, firewall, or provider level...etc

Thanks

BoBi1234 commented 3 years ago

Hi,

yeah you was right, firewall issue, dont know why I didnt check it. but have a question, is there any chance to proxy few m3u? I have few "clients" as a reseller, I would like to proxyfie them through my server. Only idea I have as for now is to run few instance of proxy but each of them will required its own port. What would be perfect for me is have one instance running with few logins/passwords. any idea if it can be done easily?

pierre-emmanuelJ commented 3 years ago

Hi, okay nice you found your issue :) for the multiple user referring to this issue: https://github.com/pierre-emmanuelJ/iptv-proxy/issues/28 This feature request is not implemented yet, hopefully one day ;)

Stay aware of it by looking repo's notification ;)