Jump to content


Photo

Reading EPG data from OpenTV (28.2E and 13 E)


  • Please log in to reply
119 replies to this topic

Re: Reading EPG data from OpenTV (28.2E and 13 E) #21 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 19 January 2018 - 17:16

Can you put it on the top of your To-Do list please :)

Re: Reading EPG data from OpenTV (28.2E and 13 E) #22 phunkyfish

  • Member
  • 11 posts

0
Neutral

Posted 3 October 2018 - 12:15

I second that. Would be great to see this as a built in grabber. There is information in OpenTV epg data such as series link and genre that I'd love to get access to through OpenWebIf. 

 

I'm maintaining the Vu+/Enigma2 PVR plugin for Kodi and with that info there are some pretty cool things we can do. I believe genre is already there (correct me if I'm wrong), I have a feature request in to get it exposed over the REST API. SeriesLink would be the icing on the cake depending on the format it takes.

 

I'd give a go myself but my C skills are rusty at best and I just don't have the knowledge of the enigma2 build system to pull it off I'd say.


Edited by phunkyfish, 3 October 2018 - 12:17.


Re: Reading EPG data from OpenTV (28.2E and 13 E) #23 WanWizard

  • PLi® Core member
  • 70,247 posts

+1,798
Excellent

Posted 3 October 2018 - 22:09

I need help from a more seasoned C dev, I'm very very rusty as well (25 years since my last real project).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Reading EPG data from OpenTV (28.2E and 13 E) #24 Abu Baniaz

  • PLi® Contributor
  • 2,494 posts

+64
Good

Posted 26 May 2019 - 12:39

Can someone explain how .dat files are imported into the EPG please?

Sent from my Moto G (5S) using Forum Fiend v1.3.3.

Re: Reading EPG data from OpenTV (28.2E and 13 E) #25 WanWizard

  • PLi® Core member
  • 70,247 posts

+1,798
Excellent

Posted 26 May 2019 - 13:03

EPG import has that option, and you can just put it on disk and tell Enigma to reload it, there's a webif call for that.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Reading EPG data from OpenTV (28.2E and 13 E) #26 Abu Baniaz

  • PLi® Contributor
  • 2,494 posts

+64
Good

Posted 26 May 2019 - 14:09

Thanks.Can you add more details please? Where should the .dat files be placed, how to enable the reading/importing/acquisition of them in EPG importer? I cannot see the option.

Dat files here
http://www.mediafire...output.zip/file

Edited by Abu Baniaz, 26 May 2019 - 14:13.


Re: Reading EPG data from OpenTV (28.2E and 13 E) #27 WanWizard

  • PLi® Core member
  • 70,247 posts

+1,798
Excellent

Posted 26 May 2019 - 14:10

Sorry, never used it myself.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Reading EPG data from OpenTV (28.2E and 13 E) #28 doglover

  • Rytec EPG Team
  • 17,363 posts

+657
Excellent

Posted 26 May 2019 - 14:24

EPGimport can import epg.dat files.

Add to the sources file a new source like this:

<source type="epg.dat" channels="rytec.channels.xml.gz">
<description>Benelux</description>
<url>http://www.url.nl/benl/epg.dat.gz</url>
</source>

For local files use:

<source type="epg.dat" channels="rytec.channels.xml.gz">
<description>Benelux</description>
<url>/home/root/epg.dat</url>
</source>

The channels  - channels="rytec.channels.xml.gz" - definition is ignored here. As the service ref is included in the epg.dat file.

You can use native epg.dat files or compressed epg.dat.gz files.  I do not know if xz compressed epg.dat files are supported.

 

The method WanWizard is refering to is the built-in loading of epg.dat files in enigma2.  This obvious works as well, without the use of EPGimport.

See here:  https://github.com/E...I-documentation

How to use it escapes me at the moment.

 

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: Reading EPG data from OpenTV (28.2E and 13 E) #29 doglover

  • Rytec EPG Team
  • 17,363 posts

+657
Excellent

Posted 26 May 2019 - 14:25

Thanks.Can you add more details please? Where should the .dat files be placed, how to enable the reading/importing/acquisition of them in EPG importer? I cannot see the option.

Dat files here
http://www.mediafire...output.zip/file

 

 

Excuse me if I say, these are not epg.dat files for use in enigma2.

 

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: Reading EPG data from OpenTV (28.2E and 13 E) #30 Abu Baniaz

  • PLi® Contributor
  • 2,494 posts

+64
Good

Posted 26 May 2019 - 14:32

In a sort of way this is usefull. I can use this data to grab the EPG for the UK, and publish it in XMLTV format.

What needs to be done for E2/EPGImporter to be able to use the files attached?

Edited by Abu Baniaz, 26 May 2019 - 14:34.


Re: Reading EPG data from OpenTV (28.2E and 13 E) #31 doglover

  • Rytec EPG Team
  • 17,363 posts

+657
Excellent

Posted 26 May 2019 - 14:40

After looking around, maybe Crossepg has an option to use these files.

 

1.  How to make proper epg.dat files from it escapes me, as I never studied the epg.dat definitions.

 

