From def9958066c9549b73927ebb22c94e3f71a9d559 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 2 Apr 2023 16:47:02 +0000 Subject: [PATCH] fix channels in lts version --- html/channel.ejs | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/html/channel.ejs b/html/channel.ejs index 8dc71c9..d3739e3 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -631,13 +631,17 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< <% } %> <% } %> - <% if (Array.isArray(stream.videos)) { %> + <% if (Array.isArray(stream.videos)) { %> + <% if (stream.videos[0]) { %> + <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> - + + <% } %> + Community About @@ -812,15 +816,12 @@ width: fit-content;
<% if (!isMobile) { %>