M3U:
1. Gather your URLs:
You'll need the URLs of the media you want to include in your playlist. These could be IPTV stream URLs, video file URLs, or audio file URLs.
Note: Make sure the URL points to the actual media file instead of a webpage that has the media file on it
2. Use a text editor:
Open a plain text editor like Notepad, Notepad++, Akelpad or any code editor like VS Code.
3. Create the .M3U file:
Copy-paste this code:
#EXTM3U
#EXTINF:-1, Example Channel
http://website.com/stream.m3u8
4. Add channel information:
Replace "Example Channel" with the name of the channel & the "http://website.com/stream.m3u8" with the stream URL.
5. Save the file with the .m3u extension. (Make sure to select "All Files" as the file type to avoid saving it as a text file.)
The file can be opened by most (if not all) audio and video players such as VLC, MPC-HC, KMPlayer, etc.
To view the code, right click and open the file with a text editor:
PLS:
1. Gather your URLs:
You'll need the URLs of the media you want to include in your playlist. These could be IPTV stream URLs, video file URLs, or audio file URLs.
Note: Make sure the URL points to the actual media file instead of a webpage that has the media file on it
2. Use a text editor:
Open a plain text editor like Notepad, Notepad++, Akelpad or any code editor like VS Code.
3. Create the .PLS file:
Copy-paste this code:
[playlist]
NumberOfEntries=1
File1=http://website.com/stream.m3u8
Title1=Example Channel
Length1=-1
Version=2
4. Add channel information:
Replace "Example Channel" with the name of the channel & the "http://website.com/stream.m3u8" with the stream URL.
5. Save the file with the .pls extension. (Make sure to select "All Files" as the file type to avoid saving it as a text file.)
The file can be opened by most (if not all) audio and video players such as VLC, MPC-HC, KMPlayer, etc.
The advantage .pls has over .m3u is that the title bar will change with the currently playing song if the stream supports it.
To view the code, right click and open the file with a text editor: