Small cleanup on content nodes
This commit is contained in:
1 parent
45da0880ba
commit
9f5a605e8f
4 files changed
+14
-16
No files matched your search
@@ -35,7 +35,6 @@ namespace InvidiousContent
|
||||
|
||||
SetIfExists(node, "author", item, "author")
|
||||
SetIfExists(node, "authorId", item, "authorId")
|
||||
SetIfExists(node, "hlsUrl", item, "hlsUrl")
|
||||
SetIfExists(node, "lengthSeconds", item, "lengthSeconds")
|
||||
node.lengthText = TimeUtils.GetFormattedTime(item.lengthSeconds)
|
||||
node.liveNow = VideoIsLive(item)
|
||||
|
||||
Reference in new issue
Block a user