Support DirecTV music channels with extended meta (#34228)
This commit is contained in:
parent
446c7349ff
commit
1f4cdda234
7 changed files with 167 additions and 3 deletions
12
tests/fixtures/directv/info-get-locations.json
vendored
12
tests/fixtures/directv/info-get-locations.json
vendored
|
@ -8,6 +8,18 @@
|
|||
"clientAddr": "2CA17D1CD30X",
|
||||
"locationName": "Client"
|
||||
},
|
||||
{
|
||||
"clientAddr": "A01234567890",
|
||||
"locationName": "Music Client"
|
||||
},
|
||||
{
|
||||
"clientAddr": "B01234567890",
|
||||
"locationName": "Standby Client"
|
||||
},
|
||||
{
|
||||
"clientAddr": "C01234567890",
|
||||
"locationName": "Restricted Client"
|
||||
},
|
||||
{
|
||||
"clientAddr": "9XXXXXXXXXX9",
|
||||
"locationName": "Unavailable Client"
|
||||
|
|
9
tests/fixtures/directv/info-mode-standby.json
vendored
Normal file
9
tests/fixtures/directv/info-mode-standby.json
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"mode": 1,
|
||||
"status": {
|
||||
"code": 200,
|
||||
"commandResult": 0,
|
||||
"msg": "OK",
|
||||
"query": "/info/mode"
|
||||
}
|
||||
}
|
28
tests/fixtures/directv/tv-get-tuned-music.json
vendored
Normal file
28
tests/fixtures/directv/tv-get-tuned-music.json
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"callsign": "MCSJ",
|
||||
"duration": 86400,
|
||||
"isOffAir": false,
|
||||
"isPclocked": 3,
|
||||
"isPpv": false,
|
||||
"isRecording": false,
|
||||
"isVod": false,
|
||||
"major": 851,
|
||||
"minor": 65535,
|
||||
"music": {
|
||||
"by": "Gerald Albright",
|
||||
"cd": "Slam Dunk (2014)",
|
||||
"title": "Sparkle In Your Eyes"
|
||||
},
|
||||
"offset": 15050,
|
||||
"programId": "76917562",
|
||||
"rating": "TV-PG",
|
||||
"startTime": 1584784800,
|
||||
"stationId": 2872196,
|
||||
"status": {
|
||||
"code": 200,
|
||||
"commandResult": 0,
|
||||
"msg": "OK.",
|
||||
"query": "/tv/getTuned"
|
||||
},
|
||||
"title": "Smooth Jazz"
|
||||
}
|
8
tests/fixtures/directv/tv-get-tuned-restricted.json
vendored
Normal file
8
tests/fixtures/directv/tv-get-tuned-restricted.json
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"status": {
|
||||
"code": 403,
|
||||
"commandResult": 1,
|
||||
"msg": "Forbidden.",
|
||||
"query": "/tv/getTuned"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue