The afpedit
module allows you to manage the AFP databases, including adding and removing tracks, optimizing the database, and retrieving information on the contents of the database.
The afpedit
module has four modes of operation.
Mode | Input | Output | Description |
---|---|---|---|
FINGERPRINT_ADD
|
af
|
Receives AFP feature data, and adds it to the database under the specified track identification tag. | |
FINGERPRINT_REMOVE
|
Removes entries from the database associated with the specified track identification tag. | ||
FINGERPRINT_OPTIMIZE
|
Optimizes the database’s internal indexes. You must use this mode periodically between adding and removing tracks. | ||
FINGERPRINT_INFO
|
Generates a list of the database’s contents. |
Examples:
output <- afpedit(FINGERPRINT_ADD,fp)
output <- afpedit(FINGERPRINT_ADD,fp)
Some of these parameters do not have an internal default value. You must either set the configuration parameter to a suitable value, or set the value in the corresponding action parameter.
|