From 7aa8181f6f03e0b1742e1af70a9393a6d59c594f Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 31 May 2024 11:08:45 +0000 Subject: [PATCH] add a check for artists --- html/poketube.ejs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 3d1ba06a..c347d0d7 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1670,7 +1670,14 @@ Recommended Videos <% } %>
- <%=x.author %> <% if (x?.authorVerified) { %> <% } %> + <%=x.author %> <% if (x?.authorVerified) { %> + <% if (x.title.toLowerCase().includes("official video") || x.title.toLowerCase().includes("official music video") || x.title.toLowerCase().includes("official audio")) { %> + + <% } else { %> + + <% } %> +<% } %> +