Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions components/Scenes/ChannelPage/ChannelPage.brs
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,20 @@ function buildContentNodeFromShelves(inputData)
if stream.slug <> invalid
rowItem.contentType = "CLIP"
rowItem.clipSlug = stream.slug
rowItem.contentTitle = stream.title
rowItem.viewersCount = stream.viewCount
rowItem.datePublished = stream.createdAt
else
rowItem.contentType = "VOD"
rowItem.contentTitle = stream.vodTitle
rowItem.viewersCount = stream.vodViewCount
rowItem.datePublished = stream.vodCreatedAt
end if
if stream.previewThumbnailURL <> invalid
rowItem.previewImageURL = Left(stream.previewThumbnailURL, len(stream.previewThumbnailURL) - 20) + "320x180." + Right(stream.previewThumbnailURL, 3)
else if stream.thumbnailURL <> invalid
rowItem.previewImageURL = stream.thumbnailURL
end if
rowItem.contentTitle = stream.title
rowItem.viewersCount = stream.viewCount
rowItem.streamerDisplayName = m.top.contentRequested.streamerDisplayName
rowItem.streamerLogin = m.top.contentRequested.streamerLogin
rowItem.streamerId = m.top.contentRequested.streamerId
Expand Down
Loading