EPG update

22.11.2018 09:34

Added support for the JTV format (PDT and NDX files) for the TV guide.

When you import a TV guide for a channel, the server checks for the following files in the \epg folder:

    epg_XX_YY.xml (where XX is the Converter number, YY is the channel number in it).
    epg_XX_YY.ndx and epg_XX_YY.pdt (where XX is the Converter number, YY is the channel number in it).
    NNN.xml (where NNN is the channel name in DVCrypt).
    NNN.ndx and NNN.pdt (where NNN is the channel name in DVCrypt).

    if the import is successful, the file is deleted.

 Added support for XMLTV format in the form of "one file - many channels". For this
    in the TV guide settings for the channel there is a "channel id"field. The value of this field should
    match the value of the "channel" attribute in the xmltv program. If the
    "channel id" is not specified in the settings - all transfers from the XML file are imported
    (as before)

    Example: open the downloaded xmltv file.xml and see what the name of the channel corresponds to
    what id (list at the beginning of the file):

    <channel id= "146">
      <icon src="http://avatars.mds.yandex.net/get-tv-channel-logos/70787/2a000001600801d5c4aa045cec97f5f97429/orig" />
      <display-name>First< / display-name>
    < / channel>

    if the import is successful, the file is still deleted, so each channel needs
    a separate copy of the XMLTV file. To automate the process, you can create
    in the Server\epg folder copy_xmltv file.bat such content:

    @echo off
    copy xmltv.xml epg_01_01.xml
    copy xmltv.xml epg_01_02.xml
    copy xmltv.xml epg_01_03.xml
    copy xmltv.xml epg_01_04.xml
    copy xmltv.xml epg_01_05.xml

    one line per channel of each Converter. After that, download the file xmltv.xml
    from the Internet to the Server\epg folder and run copy_xmltv.bat 

    These add-ons will work with the new version of DVCrypt, which can be downloaded from Our website in the " Support" section.