Skip to main content

Managing EPGs

EPGs source files are provided by third-parties.This means an EPG file can be modified, or the time zone of the schedule of upcoming programs may not align with your local schedule.

EPG sources are subject to modifications and these changes need to be included in Ministra Pro. Ministra Pro automatically checks for changes to EPG files on a daily basis. If required, you can manually force an update of your EPGs from the source files.

Ministra Pro allows you to correct the time zone of an EPG to align it with your local schedule. The correction is applied dynamically to the TV channel when the EPG is updated from the source file. The original XMLTV file is not modified.

To correct EPG time zones

info

The time zone correction is applied only to the selected channel.

  1. Navigate to IPTV Channels > Channels.
  2. Next to the channel for which you want to edit the time zone, select > Edit.
  3. In the EPG section, in Time Correction for EPG, enter the positive or negative number of minutes by which you want to correct the time.
    For example, if your region is 3 hours ahead of the EPG source time zone, enter +180, or your region is 2 hours behind the EPG source time zone, enter -120.
  4. Select Save.
    The TV channel schedule is updated to match your local time zone.

Updating EPGs

EPGs are downloaded from the Ministra Pro backend and cached in the Ministra Pro end-user applications. A new version of each EPG is automatically downloaded when an end user opens the Ministra Pro application, or when the cache expires.

info

From Ministra Pro 6.32, when the backend updates the EPG from the XMLTV source, an event is triggered to send the updated version of the EPG to the Ministra Pro end-user application.

You can manually update EPGs in the following ways:

  • Running a CRON job that creates a task for each EPG listed on IPTV channels > EPG to check if the EPG data in the Ministra Pro database is different from the EPG source.

    info

    The CRON job that creates update tasks is scheduled to run daily at 9:15am by default.

    For each EPG check task that is created, a second CRON job is run, which updates the EPG data in the Ministra Pro database with the data in the EPG source. By default, this second job runs every five minutes.

  • Updating all of the EPG data in the Ministra Pro database with the data from the EPG sources without checking if there have been changes.

To manually update EPGs

  1. Navigate to IPTV Channels > EPG.
  2. Do one of the following:
    • To check if the EPG data in the Ministra Pro database differs from the data in the EPG source files, select Update EPG.
      If differences are found, the EPG data in the Ministra Pro database is updated.
    • To manually update all of the EPG data in the Ministra Pro database with the data from the EPG source files, select Force EPG update.