IPTV puts you in control of what channel lineup you want as the choice is endless.
Home > My Playlist and EPG
If you plan on having a custom electronic program guide (EPG) then it is extremely important that your play list is properly formatted otherwise it will not work correctly.
First open a text editor like notepad or something similar, do NOT use Microsoft Word or similar to Microsoft Word. Microsoft Word and other programs similar to Microsoft Word changes certain characters which if they are change the play list willnot be properly formatted and it will not work.
Now I want to go over certain elements that are very important as to when you create your EPG it is going to properly work.
Where is says Name-of-channel, that is the name of the channel, where it says http://website.tld/images/test.jpg, that is the channel's icon, where it says TEST, that is the category i.e. news, weather, etc.and last where it says My Feed1, is the feed name that is going to be displayed on the EPG. Notice how the second group is like the first and third group, just copy the third group and then paste it below the third group, keep repeat this over and over. Replace what you see below with your own information and then save this as playlist.m3u (It must be saved as a .m3u or this will NOT work.)
#EXTM3U
#EXTINF:-1 tvg-id="Name-of-channel" tvg-name="Name-of-channel" tvg-logo="http://website.tld/images/test.jpg" group-title="TEST",My Feed1
http://website.tld/hls/playlist.m3u8
#EXTINF:-1 tvg-id="Name-of-channel-2" tvg-name="Name-of-channel-2" tvg-logo="http://website.tld/images/test2.jpg" group-title="TEST2",My Feed2
http://website.tld/hls/0.m3u8
#EXTINF:-1 tvg-id="Name-of-channel-3" tvg-name="Name-of-channel-3" tvg-logo="http://website.tld/images/test3.jpg" group-title="TEST3",My Feed3
http://website.tld/hls/live.m3u8
Now it is time for the EPG.
After you have created your playlist, now it is time to create a custom electronic program guide, before I get into any of the other details I first want to walk you through some very important information.
As in the previous set of instructions when you were setting up and creating your playlist you should open notepad or your favorite text editor and NOT use Microsoft Word or anything similar to Microsoft Word the same thing applies to this as well. Do NOT use Microsoft Word or anything similar to Microsoft Word.
Assuming that you have notepad or your favorite text editor open, copy the first set of code that you see below then paste it into notepad, what this is telling this XML document this is going to be an EPG document.
<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="iptv.br.gy" generator-info-url="http://iptv.br.gy">
Below you see some lines of code, this line of code is going to be called the index, this is going to tell the EPG that we have some channels and you need to look out for these channels that will have information like the date, time of when it shell start and end as well a title and synopsis. If you notice Name-of-channel, Name-of-channel-2, and Name-of-channel-3 matches to what we called it above when we where making our playlist? Copy what you see below and then paste it below what you already have pasted. What you see below will repeat over and over in this format.
<channel id="Name-of-channel">
<display-name>Name-of-channel</display-name>
</channel>
<channel id="Name-of-channel-2">
<display-name>Name-of-channel-2</display-name>
</channel>
<channel id="Name-of-channel-3">
<display-name>Name-of-channel-3</display-name>
</channel>
Before we continue it is probably a good idea to save this document let’s go ahead and save this document as playlist.xml
Adding the date, time of when the program is to start and stop, title and description or known as synopsis
Below you see some code, let's go ahead and cover the first set of numbers, so what does it represent? The first four set of numbers is the year, the sixth and seventh numbers is the month the eighth and ninth number is the day YYYYMMDD (2021/11/20 ), now the remaining numbers represent the time, that goes by military time or 24 hour clock. The 10th and 11th number is the hour, 12th and 13th number is The minutes 14th and 15th number is the seconds HHMMSS (24:00:00), so when this is all put together it is YYYYMMDDHHMMSS (20211120240000) and last the + or - followed by -0500 is the time zone.
It will be in the same format YYYYMMDDHHMMSS as well for the ending time.
Where it says Name-of-channel, Name-of-channel-2 and Name-of-channel-3, it matches from what we called the index. Where it says This is my 24 hour TV show, is the tile this can be anything you want however you should only use numbers zero through nine, letters A through Z and some special characters characters () you should avoid using is the and & symbol.
Where it says Programing to be announced channel, that is the synopsis, again you should only use numbers zero through nine, letters A through Z and some special characters characters () you should avoid using is the and & symbol.
What you see below will repeat over and over in this format, but when you done we need to close this and to close this we add </tv>.
<programme start="20211120240000 -0500" stop="20211121240000 -0500" channel="Name-of-channel">
<title lang="">This is my 24 hour TV show</title>
<desc lang="">Programing to be announced channel 1 </desc>
</programme>
<programme start="20211120240000 -0500" stop="20211121240000 -0500" channel="Name-of-channel-2">
<title lang="">This is my 24 hour TV show</title>
<desc lang="">Programing to be announced channel 2</desc>
</programme>
<programme start="20211120240000 -0500" stop="20211121240000 -0500" channel="Name-of-channel-3">
<title lang="">This is my 24 hour TV show</title>
<desc lang="">Programing to be announced channel 3</desc>
</programme>
</tv>
Lets see what it looks like all put togeather
<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="iptv.br.gy" generator-info-url="http://iptv.br.gy">
<channel id="Name-of-channel">
<display-name>Name-of-channel</display-name>
</channel>
<channel id="Name-of-channel-2">
<display-name>Name-of-channel-2</display-name>
</channel>
<channel id="Name-of-channel-3">
<display-name>Name-of-channel-3</display-name>
</channel>
<programme start="20211120240000 -0500" stop="20211121240000 -0500" channel="Name-of-channel">
<title lang="">This is my 24 hour TV show</title>
<desc lang="">Programing to be announced channel 1</desc>
</programme>
<programme start="20211120240000 -0500" stop="20211121240000 -0500" channel="Name-of-channel-2">
<title lang="">This is my 24 hour TV show</title>
<desc lang="">Programing to be announced channel 2</desc>
</programme>
<programme start="20211120240000 -0500" stop="20211121240000 -0500" channel="Name-of-channel-3">
<title lang="">This is my 24 hour TV show</title>
<desc lang="">Programing to be announced channel 3</desc>
</programme>
</tv>