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.
- M4DPrepareSynchroFiles.exe
with no argument, the program will start the M4D synchronization process for all players of all organizations - 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) - 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) - 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.