[Part 2] Innertube (#513)
* Parse author in videoRenderer * Parse more fields * Parse live badge * playlist video count * Parse more things * parse playlists and albums * More parsing work * announcement and changelog * Lint fix --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
9f3eee900f
commit
bed8223e76
16 files changed
+444
-37
No files matched your search
@@ -5,8 +5,8 @@ namespace TimeUtils
|
||||
' Helper function convert seconds to [hh:]mm:ss format
|
||||
' GetFormattedTime(138) returns 2:18
|
||||
function GetFormattedTime(length as dynamic) as string
|
||||
if length = invalid or length < 0
|
||||
return "0:00"
|
||||
if length = invalid or length <= 0
|
||||
return ""
|
||||
end if
|
||||
|
||||
hours = length \ 3600
|
||||
|
||||
Reference in new issue
Block a user