←  [EN] Rytec XMLTV and EPG support

Forums

»

Back to the discussion about EIT and the p...

's foto azman 9 sep 2023

Hi Willy
 
As in the topic, I would like to return to the topic of obtaining a guide directly from the EIT tables provided by the operator.
I read a thread about RadioStream Emulator which easily offers this option for OpenEPG.
 
I'm wondering if it would be possible to expand its capabilities to include the PolsatBox operator (Cyfrowy Polsat), which probably broadcasts its EPG in the OpenEPG format, but I may be wrong.
 
I know I should direct this question to my friend @LraiZer

who is the author of this plugin, I hope he will comment on this topic.

 
I need to extract EPG from the EIT tables of the PolsatBox 13E operator for VOD202-205 channels.
The schedule for these channels is presented only by the operator in the data sent via transport stream by a given transponder.
 
Using DVBsnoop, I can log this data and export it to a txt file, but only now/next time.
I've been playing with this tool for a while now, so I probably don't know its full capabilities.
 
Since epgcasche in E2 somehow handles it right after switching to a given transponder and EIT is saved to EPG.dat, it is probably possible to capture it and save it in another file which can then be freely processed.
 
I will be grateful for any suggestions and comments
Regards

Veranderd door azman, 9 september 2023 - 00:06
Citeren

's foto LraiZer 13 sep 2023

As far as i am aware, polsat epg for VOD is just standard EIT data for a day or so. If you are only getting now/next, then you must be only getting 0x4e table data somehow?

 

Best to first zap to VOD202 and then just read the [Event Information Table (EIT) - actual transport stream, schedule] data on table 0x50 with dvbsnoop to see what is there!

dvbsnoop -nph -pd 4 -n 100 0x12 -f 0x50 -m 0xff >/tmp/eit_actual_schedule.txt

You can try zap to VOD202 and read the cached epg for this service to an xml file using the web api on you box also as a test...

wget -q -O - http://127.0.0.1/web/zap?sRef=1:0:1:3C:1964:13E:820000:0:0:0
wget -q -O - http://127.0.0.1/web/epgservice?sRef=1:0:1:3C:1964:13E:820000:0:0:0 >/tmp/vod202.xml

Veranderd door LraiZer, 13 september 2023 - 23:02
Citeren

's foto azman 21 sep 2023

@LraiZer 

 

Thank you for your tips.
 
I have already found a transponder (12188 V) on which the operator transmits more data and it is not the one from which he broadcasts these VOD channels.
 
Is it possible to obtain EIT data for these VOD channels without using OpenWebIf?
 
Currently, I am creating the entire EPG for Polish channels, which is included in RytecTeam sources. Since I am creating them, I want to have constant control over them, so I have EIT and MHW data acquisition disabled in the EPG options of the receiver.
You can ask @doglover for an opinion on whether I'm doing it right, who entrusted me with this part of the guide theory for Polish channels included in the RytecTeam sources.
 
I work around this problem as follows:
Crone runs a script that turns on EIT and then switches to the channel from transponder 12188, waits a few minutes until the data arrives and returns to my favorite channel from the bouquet.
Then, the EPGExport plug-in exports data from a bouquet containing only VOD channels at a given time.
Crone runs another script that sends me files to the FTP server.
 
And now all I need to do is download the files in the Terminal where I have WG++
This is where the data is cleaned of the nonsense that the original contains, and then the data is copied to the appropriate sections. Finally, I run it through the IMDB and FW (FilmWeb) databases and the resulting xml file goes to the server ready for downloading via EPG Importer.
I also found such a project
 
Unfortunately, my knowledge of PY is minimal. Do you think it's worth dealing with EPGsnoop, there is some potential in it that I could use, of course, after adapting it to E2 and PY3.
 
Regards
Citeren

's foto doglover 22 sep 2023

I do not have any issues with the Polish EPG.

azman you are doing an excellent job.

Of course there are different approaches.  But that is your choice.

Citeren

's foto azman 22 sep 2023

Hi Willy
 
Thank you for your comment.
 
I'm really happy and all I need is a guide for these VOD channels.
I've come up with a procedure for obtaining a guide, but maybe someone with more knowledge will suggest another solution.
 
I must admit, I'm counting on @LriaZer's comment here. How would he go about it.
 
This is what the original EIT data looks like and after processing in WG++

Bijgevoegde Bestanden


Veranderd door azman, 22 september 2023 - 11:05
Citeren

's foto Pr2 23 sep 2023

There is a plugin EPGRefresh that can also zap for you on a given TP at a given time to retrieve the EPG. So you don't need to cron it yourself.

Citeren

's foto azman 30 sep 2023

@Pr2

 

Thank you for reminding me about this plugin.
I can slim down my script by a few commands.
A cron script to enable and disable EIT + EPGRefresh + EPGExport and I did what I wanted.
 
Regards

Veranderd door azman, 30 september 2023 - 19:56
Citeren