Closed sveco86 closed 1 year ago
Can you provide the logs from flask run --host=0.0.0.0
command? It may use a different port than 5000 by default.
Also, is the 192.168.0.5
the address of the local network server (not the machine running VLC)?
192.168.0.5 is my server where is magiogo-iptv-server runing on, 192.168.0.70 is my PC address from where I running VLC.
Logs from server - I opened VLC and opened network stream http://192.168.0.5:5000/magioPlaylist.m3u8:
pi@rpiba:~/magiogo-iptv-server $ export MAGIO_SERVER_PUBLIC_URL=http://192.168.0.5:5000
pi@rpiba:~/magiogo-iptv-server $ flask run --host=0.0.0.0
Stream quality configured to: HIGH (p4)
Logging in to Magio Go TV
Generating .m3u8 playlist
Generating XMLTV guide
Refreshing finished!
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://192.168.0.5:5000
Press CTRL+C to quit
192.168.0.70 - - [18/May/2023 09:39:35] "GET / HTTP/1.1" 200 -
192.168.0.70 - - [18/May/2023 09:39:35] "GET /favicon.ico HTTP/1.1" 200 -
192.168.0.70 - - [18/May/2023 09:39:36] "GET /magioPlaylist.m3u8 HTTP/1.1" 200 -
192.168.0.70 - - [18/May/2023 09:39:50] "GET /magioPlaylist.m3u8 HTTP/1.1" 206 -
Screenshot of VLC:
I would expect that m3u8 playlist will be expanded / opened to channels.
When I download playlist and open it in VLC as file, everything works as expected.
The setup looks fine. The server just redirects the clients to the stream URL, where some sort of protection may be going on Telekom side.
Have a look at xTeVe and set it up on your server, it can buffer the streams and restream it to clients, which should work. I use it like that.
Locally on my PC magiogo-iptv-server works, but I cannot make it working on local network server nor public server.
Server has no firewall running.
parameter used:
export MAGIO_SERVER_PUBLIC_URL=192.168.0.5:5000
run by command:
flask run --host=0.0.0.0
Webserver works, I can download playlist but VLC cannot open stream.
Playlist looks ok:
VLC errors:
Your input can't be opened VLC is unable to open the MRL '192168.0.5:5000/channel/4222'. Check the log for details.
Error log: