These commands can be used to download language files and check the installation progress.
Key
Value
Comment
method
"dnld_install_sound"
params
{"md5":md5_checksum, "sid":id, "url":url, "sver":version}
md5_checksum
= md5 checksum of the soundfile, sid
= id of sound file, url
= url to download, sver
= version of the soundfile
id
id
Random integer which is returned in the response used to link request and response.
{
"method" : " dnld_install_sound" ,
"params" : {
"md5" : " #MD5#" ,
"sid" : 1005 ,
"url" : " http://PATH TO SERVER/FILE.pkg" ,
"sver" : 2
},
"id" : 1794
}
Standard response to succeeded command.
{
"result" : [" ok" ],
"id" : 1794
}
Get Sound Installation Progress
Key
Value
Comment
method
"get_sound_progress"
id
id
Random integer which is returned in the response used to link request and response.
{
"method" : " get_sound_progress" ,
"id" : 5172
}
Key
Example
Description
sid_in_progress
0
Voice in progress of being installed (0=none)
progress
0
Progress of installation
state
0
?
error
0
Error during installation
{
"result" : [{
"sid_in_progress" : 0 ,
"progress" : 0 ,
"state" : 0 ,
"error" : 0
}
],
"id" : 5172
}