From 05b7b37366c8cc2fa1d075e56b74366f1c905ea4 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 13 Dec 2023 05:26:57 +0000 Subject: [PATCH] add audio format --- html/poketube.ejs | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 405df169..8620400a 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1012,7 +1012,13 @@ display: block; !important;" autoplay controls> ImmersiveAmbientModecolor: <% if (lightOrDark(color) == "light") { %><%=color%> (color 1)<% } %><% if (lightOrDark(color) == "dark") { %> <%=color2%> (color 2) <% } %>
Video Format :<% if (!qua) { %> 22 (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz <% } %> <% if (qua === "medium") { %> 18 (320p) openh264 (https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz <% } %>
- PokeTubeEncryptID: <%=sha384(inv_vid.videoId)%>
+ <% if (inv_vid.genre === "Music") { %> + Audio Format: ALAC lossless (https://codeberg.org/Ashley/poke/src/branch/main/alac) Audio/ Flac
+ <% } %> + <% if (inv_vid.genre !== "Music") { %> + Audio Format: Opus - Normalized audio
+ <% } %> + PokeTubeEncryptID: <%=sha384(inv_vid.videoId)%>
<% if (isvidious) { %> Proxy : <%= u.replace("https://","") %> - refresh the page to change the proxy location
@@ -1054,7 +1060,8 @@ display: block; !important;" autoplay controls>
 Lossless
<% } %> - <% if (inv_vid.genre !== "Music") { %> + + <% if (inv_vid.genre !== "Music") { %> Jump to Connections <% } %> @@ -2576,6 +2583,12 @@ the channels social media accounts! Video Format :<% if (!qua) { %> 22 (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz <% } %> <% if (qua === "medium") { %> 18 (320p) openh264 (https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz <% } %>
PokeTubeEncryptID: <%=sha384(inv_vid.videoId)%>
+ <% if (inv_vid.genre === "Music") { %> + Audio Format: ALAC lossless (https://codeberg.org/Ashley/poke/src/branch/main/alac) Audio/ Flac
+ <% } %> + <% if (inv_vid.genre !== "Music") { %> + Audio Format: Opus - Normalized audio
+ <% } %> <% if (isvidious) { %> Proxy : <%= u.replace("https://","") %> - refresh the page to change the proxy location