Bug fixes
This commit is contained in:
1 parent
6b47440cb5
commit
26ed985ecc
3 files changed
+19
-1
No files matched your search
@@ -36,6 +36,16 @@ function VideoContentTask(input as object) as object
|
||||
contentNode.secondaryTitle = metadata.author
|
||||
contentNode.live = metadata.liveNow
|
||||
|
||||
if IsString(metadata.error)
|
||||
' Adding metadata allows us to play next recommended video after displaying the error
|
||||
contentNode.addFields({ metadata: metadata })
|
||||
|
||||
return {
|
||||
success: false
|
||||
error: metadata.error
|
||||
}
|
||||
end if
|
||||
|
||||
streamUrls = CreateStreamUrls(metadata, service, preferencesNode, playletServerPort)
|
||||
contentNode.url = streamUrls[0]
|
||||
|
||||
|
||||
Reference in new issue
Block a user