-
Notifications
You must be signed in to change notification settings - Fork 25
JSON poll
Luis Fernandes edited this page Apr 18, 2013
·
1 revision
POST http://192.168.1.250:9981/comet/poll
boxid fc73bf499f925888b300de28e400b3455b87db23
immediate 0
{ "boxid" : "fc73bf499f925888b300de28e400b3455b87db23",
"messages" : [ { "bw" : 841385,
"channel" : "RT",
"errors" : 0,
"hostname" : "192.168.1.200",
"id" : 99,
"notificationClass" : "subscriptions",
"service" : "s480 usb port2/ Horizontal ()",
"start" : 1359911480,
"state" : "Running",
"title" : "XBMC Media Center",
"updateEntry" : 1
} ]
}
boxid fc73bf499f925888b300de28e400b3455b87db23
immediate 0
{ "boxid" : "fc73bf499f925888b300de28e400b3455b87db23",
"messages" : [ { "ber" : 0,
"id" : "_dev_dvb_adapter0_Conexant_CX24116_CX24117000_H_satconf_1",
"notificationClass" : "dvbMux",
"quality" : 100,
"signal" : 59584,
"unc" : 0
},
{ "ber" : 0,
"identifier" : "_dev_dvb_adapter0_Conexant_CX24116_CX24118",
"notificationClass" : "tvAdapter",
"signal" : 90,
"unc" : 0,
"uncavg" : 0
}
]
}
POST http://192.168.1.250:9981/comet/poll
boxid fc73bf499f925888b300de28e400b3455b87db23
immediate 0
{
"boxid": "fc73bf499f925888b300de28e400b3455b87db23",
"messages":
[
{"notificationClass": "logmessage",
"logtxt": "Feb 03 17:10:48 htsp: Got connection from 192.168.1.200"
}
]
}
POST /comet/poll
boxid 649b59cac77ddaad0b9ea3dddf6adaf503d3ab4e
immediate 0
{ "boxid" : "649b59cac77ddaad0b9ea3dddf6adaf503d3ab4e",
"messages" : [ { "logtxt" : "Feb 18 01:57:15 htsp: Got connection from 192.168.1.200",
"notificationClass" : "logmessage"
},
{ "logtxt" : "Feb 18 01:57:15 htsp: 192.168.1.200: Welcomed client software: XBMC Media Center (HTSPv1)",
"notificationClass" : "logmessage"
},
{ "id" : "_dev_dvb_adapter0_Conexant_CX24116_CX22000_H_satconf_1",
"notificationClass" : "dvbMux",
"onid" : 83
},
{ "logtxt" : "Feb 18 01:57:16 Service: Subscription \"192.168.1.200 [ XBMC Media Center ]\": Skipping \"s480 usb port2 \" -- not enabled",
"notificationClass" : "logmessage"
},
{ "logtxt" : "Feb 18 01:57:16 subscription: \"192.168.1.200 [ XBMC Media Center ]\" subscribing on \"ccc\", weight: 150, adapter: \"s460\", network: \"\", mux: \": 000 kHz Horizontal \", provider: \"\", service: \"channel\", quality: 100",
"notificationClass" : "logmessage"
},
{ "notificationClass" : "subscriptions",
"reload" : 1
}
]
}