Jump to content


Photo

EPG for IPTV channels


  • Please log in to reply
687 replies to this topic

Re: EPG for IPTV channels #161 BTJ

  • Senior Member
  • 216 posts

0
Neutral

Posted 30 September 2018 - 15:40

Hi.

 

I have created a little application that creates an bouquet file from a m3u file and also create a custome channels.xml file with the correct channel ids. But I am not sure how to get the epg for these channels? It says I should create a custom sources.xml file but the urls in this file, shouldn't they point to something? Or is it something I am missing?


Edited by BTJ, 30 September 2018 - 15:40.

Someone wrote: "I understand that if you play a Windows CD backwards you hear strange Satanic messages" To which someone replied: "It's even worse than that; play it forwards and it installs Windows"

Re: EPG for IPTV channels #162 Pr2

  • PLi® Contributor
  • 6,178 posts

+261
Excellent

Posted 30 September 2018 - 15:42

Hi,

 

Check here:

 

https://forums.openp...es-explanation/

 

Section about custom.channels.xml

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: EPG for IPTV channels #163 BTJ

  • Senior Member
  • 216 posts

0
Neutral

Posted 30 September 2018 - 16:44

Aaah, that explains it... Now I have EPG, thx.. :)


Someone wrote: "I understand that if you play a Windows CD backwards you hear strange Satanic messages" To which someone replied: "It's even worse than that; play it forwards and it installs Windows"

Re: EPG for IPTV channels #164 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 15 November 2018 - 12:47

 

Edit 24-04-2018:  While all the following is still correct, the application of this has become a lot easier with the use of e-channelizer:  Version 18.0.0.414 (BETA).

This program allows the import of a m3u file.  It will generate service refs and if wanted the needed links for use with EPGimport.

Pls. direct questions about this to the author of e-channelizer.

 

 

 

EPG for IPTV channels can be downloaded by two different methods:

 

1st Method: EPG for IP-TV channels (with thanks to athoik)

 

IPTV channels can also have epg imported.  However you have to make your own import settings as the service references can be anything you fancy.  You will need an OpenPli image from after 20/12/2013

 

A working example:

 

In the bouquet file you have this as channel reference (here the Nostalgie radiostation in Belgium)

#SERVICE 4097:0:1:1000:1000:0:0:0:0:0:http%3a//stream10.fluoline.net%3a80/:Nostalgie
#DESCRIPTION Nostalgie

You have to make a channels.xml file containing:

<?xml version="1.0" encoding="latin-1"?>
<channels>
<channel id="PrivaSpice.ero">1:0:1:1000:1000:0:0:0:0:0:http%3a//example.com</channel> <!-- Private Spice -->
</channels>

The part http%3a//example.com is really needed, but can be the same for all channels.

Also the 4097 has to be replaced by a 1 :  Not needed anymore

I called this file test.channels.xml and placed it in etc/epgimport

 

Now you have to reference this channels file in the sources.xml file.  Place in etc/epgimport a file something.sources.xml which contains:

<?xml version="1.0" encoding="latin-1"?>
<sources>
<source type="gen_xmltv" channels="test.channels.xml">
    <description>test XMLTV</description>
    <url>http://url1/rytecxmltvero.gz</url>
    <url>http://url2/rytecxmltvero.gz</url>
    <url>http://url3/rytecxmltvero.gz</url>
    <url>http://url4/rytecxmltvero.gz</url>
    <url>http://url5/rytecxmltvero.gz</url>
</source></sources>

You could edit the rytec.sources.xml by adding the above, but I do not recommend it as the file will be overwritten when you update your box.  The advise is thus to make a separate something.sources.xml file.  The XMLTV importer will read both this file and the rytec.sources.xml file.

PS: with something I mean really any name you can dream up.

 

Hi Willy,

 

I've lost the EPG for 2 IPV channels, probably because there were no more satellite EPG for these channels. Then I've red your explanation but as my English is not very good, I don't understand what to do exactly.

 

