From acfa9c2d203c49c7474a318bce696a9f74e1ef85 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 27 Aug 2022 15:39:21 +0200 Subject: [PATCH] add support for audio music --- html/poketube.ejs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index e8573c09..975c0d9d 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -299,18 +299,25 @@ border-radius: 5px; <% if (!video.Channel.Name.endsWith(' - Topic')) { %> + <% if (!video.Title.endsWith('Audio)')) { %> + Encryption - <% }%> - <% if (video.Channel.Name.endsWith(' - Topic')) { %> + <% }%> <% }%> + + <% if (video.Channel.Name.endsWith(' - Topic') || video.Title.endsWith('Audio)')) { %> + + <% if (video.Channel.Name.endsWith(' - Topic') || video.Title.endsWith('Audio)')) { %> Open In Music - <% }%> + <% }%> + <% }%> +