From 9efbac3d158420f4f69dcb5879cade2e2723c3eb Mon Sep 17 00:00:00 2001 From: piuvas Date: Sat, 21 Dec 2024 12:55:44 -0300 Subject: [PATCH] make 0-length videos not shorts. --- Model/Applications/InvidiousAPI.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Applications/InvidiousAPI.swift b/Model/Applications/InvidiousAPI.swift index edb854a9..1594a860 100644 --- a/Model/Applications/InvidiousAPI.swift +++ b/Model/Applications/InvidiousAPI.swift @@ -498,7 +498,7 @@ final class InvidiousAPI: Service, ObservableObject, VideosAPI { indexID: indexID, live: json["liveNow"].boolValue, upcoming: json["isUpcoming"].boolValue, - short: length <= Video.shortLength, + short: length <= Video.shortLength && length != 0.0, publishedAt: publishedAt, likes: json["likeCount"].int, dislikes: json["dislikeCount"].int,