I've found the bouquet file where there are my 2 channels. OK.

 

I've found "Private Space" is the name of a channel, but how do you get the name "PrivaSpice.ero" ? Is it the name given in "#SERVICE" after the ":" as "Nostalgie" ?

 

For my 2 channels, I have to write something like that :

<?xml version="1.0" encoding="latin-1"?>
<channels>
<channel id="ChannelName1">1:0:1:1000:1000:0:0:0:0:0:http%3a//example.com</channel> <!-- Channel Name 1 -->
<channel id="ChannelName2">1:0:1:1000:1000:0:0:0:0:0:http%3a//example.com</channel> <!-- Channel Name 2 -->
</channels>

I think "example.com" have to be replaced by the IP address I've found in the bouquet file, isn't it ? The 2 addresses finished with ".ts", no problem ?

 

And I have to add this file in etc/epgimport :

<?xml version="1.0" encoding="latin-1"?>
<sources>
<source type="gen_xmltv" channels="test.channels.xml">
    <description>test XMLTV</description>
    <url>http://url1/rytecxmltvero.gz</url>
    <url>http://url2/rytecxmltvero.gz</url>
    <url>http://url3/rytecxmltvero.gz</url>
    <url>http://url4/rytecxmltvero.gz</url>
    <url>http://url5/rytecxmltvero.gz</url>
</source></sources>

EPG Import will read this file and the standard "rytec.sources.xml file", isn't it ?

 

Thank you Willy :) .


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: EPG for IPTV channels #165 doglover

  • Rytec EPG Team
  • 17,370 posts

+657
Excellent

Posted 15 November 2018 - 17:52

Everything has became a lot easier with the new EPGimport from a month ago.

If you do not have that one yet, just update EPGimport.

 

This version of EPGimport uses by default a file called custom.channels.xml

Place this file in /etc/epgimport/

 

The contents of the file are channel links which you want to make for some special files.  (in this case some IPTV channels)

f.i.

<?xml version="1.0" encoding="latin-1"?>
<channels>
<channel id="PrivateTV.ero">4097:0:1:23:0:4:0:0:0:0:http%3a//example.com</channel><!-- Private TV 24 hours -->
<channel id="ChannelName1">1:0:1:1000:1000:0:0:0:0:0:http%3a//example.com</channel> <!-- Channel Name 1 -->
<channel id="ChannelName2">1:0:1:1000:1000:0:0:0:0:0:http%3a//example.com</channel> <!-- Channel Name 2 -->
</channels>

If the schedule is still present in the rytec XMLTV files.  You are done.  No need to create a special source file.

 

Willy


Edited by doglover, 15 November 2018 - 17:54.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: EPG for IPTV channels #166 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 15 November 2018 - 18:22

Ok and "ChannelName1" is for example "Nostalgie" or "DISCOVERY CHANNEL" I can find in "#SERVICExxxxxxx:Nostalgie" ?


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: EPG for IPTV channels #167 doglover

  • Rytec EPG Team
  • 17,370 posts

+657
Excellent

Posted 15 November 2018 - 20:11

When you open a XMLTV file, there is f.i. this
 

<channel id="LaUne.be">
    <display-name lang="fr">La Une</display-name>
  </channel>

ChannelName1 = LaUne.be

 

Channel Name 1 = La Une   (but this is not important in the channels file - It is just a comment)  But you are right it is also the name which you can find in "#SERVICExxxxxxx:Nostalgie"

 

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: EPG for IPTV channels #168 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 15 November 2018 - 21:05

Ok, when I've worked with your help to extract EPG from ryrtec files, I've seen these XMLTV files, but are they in a Pli directory "root/..." ? Or have I to find the IPTV name in another "rytec" file ? Because the name in channel id is not the same than the display-name, and the display-name is the same than the one in "#SERVICExxxxxxx:Nostalgie".


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: EPG for IPTV channels #169 doglover

  • Rytec EPG Team
  • 17,370 posts

+657
Excellent

Posted 16 November 2018 - 08:06

