Watch history has video info (#524)

* Watch history has video info

* Lint fix

* Fix upcoming in watch history

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2024-12-26 13:14:59 -05:00
1 parent 1e28ee4e27
commit 83f867a21c
12 files changed
+239 -26

No files matched your search

@@ -177,7 +177,7 @@ namespace InvidiousContent
end function
function VideoIsUpcoming(videoItem as object) as boolean
return videoItem.isUpcoming = true and ValidInt(videoItem.premiereTimestamp) <> 0
return videoItem.isUpcoming = true
end function
function VideoSetPremiereTimestampText(node as object, videoItem as object) as void
@@ -185,8 +185,8 @@ namespace InvidiousContent
node.isUpcoming = true
timestamp = videoItem.premiereTimestamp
if timestamp = invalid
node.premiereTimestampText = "N/A"
if not IsInt(timestamp)
node.premiereTimestampText = ""
return
end if