The mm-sync configuration file is an XML file whose elements and attributes control how metadata
get synchronized from mediastores into databases. The XML format is a convenient way of defining and enforcing policies on
what gets synchronized and how media information is represented in the database.
A default configuration file (/etc/mm/mm-sync.conf) is included in the product.
This file contains comments that describe the purposes of its XML elements (tags) and attributes.
It also contains default values for the various configuration settings, most of which are expressed as comments.
To enable a setting, uncomment its tag.
You can define your own configuration file to customize synchronization behavior to suit your application needs.
In this file, you can:
- set synchronization thread priorities to adjust the speed of synchronizations and what resources they consume
- limit how many files in one folder can have their metadata synchronized and how many directory levels can be searched
- filter the synchronization of media files and playlists based on file extensions
- map the fields received from metadata providers to storage fields in the database
- manage the database size by setting a threshold size value for stopping metadata synchronization
Note:
The settings in the default mm-sync configuration file are presented in table format.
Each table row provides the tag name, attribute, default value, and functional description for one setting.
When the Attribute column is blank, the Default column refers to the element (tag) value.
When both Attribute and Default are blank, the referenced element contains other elements,
whose purposes are summarized in the Description column.