The XMLTV files are downloaded each day.  They never appear anywhere on your system.

You can find the url's of the different file in the file /etc/epgimport/rytec.sources.xml

 

Open this file in an editor, and find the url for the file you want.

You can also find an url for the rytec.channels.xml file there.  This file contains the links between the EPG  "<channel id="  and the actual channels service ref and channel name

 

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: EPG for IPTV channels #170 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 16 November 2018 - 09:51

OK, as I didn't find any xmltv files in the system, I suspected I can only find the name in a Rytec file. And I had seen a very big list of these files in epgimport :huh: . I shall search.

 

Thank you Willy :) .


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: EPG for IPTV channels #171 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 22 November 2018 - 11:08

Sorry Willy, I haven't understood yours explanations in the first page and I did a bad handling.

 

In fact I haven't the web EPG addresses of my IPTV channels, I have only the IPTV channel addresses. Then I have to use the EPG of existing channels. But there is no satellite which diffuse them in French, but I've seen in Rytec.sources.xml there are lines with "Cable".

 

Other problem, I haven't any line for my IPTV channels in my lamedb file, I've done an update with the IPTV update but nothing for these channels was added.

 

Do you know if it's possible to construct the good lines in the lamedb and how to do them ?

 

First there is "Cable" as we can see the satellite position (as "19.2E") while there is the operator (as CSAT) in the lamedb. I don't know where to find the operator names.

 

Thank you Willy :) .


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: EPG for IPTV channels #172 Pr2

  • PLi® Contributor
  • 6,178 posts

+261
Excellent

Posted 22 November 2018 - 18:21

Hi,
 
Create a fake service reference in you channel list and then add it into a file name:  custom.channels.xml
Place this file into /etc/epgimport folder.
 
Which contents:
 

<?xml version="1.0" encoding="latin-1"?>
<channels>
<channel id="TF1.fr">4097:0:1:48D8:0:0:0:0:0:3:http%3A//dummy.com</channel>  <!-- TF1 -->
</channels>

 
So the name space must be set to 0 and the ServiceID is set in this case to 48D8.
 
Then in EPGImport select the entries that has the channel(s) and import.
 
You don't need to add anything in the lamedb if you handle yourself the service reference for the IPTV channels.
 
Regards,
 
Pr2

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: EPG for IPTV channels #173 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 23 November 2018 - 11:00

Yesterday, Wily explain me how to write exactly the custom.channels.xml. Previously, I wrote that :

<?xml version="1.0" encoding="latin-1"?>
<channels>
<channel id="Toto.fr">1:0:1:1000:1000:0:0:0:0:0:http%3A//http://url.ts</channel><!-- Toto -->
</channels>

I took url.ts in the bouquet file and I have understood I have to use generic numbers 1:0:1:1000:1000:0:0:0:0:0 and it didn't work. When I took the numbers in the bouquet file, it worked.

 

