Skip to content

Commit

Permalink
[AB#44954] Get playlists for channel (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehelein authored Jul 1, 2024
1 parent fc6dc10 commit d548651
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .adops/pr-name-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ pr:
include:
- main

variables:
- group: github-automation

jobs:
- job: VerifyPrName
pool:
Expand All @@ -31,7 +34,7 @@ jobs:
# load pull request title from Github API
url="https://api.github.com/repos/$orgRepo/pulls/$prNumber"
curl -s -H "Authorization: token $GITHUB_TOKEN" $url > $prDetailsFile
curl -s -H "Authorization: token $(GH_TOKEN)" $url > $prDetailsFile
cat $prDetailsFile
prTitle=$(cat $prDetailsFile | jq -r '.title')
prUser=$(cat $prDetailsFile | jq -r '.user.login')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ export const getAllItemsQuery = gql`
description
dashStreamUrl
hlsStreamUrl
keyId
playlists {
nodes {
id
startDateTime
endDateTime
}
}
}
}
}
Expand Down Expand Up @@ -85,6 +93,28 @@ export const getAllChannelsQuery = gql`
description
dashStreamUrl
hlsStreamUrl
keyId
playlists {
nodes {
id
startDateTime
endDateTime
programs(orderBy: SORT_INDEX_ASC) {
nodes {
id
sortIndex
title
movie {
title
}
episode {
title
}
id
}
}
}
}
}
}
}
Expand Down

0 comments on commit d548651

Please sign in to comment.