Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question Create EPG for custom channel

vag13

Extended Member
Ext. Member
Joined
Sep 16, 2020
Messages
86
Reaction score
617
Points
94
Location
Greece
How can i create EPG for my custom channel ?
Does anyone have any idea?
 
How can i create EPG for my custom channel ?
Does anyone have any idea?
Yes, is possible, you could do it with PHP or python or any programing language keep in mind is a XML structure that you will create base on your data.
 
Yes, is possible, you could do it with PHP or python or any programing language keep in mind is a XML structure that you will create base on your data.
Easiest way ? Any how-to ?
With bash if is possible.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Easiest way ? Any how-to ?
With bash if is possible.
Ye, I think could be possible, I can't image the way doing that on bash script.

I think PHP or python offers the easiest way to do that.

One question, do you have the data to create Your EPG? and what's the format? excel, TXT...
 
Ye, I think could be possible, I can't image the way doing that on bash script.

I think PHP or python offers the easiest way to do that.

One question, do you have the data to create Your EPG? and what's the format? excel, TXT...
No. I only have the movies in folder path, and with a command i can found the duration of each movie.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
So in your EPG you need the movies name that is coming?
Yes with something like that i could be ok.
e.g.
PHP:
Now Movie_name_1
Next Movie_name_2
Next Movie_name_3
Next Movie_name_4
Or completed epg e.g.
PHP:
15:00 - 16:46 Movie name 1
16:46 - 18:18 Movie name 2
18:18 - 20:03 Movie name 3
20:03 - 22:11 Movie name 4
 
Yes with something like that i could be ok.
e.g.
PHP:
Now Movie_name_1
Next Movie_name_2
Next Movie_name_3
Next Movie_name_4
Or completed epg e.g.
PHP:
15:00 - 16:46 Movie name 1
16:46 - 18:18 Movie name 2
18:18 - 20:03 Movie name 3
20:03 - 22:11 Movie name 4

Ok, what's the command used to know the movie time ?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
How many movies do you have in that folder ? I don't know how custom channels works due to there are some variables you need to take in account.

Don't know if some one created a script for this but looks interesting.

Update:
I recommend you ffprobe instead ffmpeg
 
Last edited by a moderator:
How many movies do you have in that folder ? I don't know how custom channels works due to there are some variables you need to take in account.

Don't know if some one created a script for this but looks interesting.

Update:
I recommend you ffprobe instead ffmpeg
I have a couple of channels. Some of them are less than 10 movies, some over 100 movies.
I can use ffprobe with this
PHP:
ffprobe -v error -select_streams v:0 -show_entries stream=duration -of default=noprint_wrappers=1:nokey=1 movie_name.mp4
with output in seconds e.g.
If i success with one of these channels, i think all others will be done in the same way.
Also, i use XtreamUi
 
For using your own EPG with movies you have to do

- Python ( use your own code)
- Use Tmdb or IMDB api to get movie title from movie filename ( use regular expressions for that )
- Get description from Tmdb or imdb
- Get duration with ffprobe
- Fetch all these data ( Title + Description + Duration )
- Create Xml Epg with your same python script and send it to for example ( /var/www/html/epg)

in the majore case you can"t get title with ffprobe then you have to use TMDB or IMDB or other system .
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top