all repos — fixyoutube-go @ 5f9d33f75666cde5e6b40a48e034d0d9e6ade442

A better way to embed YouTube videos everywhere (inspired by FixTweet).

bug fix
Bi-Rabittoh andronacomarco@gmail.com
Mon, 15 Jan 2024 22:27:19 +0100
commit

5f9d33f75666cde5e6b40a48e034d0d9e6ade442

parent

413c0924f6aaecb20ff7b8e3e4e0a7b7f42dbd7d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M invidious/api.goinvidious/api.go

@@ -56,7 +56,7 @@ }

res.Expire = time.Unix(expireTimestamp, 0) vb, i := c.findCompatibleFormat(res) - if vb.Length <= 0 { + if i < 0 { logger.Warn("No compatible formats found for video.") res.Url = "" } else {