View Full Version : [ViX_Misc] Is there a basic periodic EPG plain text data exporter?
I’m looking for a way to either periodically (daily) dump the current EPG basic data to a text file (Csv, Json or XML) for remote ftp access or achieve the same via an http request to the box.
Does a plugin exist which will provide this functionality?
I’m writing some software to run on my PC which needs this data and I don’t particularly want to scrape the EPG output of OpenWebif or try to interpret the contents of the epg.dat cache file.
In the absence of anything existing, I guess I will be researching how to write my own plugin.
Many thanks for any advice.
Alan.
I don't know of any way.
The simplest way might be to get a decoder for the epg.dat backup file.
Hmmmm.....you could look at this?
http://www.webgrabplus.com/
and this old OpenPLi thread might contain some info
https://forums.openpli.org/topic/35499-epg-convert-to-rytec/
In fact it's fairly simple.
You can query OpenWebIF for the EPG for any channel using its Service Reference (which will be in the /etc/enigma2/lamedb5 file).
e.g.
wget 'http://et8000/web/epgservice?sRef=1:0:19:4484:4083:233A:EEEE0000:0:0 :0' retrieved all of my BBC ONE HD EPG as xml. After that its just a matter of a loop and text processing....
abu baniaz
02-11-18, 07:16
If this is for 28.2, LraiZer has a radio times EPG emulator which will obtain the OpenTV EPG. Check his GitHub page as well as on his home forum.
There is another plugin which can do the uploading. This is referenced on his home forum. I am pretty sure same thread else it will be in the "wiki" thread.
Thanks birdman that looks very, very promising … could you tell me if there is another Web query to get a list of the current service references and names?
I'm hoping the answer is yes, in which case I can probably take it from there.
Alan
I'd be surprised if you didn't find what you want here...
https://dream.reichholf.net/e2web/
I'd be surprised if you didn't find what you want here...
https://dream.reichholf.net/e2web/Useful.
So you can get all of the services (and the bouquets they are in...) with
wget 'http://et8000/web/getallservices'
….. EMJB gave me the link.
I'd be surprised if you didn't find what you want here...
https://dream.reichholf.net/e2web/
Wow! Wow! Wow!... Many thanks for the link, only had the box a couple of days ... totally impressed with this level of access.
Hopefully case closed for me for the time being until I start looking at my next requirement - current public Web IP reporting... but that's a separate post later if needed.
Many thanks
Alan
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.