But for my channels, when the good EPG disappeared, there were replaced by Sport EPG, RMC Sport it seems (I haven't do anything to get that), and now I have the good EPG and the Sport EPG added for my channels. I don't know how to block the bad ones.


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: EPG for IPTV channels #174 doglover

  • Rytec EPG Team
  • 17,370 posts

+657
Excellent

Posted 23 November 2018 - 11:34

First of all find the service ref assigned to the channel in the bouquet!!!

 

Secondly.  Search for this service ref in the rytec channels.xml file.  If it is there and it is assigned to a wrong channel.  Then the only thing to do is assign a different  service ref to the channel in the bouquet file.

 

Third:  the example above is incorrect, in this way that are no : allowed in the fake url. You have to use a safeURL  (replace the : with %3a)

so the above would become:

 

<channel id="Toto.fr">1:0:1:1000:1000:0:0:0:0:0:http%3A//url.ts</channel><!-- Toto -->

PS: this fake url can be the same for each channel.

 

Willy


Edited by doglover, 23 November 2018 - 11:34.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: EPG for IPTV channels #175 Pr2

  • PLi® Contributor
  • 6,178 posts

+261
Excellent

Posted 23 November 2018 - 11:46

Hi,

 

If you use an IPTV channel then the service ref shoul ideally start with 4097: to mention that it is a IPTV.

 

Why do you double the :1000: value?

 

1:0:1:1000:1000:0:0:0:0:0:

 

Simply use:

 

4097:0:1:1000:0:0:0:0:0:0:

 

is enough, but of course in your userbouquet file you need to use the same value. The second :1000: that you set is Transpondeur ID which you don't have and you don't need.

 

Use the exemple that I give you and check if you have the TF1 EPG on the channel, then adapt it for your own use.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: EPG for IPTV channels #176 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 23 November 2018 - 14:51

I have understood when I red the first page I have to use 1:0:1:1000:1000:0:0:0:0:0 but it doesn't work. It's good with 1:0:19:19CB:444:1:0:0:0:0:. This value is in the bouquet file. I receive the good EPG.

 

Now I have to find in these files (below) where is 1:0:19:19CB:444:1:0:0:0:0:. It's right ?

	<mappings>
		<channel name="rytec.channels.xml.xz">
			<url>http://www.xmltvepg.nl/rytec.channels.xml.xz</url>
			<url>http://rytecepg.epgspot.com/epg_data/rytec.channels.xml.xz</url>
			<url>http://rytecepg.wanwizard.eu/rytec.channels.xml.xz</url>
			<url>http://rytecepg.dyndns.tv/~rytecepg/epg_data/rytec.channels.xml.xz</url>
			<url>http://www.vuplus-community.net/rytec/rytec.channels.xml.xz</url>
		</channel>
	</mappings>

I've began with the files in rytec.channels.xml.xz. I haven't found it. I shall continue with the others later ;) .


Edited by doglover, 23 November 2018 - 15:08.
Left only the relevant files

Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: EPG for IPTV channels #177 Pr2

  • PLi® Contributor
  • 6,178 posts

+261
Excellent

Posted 24 November 2018 - 09:35

Why don't you try to understand the very simple exemple that I gave you, why do you want to specify fake values that will confuse your EPG and will force you to add dummy entries in your lamedb while you don't need it.

 

I gave you a very simple exemple which is working fine, just use it and adapt it to your own needs.

 

What is written on the first page is obsolete since the custom.channels.xml is now implemented into EPGImport, it becomes much more easy to setup its own custom EPG without having to create fake sources and fake entries in the lamedb.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: EPG for IPTV channels #178 Pr2

  • PLi® Contributor
  • 6,178 posts

+261
Excellent

Posted 24 November 2018 - 09:40

@Willy,

 

Can you please describe the custom.channels.xml method in the 1st post and make it the favorite choice.

 

With the other methods, that needs to setup a csutom EPG sources, the date files are downloaded twice from the server so we double the bandwidth usage.

With custom.channels.xml there is no need to have fake entries in the lamedb.

 

E-Channelizer should also be updated to generate the custom.channels.xml file.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: EPG for IPTV channels #179 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 24 November 2018 - 10:22

Sorry Pr2 but as I wrote it a lot of times, it's very difficult for me to understand English (and other foreign languages). Then It takes me a lot of times to understand an explanation, it's arduous. That's why I don't come on this website very often while there are a lot of interesting things.

 

I haven't modified the lamedb, I've used the custom.channels.xml. It works fine but I have to delete the bad entries which exist before I do anything : a few weeks ago, I had the good EPG for me 2 channels but a few days later, it was replaced by Sport EPG, it seems to be RMC Sport EPG. I haven't done anything, that's why I wanted to get the good one. Then I used the custom.channels.xml and it works bud the bad EPG is still present with the good one.


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: EPG for IPTV channels #180 Pr2

  • PLi® Contributor
  • 6,178 posts

+261
Excellent

Posted 24 November 2018 - 17:38

Change the service reference that you assign yourself, you probably by mischance reuse the same one as RMC Sport or you use the wrong <channel id="...">


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 



7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users