-
Notifications
You must be signed in to change notification settings - Fork 25
JSON poll comet status subscriptions
Luis Fernandes edited this page Apr 18, 2013
·
1 revision
First POST /comet/poll boxid=&immediate=0
{"boxid": "c9d572216d2e6fa6d3fa9284412e51a4ff049941",
"messages":
[
{"notificationClass": "accessUpdate","dvr": 1,"admin": 1},{"notificationClass": "setServerIpPort","ip": "192.168.1.250","port": 9981}
]
}
Get boxid, and
POST /comet/poll boxid=c9d572216d2e6fa6d3fa9284412e51a4ff049941&immediate=0
notificationClass:
- subscriptions
- tvAdapter
- dvbMux
- dvrdb (reload)
- logmessage
{"boxid": "c9d572216d2e6fa6d3fa9284412e51a4ff049941",
"messages":
[
{"id": "_dev_dvb_adapter0_Conexant_CX24116_CX241 000_H_satconf_1","onid": 83,"notificationClass": "dvbMux"}
]}
{"boxid": "c9d572216d2e6fa6d3fa9284412e51a4ff049941",
"messages":
[
{"id": 8486,"start": 1361218420,"state": "Running","hostname": "192.168.1.14","title": "XBMC Media Center","channel": " 1 ","service": "s460/: 1 ,000 kHz Horizontal /1","errors": 0,"bw": 231219,"updateEntry": 1,
"notificationClass": "subscriptions"}
]}
{"boxid": "c9d572216d2e6fa6d3fa9284412e51a4ff049941",
"messages":
[
{"id": 8486,"start": 1361218420,"state": "Running","hostname": "192.168.1.14","title": "XBMC Media Center","channel": " 1 ","service": "s460/: 1 ,000 kHz Horizontal /1","errors": 0,"bw": 341639,"updateEntry": 1,
"notificationClass": "subscriptions"},
{"id": "_dev_dvb_adapter0_Conexant_CX24116_CX241 000_H_satconf_1","onid": 83,
"notificationClass": "dvbMux"}]}
{"boxid": "c9d572216d2e6fa6d3fa9284412e51a4ff049941",
"messages":
[{"id": "_dev_dvb_adapter0_Conexant_CX24116_CX241 000_H_satconf_1","quality": 100,"signal": 60992,"ber": 0,"unc": 0,
"notificationClass": "dvbMux"},
{"identifier": "_dev_dvb_adapter0_Conexant_CX24116_CX24118","signal": 93,"ber": 0,"unc": 0,"uncavg": 0,"bw": 8368632,
"notificationClass": "tvAdapter"},
{"id": 8486,"start": 1361218420,"state": "Running","hostname": "192.168.1.14","title": "XBMC Media Center","channel": " 1 ","service": "s460/: 1 ,000 kHz Horizontal /1","errors": 0,"bw": 447917,"updateEntry": 1,
"notificationClass": "subscriptions"}]}
{
"boxid":"91c86bf2ec773dcb1f8ed047c1b8ca0132d8fd7a",
"messages":[
{
"notificationClass":"logmessage",
"logtxt":"Mar 02 00:38:27 Service: Subscription \"192.168.1.200 [ XBMC Media Center ]\": Skipping \"TBS 6981 port2/000 kHz Horizontal (Pot)/\" -- Quality below 10%"
}
]
}