How to use lyrics system?
Iām trying to use Moonlinkās lyrics feature with the "lavalyrics" provider, but every time I call getLyrics() it returns null and I see a bunch of errors in Lavalinkās logs. Could you help me figure out what Iām missing?
1. Environment
- Node.js: v22.13.0
- moonlink (npm pkg): v4.52.2
- Lavalink: v4.1.1
- LavaLyrics: v1.0.0
2. Code Snippet
67 Replies
3. Lavalink Error Message
if i call <Manager>.searchLyrics method, it returns [] and no errors in lavalink logs
Use lyrics.tk or java lyrics
Lavalyrics is broken because of Spotify
From lavasrc that needs to do a lot of things
GitHub
moonlink.js/testBot/commands/music/lyrics.js at v4 Ā· Ecliptia/moon...
MoonLink.js is a simple package for lavalink client, perfect for you to create your discord bot with songs, and very simple and easy to use. - Ecliptia/moonlink.js
GitHub
moonlink.js/testBot/commands/music/subscribelyrics.js at v4 Ā· Ecli...
MoonLink.js is a simple package for lavalink client, perfect for you to create your discord bot with songs, and very simple and easy to use. - Ecliptia/moonlink.js
It can also help you make the logic
ahh i see i will try
GitHub
GitHub - DRSchlaubi/lyrics.kt: A Lyrics finder for Lavaplayer/Laval...
A Lyrics finder for Lavaplayer/Lavalink and Kotlin - DRSchlaubi/lyrics.kt
Is this the lyrics.kt you are talking about ?
Yes
but getLyrics method still returns null, and the searchLyrics method returns [].
https://github.com/DuncteBot/java-timed-lyrics
And when I proceeded with this plugin, I saw that the LavaLink server was not starting up at all
GitHub
GitHub - DuncteBot/java-timed-lyrics: Lyrics plugin for lavalink
Lyrics plugin for lavalink. Contribute to DuncteBot/java-timed-lyrics development by creating an account on GitHub.
Java-timed-lyrics conflicts with lavalyrics
Remove the dependency and delete the plugins folder
And Java-timed-lyrics conflicts with lyrics.tk after the devs had the brilliant idea of using the same endpoints
oh okay i will try later
When I use the Java-timed-lyrics plugin, it says the song lyrics are not found, and when I use lyrics.kt, nothing happens (search results are either null or []).
:sobbbbb:
I'm going to turn on my laptop, Discord mobile is very buggy
okayy
java-lyrics-plugin
You have to clear the title, it has to be just the title
For example
?play Oficial Lyrics Golden Hour Video
ā You need to join a voice channel first!
?Lyrics Oficial Lyrics Golden Hour Video
ā¹ļø Lyrics for golden hour
āŖ
It was just two lovers
Sittin' in the car, listenin' to Blonde
Fallin' for each other
Pink and orange skies, feelin' super childish
No Donald Glover, missed call from my mother
Like, "Where you at tonight?" Got no alibi
I was all alone with the love of my life
She's got glitter for skin, my radiant beam in the night
I don't need no light to see you
Shine
It's your golden hour (oh)
You slow down time
In your golden hour (oh)
We were just two lovers
Feet up on the dash, drivin' nowhere fast
Burnin' through the summer
Radio on blast, make the moment last
She got solar power, minutes feel like hours
She knew she was the baddest, can you even imagine
Fallin' like I did for the love of my life?
She's got glow on her face, a glorious look in her eyes
My angel of light
I was all alone with the love of my life
She's got glitter for skin, my radiant beam in the night
I don't need no light to see you
Shine
It's your golden hour (oh)
You slow down time
In your golden hour (oh)
Page 1/1 | Source: Musixmatch | Provider: Unknown
1 sec
Ainda achou pq tem um limpador interno
Still found it because it has an internal cleaner
But you have to separate the terms
umm.. :sobbbbb:
my bad?
?eval let a = (async() => {const fullLyrics = await moonlink.manager.searchLyrics({
query: "Oficial Lyrics Golden Hour Video",
provider: "java-lyrics-plugin"
});
return fullLyrics
})
a()
ā Eval Error
Input
Error
Executed by 1lucas1.apk
?eval let a = (async() => {const fullLyrics = await client.manager.searchLyrics({
query: "Oficial Lyrics Golden Hour Video",
provider: "java-lyrics-plugin"
});
return fullLyrics
})
a()
ā
Eval Result
Input
Output
Executed by 1lucas1.apk
:shy:
Which version are you using?
java lyrics plugin?
Yeah
me.duncte123:java-lyrics-plugin:1.6.6
1.6.6
When I try to use the getLyrics method... i get this error...
GG @Jasper, you just advanced to level 7!
try using my configuration
okay
just put the refreshToken back correctly
yes sir
It still returns a null value or a [] value
?eval let a = (async() => {const fullLyrics = await client.manager.searchLyrics({
query: "Oficial Lyrics Golden Hour Video",
provider: "java-lyrics-plugin"
});
return fullLyrics
})
JSON.stringify(a())
ā
Eval Result
Input
Output
Executed by 1lucas1.apk
?eval let a = (async() => {const fullLyrics = await client.manager.searchLyrics({
query: "Oficial Lyrics Golden Hour Video",
provider: "java-lyrics-plugin"
});
return fullLyrics
})
a()
ā
Eval Result
Input
Output
Executed by 1lucas1.apk
?eval let a = (async() => {const fullLyrics = await client.manager.searchLyrics({
query: "Oficial Lyrics Golden Hour Video",
provider: "java-lyrics-plugin"
});
return fullLyrics
})
a()[0]
ā
Eval Result
Input
Output
Executed by 1lucas1.apk
Does any error appear at startup?
umm.. no?
Show me all the logs as far as they appear after the lyrics request
moonlink too
all logs
okay
impossible to find a problem with 1 line
of log
lavalink
my source log
try without the client, using curl or postaman or alternatives
http://localhost:2333/v4/lyrics/search?query=Oficial+Lyrics+Golden+Hour+Video

nothing
Don't have a password?
ah
1 sec

return
[]
oh now I don't know, it doesn't show any error or anything
try to look for support on the lavalink server showing these logs
e o postman
+ moonlink
OKAY! Thank you for your time :happypepe:
try there plugin dev it must be on the server and should respond