Monitor Sync is a feature which allows the player to periodically synchronize local copies of files with their remote sources over HTTP or FTP. Typically, this feature is used to fetch small data files containing time sensitive information such as weather or stock quote information.
The Monitor Sync section contains two tabs:
- URLs: Allows you to configure which files to synchronize.
- Core: Controls the global monitor sync behavior.
For general information about configuration profiles for players, see Configuration Profiles – Players.
For edge server profiles, see Configuration Profiles – Edge Servers.
In the URLs tab, you can toggle between basic or advanced mode:
- Basic mode: Presents a graphical user interface.
- Advanced mode: Can be useful if you want to copy and paste a complicated configuration into another without having to recreate it through the interface. See Configuration Profiles – Players – Advanced Mode.
The URLs tab contains all the information about the files that are synchronized by Monitor Sync. When adding a new URL, you can specify an http or ftp source.
- Remote URL: The Source URL to fetch from. Can be ftp, http or https. Usernames and passwords can be encoded directly into the url. For example:
- Destination Path: The local path that the content will be synced to. This path can be relative or absolute. If relative, the content will be synced into the player’s application data path, which is usually
C:\Documents and Settings\All Users\Application Data\Broadsign\bsp\share\bsp\sync. If the path is absolute, make sure that the user under which BSP is running has read/write access to the destination path.
- FTP Options: If the remote URL is FTP, the “Sync Folder” option will copy the entire remote folder to the local machine, verifying file timestamps to ensure content isn’t redownloaded uselessly. The “Sync Sub Folders” options will recursively sync all the child folders as well.
- Options: If the “Add player id to remote path” option is enabled, the remote url is modified such that the player’s ID is included in the URL as a directory.
- Refresh Period: How frequently to check the remote URL for new files.
- Timeout period: How long to wait before terminating hung connections.
The Core tab contains a check box to control whether the player will honor Network Control time spans with respect to the file synchronization feature.
Also, the Core tab contains an additional tab to control whether the Monitor Sync mechanism should be enabled on the player.
Finally, the monitor sync service can be configured to append dynamic variables such as Player Resource ID, Zipcode and Address to the fetched http URLs in order to enable smart server-side logic that customizes the response document for each client.