Small cleanup on content nodes

This commit is contained in:
Brahim Hadriche committed 2023-11-13 22:00:25 -05:00
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)