Page 1 of 1

Capturing Directv Feedback

Posted: Fri Sep 21, 2018 11:34 am
by mborner
Has anybody successfully captured Directv feedback? I've got most of the ones I need working but I can't seem to extract the song title from the query.
It appears that Directv has two different feedback query's, one for regular channels and a separate one for music channels. The problem I'm having is, Directv has a feedback called "title": in both. I can't figure out how Directv differentiates between both "title":'s.

Here's what I'm getting from Directv for standard channels:

{
"callsign": "HALLHD",
"date": "20120214",
"duration": 1800,
"episodeTitle": "Adrenaline",
"isOffAir": false,
"isPclocked": 3,
"isPpv": false,
"isRecording": false,
"isVod": false,
"major": 312,
"minor": 65535,
"offset": 392,
"programId": "35695900",
"rating": "TV-PG",
"startTime": 1530223200,
"stationId": 6580971,
"status": {
"code": 200,
"commandResult": 0,
"msg": "OK.",
"query": "/tv/getTuned"
},
"title": "Last Man Standing"
}

and here's what I'm getting for music channels:

{
"callsign": "MC80",
"duration": 86400,
"isOffAir": false,
"isPclocked": 3,
"isPpv": false,
"isRecording": false,
"isVod": false,
"major": 805,
"minor": 65535,
"music": {
"by": "Heart",
"cd": "Heart (1985)",
"title": "Never"
},
"offset": 54730,
"programId": "75965746",
"rating": "TV-14",
"startTime": 1537264800,
"stationId": 2872154,
"status": {
"code": 200,
"commandResult": 0,
"msg": "OK.",
"query": "/tv/getTuned"
},
"title": "'80s"
}

I had song title working but Directv changed their feedback pattern and it stopped working. Does anybody have any ideas?