AfpDatabaseInfo

The AfpDatabaseInfo 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.

By default, the AfpDatabaseInfo task returns values for both landmark- and template-based audio fingerprinting tracks. You can set AfpMode to restrict the results to one or the other.

Parameters

Parameter Description Required
Type The task name. Set to AfpDatabaseInfo. Yes
AfpDb The audio fingerprint database (if it is defined in the configuration file). See Comments
AfpMode The audio fingerprinting mode to use.  
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). See Comments
PackDir

The path to the directory containing the database.

See Comments

Comments

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=AfpDatabaseInfo&Pack=Adverts&PackDir=C:\resources&Out=AdvertsDb.xml

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, 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.


_HP_HTML5_bannerTitle.htm