pierre-emmanuelJ / iptv-proxy

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

Refreshing original m3u file #131

Open parker1992 opened 1 year ago

parker1992 commented 1 year ago

Does this have any sort of schedule to re-download the original m3u file?

My original m3u updated, but it doesn’t appear to have taken those updates in the proxified m3u.

Am I supposed to recreate the container every time the m3u changes or am I doing something wrong?

pierre-emmanuelJ commented 1 year ago

If you are using the Xtream API get.php...etc the m3u file is auto refreshed via the API, if not for the moment you need to restart the proxy to redownload the file.

parker1992 commented 1 year ago

Ok thanks! I’m not using the xstream get api and instead just using the iptv.m3u endpoint so for now I’ll just recreate the container in the meantime.

parker1992 commented 1 year ago

Just reopening this in case you want to implement this. I'd take a look, but I've never used Go and I'm trying to go through your code to figure it out.