<< Click to Display Table of Contents >> Navigation: »No topics above this level« MediaSync |
MediaSync is another Add-on in the Stack software, that runs on each media server. Go to the IP address of each player, under Configure, select Add-ons, find MediaSync and start it running:
On the right is a link to its Config page. Here you can add your sync targets (between a NAS and this media server):
Do this for each folder you want to sync between the NAS and the media server resource folders (E:\Movies, C:\Images, C:\Effects etc.).
Player servers will check for changes on the NAS automatically at regular intervals to add or remove media as changes occur on the NAS.
Note: for complex installations the MediaSync targets are all stored in a JSON file, which for accuracy and convenience can be copied between media servers.
Verifying MediaSync status
In a browser tab, enter the URL to obtain MediaSync status page: http://[IP Address]:8085/status.
This returns a JSON object providing from/to details between sync target directories with a "state" and corresponding "errorMessage".
States of ‘idle’ and ‘active’ are good. If either directory in a sync is unavailable, state will be ‘error’ followed by a message.
Use of wildcards in matching folders
The use of wildcards is a feature added in StackSignage 2.1.1. This enables matching sync folders with a certain folder name pattern, for example in a system which has a number of carves so it will only sync the carve that is relevant to each machine.
Media is only synced from folders that match the wild carding pattern. Whole folder names, or part names, can be wildcarded.
* : matches any string
# : matches any numeric character once
$ : matches any alphabetical character once
? : matches any character once
[x] matches any number in the range 0-x
{{ }} can be used to enclose a global Delta variable/string
Page edited [d/m/y]: 20/01/2023