1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 08:14:38 -05:00

depracate old u,

This commit is contained in:
Ashley 2022-08-23 23:09:51 +02:00
parent a6e6abc78e
commit 57696caed0

View file

@ -365,18 +365,18 @@ app.get("/old/watch", async function (req, res) {
if (j_.URL != undefined) url = j_.URL;
const json = fetching.video.Player;
const engagement = fetching.engagement;
const lyrics = await lyricsFinder(json.Title);
if (lyrics == undefined) lyrics = "Lyrics not found";
renderTemplate(res, req, "poketube-old.ejs", {
const lyrics = ""
renderTemplate(res, req, "poketube-old.ejs", {
url: url,
color: await getColors(
`https://i.ytimg.com/vi/${v}/maxresdefault.jpg`
).then((colors) => colors[0].hex()),
engagement: engagement,
video: json,
date: "", //return ""
date: "see the new ui", //return ""
e: e,
lyrics: lyrics.replace(/\n/g, " <br> "),
lyrics: "none, see the new ui",
});
});