Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.4 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.4 KB

enigma2-epg-grab

EPG extrator from Enigma2 Bouquetes. It uses the OpenWebIf API.

Wrote this script to extract the EPG from an Enigma2 satellite receiver and convert it into XMLTV format.

This is useful when you use the Enigma2 box to stream different bouquettes around the house as an IPTV server. Import the resulting XML files into your IPTV client and you're good to go.

Upon first run it will promp for the bouquettes you want to exatrac the EPG for and it will save them on the disk for next time.

This is useful if you want to run the script on a scheduled basis using a cron job or similar.

Installation

git clone git@github.com:georgeschiopu/enigma2-epg-grab.git

You will need the NodeJS runtime env. For simplcity, use NVM.

Configuration

Change a few variables at the top of index.js:

const baseUrl = 'http://YOUR-ENIGMA2-BOX-IP';
const dummyUrl = 'DUMMY-URL-FOR-XMLTV-DOCUMENT';
const xmlpath = 'DIR-WHERE-TO-STORE-THE-XML-FILES';

Usage

Install the required dependencies:

npm install

Run the script:

node index.js

NOTE: This is far from perfect, but since I already spent a few hours for my pesonal usage, thought I'd share it maybe someone else will find it helpful.