Open topic with navigation

# AfptDatabaseInfo

The `AfptDatabaseInfo` task returns a list of all tracks that are currently stored within the specified database. It allows you to review the contents and to list the track tags to use when removing tracks from the database.

The `AfptDatabaseInfo` task uses templates as opposed to landmarks, which improves robustness to audio mismatches at the cost of scaleability.

## Parameters

Parameter | Description | Required
--- | --- | ---
Type | The task name. Set to `AfptDatabaseInfo`. | Yes
AfpDb | The audio fingerprint database (if it is defined in the configuration file). | *
Out | The log file to write the database contents to. | Yes
Pack | The audio fingerprint database (if it is not defined in the configuration file). | *
PackDir | The path to the directory containing the database. | *

Note: The database type for template-based audio fingerprinting is `fptdb` (as opposed to `fpdb` for landmark-based audio fingerprinting).

*If the database is defined in the IDOL Speech Server configuration file, you must set the AfpDb parameter. If the database is not defined, set both the Pack and PackDir parameters instead.

## Example

    http://localhost:13000/action=AddTask&Type=AfptDatabaseInfo&Pack=Adverts&PackDir=C:\resources&Out=AdvertsDb.xml

This action uses port `13000` to instruct Speech Server, which is located on the local machine, to use template-based matching to write the contents of the `Adverts` database to the `AdvertsDb` XML file. You can access this file remotely by sending a `GetResults` action, setting the `Token` parameter to the task ID token that was returned when the task was submitted.

© 2014 - 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm