diff --git a/src/components/VideoPlayer/SponsorBlockTask.bs b/src/components/VideoPlayer/SponsorBlockTask.bs index d941563d..dde52033 100644 --- a/src/components/VideoPlayer/SponsorBlockTask.bs +++ b/src/components/VideoPlayer/SponsorBlockTask.bs @@ -22,4 +22,3 @@ function TaskMain() barPath: barPath }) end function - diff --git a/src/components/VideoPlayer/VideoPlayer.bs b/src/components/VideoPlayer/VideoPlayer.bs index de923ce6..c98d5379 100644 --- a/src/components/VideoPlayer/VideoPlayer.bs +++ b/src/components/VideoPlayer/VideoPlayer.bs @@ -14,7 +14,7 @@ function FindTimeLabel() as object children = m.top.trickPlayBar.getChildren(m.top.trickPlayBar.getChildCount(), 0) label = invalid for each child in children - ' It's very unfortunate to have to find a label with 0:00 text, + ' It's very unfortunate to have to find a label with 0:00 text, ' and that's on the left side of the screen. This might need completely custom trickPlayBar if child.isSubtype("Label") and child.text = "0:00" if label = invalid diff --git a/src/source/utils/TimeUtils.bs b/src/source/utils/TimeUtils.bs index 76f9a439..eae77b2e 100644 --- a/src/source/utils/TimeUtils.bs +++ b/src/source/utils/TimeUtils.bs @@ -57,7 +57,7 @@ namespace TimeUtils else if tokens.Count() = 2 minutes = tokens[0].ToInt() seconds = tokens[1].ToInt() - end if + end if return hours * 3600 + minutes * 60 + seconds end function