2. Making XMLTV files from it by using WG++ (a definition has to be written), and then importing it via EPGimport.

Finding the correct channles by this method would be a major undertaking.

The channels are named like this.

 

6125|2:805:278d
6160|2:805:27b0
6142|2:805:27a6
6110|2:805:2788
6390|2:805:2792
1014|2:805:279b
6241|2:805:27b5
6220|2:806:27ec
6040|2:806:2800
6355|2:806:280f
2902|2:806:27fe
6260|2:806:2814
6261|2:806:2815

 

And why do you want to do this, there is a perfectly good SiteIni for WG+ for radiotimes


Edited by doglover, 26 May 2019 - 14:47.

~~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: Reading EPG data from OpenTV (28.2E and 13 E) #32 Abu Baniaz

  • PLi® Contributor
  • 2,494 posts

+64
Good

Posted 26 May 2019 - 15:10

The data is on the satellite, so saves downloading from websites.

The other lines are
EPG_ID, ONID, Transponder, service ID
1014|2:805:279b refers to ITVBe+1

Zipped excel file attached for reference purposes

Radiotimes is not working since 2016. Please correct if I am wrong.

Attached Files


Edited by Abu Baniaz, 26 May 2019 - 15:12.


Re: Reading EPG data from OpenTV (28.2E and 13 E) #33 Abu Baniaz

  • PLi® Contributor
  • 2,494 posts

+64
Good

Posted 26 May 2019 - 15:39

Radiotimes is not working since 2016. Please correct if I am wrong.



Self correction
https://www.radiotimes.com/tv/tv-listings/


Re: Reading EPG data from OpenTV (28.2E and 13 E) #34 WanWizard

  • PLi® Core member
  • 70,247 posts

+1,798
Excellent

Posted 26 May 2019 - 18:34

I think Willy was refering to the xmltv files from RadioTimes.

 

It shouldn't be too difficult to adapt epgimport to support other formats to, it's plain Python.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Reading EPG data from OpenTV (28.2E and 13 E) #35 jenseneverest

  • Senior Member
  • 65 posts

+5
Neutral

Posted 26 May 2019 - 19:14

How are you dowloading the epg.dat ? is it a url ?

2boom has a plugin that can handle epg.dat............it will handle the file produced on one e2 box and download it to another at least.

 

 

 

Attached Files



Re: Reading EPG data from OpenTV (28.2E and 13 E) #36 Abu Baniaz

  • PLi® Contributor
  • 2,494 posts

+64
Good

Posted 27 May 2019 - 01:08

Post 14 describes the process to invoke the radio times emulator. I was more interested in using the dat files on the actual receiver.

 

Lets see what the summer brings

https://github.com/t...module/opentv.c



Re: Reading EPG data from OpenTV (28.2E and 13 E) #37 doglover

  • Rytec EPG Team
  • 17,363 posts

+657
Excellent

Posted 27 May 2019 - 06:32

 

Radiotimes is not working since 2016. Please correct if I am wrong.



Self correction
https://www.radiotimes.com/tv/tv-listings/

 

The radiotimes webpages are still available.  The downloadable version stopped working in 2016.

 

The files mentioned above (post 25 - http://www.mediafire...output.zip/file) are produced by some-one lese and resemble the old radiotimes downloadable format.

 

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: Reading EPG data from OpenTV (28.2E and 13 E) #38 Abu Baniaz

  • PLi® Contributor
  • 2,494 posts

+64
Good

Posted 27 May 2019 - 11:07

The files in post 25 are being produced on the receiver. If they can be used, we can try and move forward.

Sent from my Moto G (5S) using Forum Fiend v1.3.3.

Re: Reading EPG data from OpenTV (28.2E and 13 E) #39 doglover

  • Rytec EPG Team
  • 17,363 posts

+657
Excellent

Posted 27 May 2019 - 12:50

Djeezes, they are produced on a receiver!!!!!!

 

It is just another format as compared to the XMLTV format used by EPGimport.

On a receiver one can already export the EPG to an XMLTV file. 

See:  https://forums.openp...onvert-to-rytec

 

and:  https://www.oozoon-b...gexport-plugin/

 

This plugin already exports EPG to a file, and does this in a format (XMLTV) which can be imported by EPGimport, and being used by IPTV Simple Player and Kodi.

 

And do not forget that the EPG can be saved in a epg.dat file, which can be loaded by another enigma2 machine if wanted.

 

Willy


Edited by doglover, 27 May 2019 - 12:52.

~~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: Reading EPG data from OpenTV (28.2E and 13 E) #40 doglover

  • Rytec EPG Team
  • 17,363 posts

+657
Excellent

Posted 27 May 2019 - 14:27

Saving and loading epg.dat in enigma2 can be done by following commands:

wget http://127.0.0.0/api/saveepg
wget http://127.0.0.0/api/loadepg

The epg.dat file is saved or loaded from the position defined in the receiver or via OpenWebif

 

Willy

 

PS:  this method is quick as compared to the import of XMLTV files


Edited by doglover, 27 May 2019 - 14:28.

~~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*



8 user(s) are reading this topic

0 members, 8 guests, 0 anonymous users