Creating a public IPTV playlist for your friends and family can be a great way to share your favorite live TV channels, movies, or other streaming content. Follow these steps to set up and share your IPTV playlist:
Step 1: Gather IPTV Links
Before creating a playlist, you need to find valid IPTV stream links. These can be:
- Free and legal IPTV links (e.g., news channels, public access TV).
- Your own hosted streams (if you have a server to host content).
- Purchased IPTV services (ensure sharing complies with their terms).
A valid IPTV stream URL usually looks like this:
bashCopierModifierhttps://example.com:8080/live/username/password/12345.ts
Step 2: Create an M3U Playlist File
An M3U file is a simple text file that lists IPTV stream links. To create one:
- Open a text editor (Notepad, VS Code, etc.).
- Add the following structure: shellCopierModifier
#EXTM3U #EXTINF:-1 tvg-logo="https://logo.com/image.png" group-title="News", BBC News https://example.com/bbc.m3u8 #EXTINF:-1 tvg-logo="https://logo.com/image2.png" group-title="Sports", ESPN https://example.com/espn.m3u8 - Save the file as playlist.m3u.
Step 3: Host the Playlist Online
To make your IPTV playlist publicly accessible, you need to host it somewhere:
Option 1: GitHub Gist
- Go to GitHub Gist.
- Create a new Gist and paste your M3U content.
- Save it as playlist.m3u (set to “Public”).
- Copy the raw file URL.
Option 2: Pastebin
- Visit Pastebin.
- Paste your M3U content and set the paste to “Public.”
- Copy the raw paste URL.
Option 3: Personal Web Hosting
- Use a free hosting service like Google Drive, Dropbox, or Firebase Hosting.
- Upload your playlist.m3u file and generate a direct link.
Step 4: Share with Friends & Family
Once your playlist is hosted, share the direct link. Your family and friends can use IPTV apps like:
- VLC Media Player (Open Network Stream)
- TiviMate (Android)
- IPTV Smarters
- Perfect Player
- Kodi (via PVR Simple Client)
They can simply paste the playlist URL into their IPTV app.
Bonus: Keep It Updated
To keep your playlist fresh:
- Regularly update broken links.
- Add new channels based on your friends’ interests.
Step 5: Enhancing Your Playlist with Metadata
To make your IPTV playlist more user-friendly and visually appealing, you can add additional metadata.
Key Metadata Fields:
#EXTM3U→ Required header for an M3U file.#EXTINF:-1→ Describes the channel, followed by:tvg-id→ Unique ID for the channel (useful for EPGs).tvg-name→ Display name.tvg-logo→ URL of the channel’s logo.group-title→ Category of the channel.
Example with Metadata:
m3uCopierModifier#EXTM3U
#EXTINF:-1 tvg-id="bbcnews" tvg-name="BBC News" tvg-logo="https://example.com/bbc.png" group-title="News", BBC News
https://example.com/bbc.m3u8
#EXTINF:-1 tvg-id="espn" tvg-name="ESPN" tvg-logo="https://example.com/espn.png" group-title="Sports", ESPN
https://example.com/espn.m3u8
Step 6: Hosting the Playlist for Stability
Instead of using free platforms like Pastebin, you can use a more stable hosting solution.
Best Hosting Options:
- GitHub (For Static Playlists)
- Upload the
.m3ufile to a GitHub repository. - Enable GitHub Pages to serve the file as a raw link.
- Share the raw link.
- Upload the
- Google Drive (With Direct Link Generator)
- Upload the
.m3ufile to Google Drive. - Use a Google Drive Direct Link Generator to create a public link.
- Upload the
- Cloud Storage (Dropbox, OneDrive)
- Upload the
.m3ufile and set it to “public.” - Get a direct file link.
- Upload the
- Dedicated IPTV Hosting (Best for Scalability)
- Services like Xtream Codes Panel (if self-hosting IPTV).
- A simple NGINX web server on a VPS to serve your
.m3ufile.
Step 7: Adding an Electronic Program Guide (EPG)
An EPG provides TV schedules for channels in your playlist.
Steps to Add EPG:
- Find a public EPG XML source. Some examples:
- Add an EPG URL to your IPTV player.
- In TiviMate, IPTV Smarters, or Perfect Player, look for the EPG URL field.
- Enter the EPG URL.
- Modify your playlist to include EPG info: m3uCopierModifier
#EXTINF:-1 tvg-id="bbcnews.uk" tvg-name="BBC News" tvg-logo="https://example.com/bbc.png" group-title="News", BBC News https://example.com/bbc.m3u8
Step 8: Automating Updates to Your Playlist
If you want to auto-update your playlist when links change, you can:
- Use a Web Scraper to fetch new links from a reliable source.
- Create a GitHub Action to auto-update your playlist.
- Host the playlist on a VPS and run a script to check and replace dead links.