The M3U Playlist Proxy is a lightweight and effective tool designed to forward essential headers to proxy M3U playlist streams. Acting as a bridge between your client and the server, it ensures that important headers (such as User-Agent, Referer, etc.) are accurately passed along. This setup allows IPTV applications to reliably access streams that need specific headers in place.
Note: Ensure that you use only the standard M3U8 playlist (playlist.m3u8) when setting up the M3U Playlist Proxy. Other formats, such as TiviMate, Kodi, and VLC, are not compatible and will not work with this setup.
For Windows users, this is the recommended method to use the M3U Playlist Proxy, as it gives you complete control without the limitations of the Cloudflare Worker’s 100,000 requests per day.
m3u.proxy.on.windows.mp4
Simply download and extract the ZIP file, then run the setup_service.bat. This will install the m3u-playlist-proxy as a Windows service, allowing it to run seamlessly in the background. If you're not using a Windows machine or prefer a different setup, feel free to use one of the other options below.
Note: The Cloudflare Worker option no longer works with the DaddyLive Playlist.
Cloudflare Workers allows you to run JavaScript code at the edge, right on Cloudflare's infrastructure, with a generous free tier. A free Cloudflare account offers 100,000 requests per day, which is more than enough to proxy and manage these streams efficiently.
m3u-playlist-proxy.mp4
You can easily deploy this Worker to your Cloudflare account by following these steps:
-
Sign up or log in to your Cloudflare account at https://dash.cloudflare.com/.
-
Navigate to Workers in the left sidebar.
-
Click Create a Worker.
-
Copy the code from the worker.js file in this repository and paste it into the Cloudflare Workers editor.
-
Save and deploy the Worker.
-
Use the automatically generated Worker URL to start proxying your streams.
The M3U Playlist Proxy is also available as a Docker image, allowing you to easily deploy it in a containerized environment. By using Docker, you can quickly start the proxy without needing to install dependencies or manually configure the environment.
To get started, pull the latest version of the M3U Playlist Proxy Docker image with the following command:
docker pull dtankdemp/m3u-playlist-proxy:latest
Once you’ve pulled the image, you can start the container using:
docker run -d -p <port>:4123 dtankdemp/m3u-playlist-proxy:latest
This command runs the proxy on port 4123, allowing your IPTV application to connect to it locally or remotely (depending on your setup) to access M3U playlist streams with the necessary headers correctly forwarded. Adjust the port if needed, based on your environment.