Delayed Synchronization

Delayed Synchronization

There are instances when changes are made upon sequences but we want to avoid actually synchronizing the content until a specific time, either to prevent disturbing the currently running sequences or for other operational reasons.

In the installation directory of Media4Display, you can find the M4DPrepareSynchroFiles.exe  (typically in the folder C:\Program Files
(x86)\Telelogos\Media4Display Server\Media4Display\Bin)

M4DPrepareSynchroFiles.exe is actually the executable that is being called by Media4Display behind the scenes when one wants to start the synchronization of a specific program (or operation), the synchronization of a specific player or the synchronization of all the programs within a tenant.

Below is a quick summary of how to use this tool.
  1.  M4DPrepareSynchroFiles.exe 
    with no argument, the program will start the M4D synchronization process for all players of all organizations
  2. M4DPrepareSynchroFiles.exe -E1
    using the -E parameter followed by the database identifier for the organization (you will need to confirm the DB-ID using some kind of SQL Explorer and looking into the T_Companies table)
  3. M4DPrepareSynchroFiles.exe -P10 -E1
    using the -E parameter as above but also adding the -P  parameter followed by the database ID of the player you want to synchronize (once again you will need to verify the id of the player using a SQL Explorer tool looking into the T_USERS table)
  4.  M4DPrepareSynchroFiles.exe -O15
    using the -O parameter followed by the operation ID for the specific program that you want to synchronize (once again you will need to use some kind of SQL explorer to verify the content of the T_M4DPlanning table looking at the OperationId column. There is also a simple way to find the db id for the operation. You can just select the specific operation in the Media4Display user interface to reveal its schedule. After doing that, you can grab the URL of the page, you will find something of the like of https://demo.m4d.io/Media4Display/default.aspx#/operations/edit/87//1688966066853/agendaWeek ... In this URL the operation ID is "87", (right after the "edit" part). 

Once you have tested out the command line, you can create a MediaContact server side process that will execute at the time of your choosing. Of course, you can also roll out a custom solution using the Task Scheduler or a custom script in Python or other.


    • Related Articles

    • reboot all hardware players

      In order to reboot all players at a given time, you will need to set up a new process with a Reboot task. 1) Navigate to Processes 2) Right click and select "New Process" - choose a name for the process and select Trigger Initiative to "Station" ...
    • Exchange Configuration for FlexO Integration

      Prerequisites 1.  Administrator account to Exchange Control Panel (ECP):  https://[Exchange-Server-url]/ecp/ 2.  Access to Exchange management shell console as an  Exchange administrator 3.  Administrator account to FlexO Exchange Configuration ...
    • How to backup (and restore!) your Media4Display system?

      Backing up Media4Display In order to keep your Media4Display system running and to make sure that it will keep running even after a minor or major hardware issue, you need to back up your data, configuration and settings. Backing up your cloud ...