http://192.168.11.215:9529/ZidooControlCenter/getModel
{ "status":200, "model":"ZIDOO_X9S", "net_mac":"80:0a:80:5a:35:0a", "wif_mac":"a0:2c:36:84:5c:8a", "firmware":"v2.0.5", "ram":" 2.0G", "flash":" 8.0G", "androidversion":"6.0.1", "language":"zh" }
GET /ZidooFileControl/openFile?path=' + path + &videoplaymode=' +[0,1]
path | /storage/emulated/0 |
videoplaymode | 0 |
{"status":200}
GET/ZidooFileControl/getFileList?path=/storage/emulated/0&type=1000
path | /storage/emulated/0 |
type | 1000 |
{ "status":200, "isExists":true, "perentPath":"/storage/emulated/0", "filelist":[ { "name":"apkdown", "type":0, "path":"%2Fstorage%2Femulated%2F0%2Fapkdown", "isBDMV":false, "isBluray":false, "length":0, "modifyDate":1517563905000 }, { "name":"new_user_for_8_0.txt", "type":4, "path":"%2Fstorage%2Femulated%2F0%2Fnew_user_for_8_0.txt", "isBDMV":false, "isBluray":false, "length":0, "modifyDate":1516707856000 } ] }
type:
0 | folder |
1 | music |
2 | movie |
3 | image |
4 | txt |
5 | apk |
6 | |
7 | doc |
8 | xls |
9 | ppt |
10 | web |
11 | zip |
default | other |
GET/ZidooFileControl/getHost?path=/tmp/ramfs/mnt/&type=1005
path | /tmp/ramfs/mnt/ |
type | 1005 |
{ "status":200, "hosts":[ { "name":"192.168.11.221", "type":1007, "ip":"192.168.11.221" } ] }
GET /ZidooFileControl/getDevices
{ "status":200, "devices":[ { "name":"Flash", "path":"/storage/emulated/0", "type":1000 }, { "name":"SMB", "type":1005, "path":"/tmp/ramfs/mnt/" }, { "name":"NFS", "type":1004, "id":1004, "path":"/mnt/nfs/" } ] }
type:
1000 | hdd |
1001 | usb |
1002 | usb |
1003 | tf |
1004 | nfs |
1005 | smb |