alex-ahl / iptv-handler

Exclude unwanted channels based on group and generate a new M3U file with proxied streams and attributes. Streams get proxied through a webserver running on the app. Xtream support.
MIT License
41 stars 10 forks source link

Can it work without an .m3u? #3

Open gymnae opened 9 months ago

gymnae commented 9 months ago

My provider only provides me with xtream api codes, and those appear to be speedier than m3u. This project supports xtream, but requires an m3u file / URL. Can it also work without?

alex-ahl commented 9 months ago

Hi,

You should be able to get the m3u from the xstream api in that case, for example: provider.com/get.php?username=username&password=password&type=m3u_plus&output=m3u8 or provider.com/get.php?username=username&password=password&type=m3u_plus&output=ts

gymnae commented 9 months ago

That works, yes, but it seems pretty slow to fetch all the time. Why is accessing the xstream portal not sufficient? It contains the same data, but is called on demand

alex-ahl commented 7 months ago

If I remember correctly the reason is that the group id's are needed in advance too filter the xtream metadata when those requests occur. Since those request are both filtered and the URL's within proxied.

There probably are room for improvements in how that is handled tough.