Skip to content

Commit d548651

Browse files
authored
[AB#44954] Get playlists for channel (#161)
1 parent fc6dc10 commit d548651

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

.adops/pr-name-validation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ pr:
55
include:
66
- main
77

8+
variables:
9+
- group: github-automation
10+
811
jobs:
912
- job: VerifyPrName
1013
pool:
@@ -31,7 +34,7 @@ jobs:
3134
3235
# load pull request title from Github API
3336
url="https://api.github.com/repos/$orgRepo/pulls/$prNumber"
34-
curl -s -H "Authorization: token $GITHUB_TOKEN" $url > $prDetailsFile
37+
curl -s -H "Authorization: token $(GH_TOKEN)" $url > $prDetailsFile
3538
cat $prDetailsFile
3639
prTitle=$(cat $prDetailsFile | jq -r '.title')
3740
prUser=$(cat $prDetailsFile | jq -r '.user.login')

src/scenarios/catalog-consumption/ListCatalogItems/graphql-documents.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ export const getAllItemsQuery = gql`
3535
description
3636
dashStreamUrl
3737
hlsStreamUrl
38+
keyId
39+
playlists {
40+
nodes {
41+
id
42+
startDateTime
43+
endDateTime
44+
}
45+
}
3846
}
3947
}
4048
}
@@ -85,6 +93,28 @@ export const getAllChannelsQuery = gql`
8593
description
8694
dashStreamUrl
8795
hlsStreamUrl
96+
keyId
97+
playlists {
98+
nodes {
99+
id
100+
startDateTime
101+
endDateTime
102+
programs(orderBy: SORT_INDEX_ASC) {
103+
nodes {
104+
id
105+
sortIndex
106+
title
107+
movie {
108+
title
109+
}
110+
episode {
111+
title
112+
}
113+
id
114+
}
115+
}
116+
}
117+
}
88118
}
89119
}
90120
}

0 commit comments

Comments
 (0)