mirror of
https://codeberg.org/ashley/poke
synced 2025-04-06 09:38:00 +00:00
real :p
This commit is contained in:
parent
548baf9202
commit
815a40bc89
@ -445,6 +445,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
const c = await channel.text();
|
const c = await channel.text();
|
||||||
const tj = JSON.parse(modules.toJson(c));
|
const tj = JSON.parse(modules.toJson(c));
|
||||||
|
|
||||||
|
try {
|
||||||
// info
|
// info
|
||||||
const song = await musicInfo.searchSong(
|
const song = await musicInfo.searchSong(
|
||||||
{
|
{
|
||||||
@ -457,7 +458,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
if (!song) {
|
if (!song) {
|
||||||
res.redirect(`/watch?v=${v}`);
|
res.redirect(`/watch?v=${v}`);
|
||||||
}
|
}
|
||||||
try {
|
|
||||||
const lyrics = await lyricsFinder(song.artist + song.title);
|
const lyrics = await lyricsFinder(song.artist + song.title);
|
||||||
if (lyrics == undefined)
|
if (lyrics == undefined)
|
||||||
ly = "This Is Where I'd Put The songs lyrics. IF IT HAD ONE ";
|
ly = "This Is Where I'd Put The songs lyrics. IF IT HAD ONE ";
|
||||||
|
Loading…
Reference in New Issue
Block a user