Imports an audio match database. You can use this action to import an audio match database that was exported from Media Server 12.0.
Type: synchronous
Parameter | Description | Required |
---|---|---|
database
|
The name to give to the imported database. | Yes |
dbdata
|
The data to import. Files must be uploaded as multipart/form-data. For more information about sending data to Media Server, refer to the Media Server Administration Guide. | Set this or dbpath |
dbpath
|
The path to the file that contains the database to import. | Set this or dbdata |
The following example imports an existing audio match database:
curl http://localhost:14000 -F action=ImportAudioMatchDatabase -F database=music -F dbdata=@audioclips.dat
<autnresponse> <action>IMPORTAUDIOMATCHDATABASE</action> <response>SUCCESS</response> <responsedata></responsedata> </autnresponse>
|