Let TS Stream channels use the EPG from other channels (DVB-C/T/S)

NOTE: If you have External EPG imported by Xepg for your DVB-C/T/S channels there is no need to use XgrabDMS. Use EPG sharing in Xepg: pair an XMLTV channel to more than one DVBViewer channel. Additionally, if you can get the EPG from an external xmltv provider there is no reason to use XgrabDMS either.

The idea is to grab the EPG from DVB-C/T/S channels to a disk file (say, MyEPG.xml) then then import MyEPG.xml using Xepg. The process can be fully automated. There are 3 ways of doing it:

1) Using the DMS api without using XgrabDMS

In Xepg click the Add button, then fill in like this




Square brackets values [user], [password],... shall of course be replaced by the actual ones. The parameters chosen is just an example. Set up other wanted properties (click Help!), then click OK. You have to do a channel pairing in Xepg where you pair the xmltv channels to the TS Stream channels (refer to Xepg Help). Finally, you need to add the Xepg as an external process timer to the DMS, see

Xepg → Automate → Help

2) Using the DMS api and XgrabDMS

The Xepg setup is the same except you replace parameters &xgrab=&favonly=1&tvonly=1 with &xgrab=mychannels.grab. The file mychannels.grab is created using XgrabDMS in mode Option → Settings → Program Mode → Use DMS configuration folder.

3) Using XgrabDMS only

In this example it is assumed that XgrabDMS is installed in the D:\XgrabDMS folder and that Options → Settings are:


Grab and xmltv files are then stored in the Xepg Data Folder. Create a .grab file, say MyChannels.grab.

The settings in Xepg are then:


Channel pairing and automation is done the same way as in the other examples.

Using IPTV Clients

They usually only need a http link to the xmltv file. You can use the DMS api calls

localhost:8089/api/epg.html?xmltv=1&xgrab=&favonly=1&tvonly=1

or

localhost:8089/api/epg.html?xmltv=1&xgrab=mychannels.grab

whatever is convenient.