#What is the version for the LavaLyrics plugin?
1 messages · Page 1 of 1 (latest)
Snapshot builds are available in https://maven.lavalink.dev/snapshots with the short commit hash as the version
if I put this in "951969e" as version, it throws an error:
i changed it already to true, same thing
add respository: https://maven.topi.wtf/snapshots for now
should be a full release later this week
okay
and make sure you are running https://github.com/lavalink-devs/Lavalink/commit/78c090c4a44860cfee781ee20e1db391b169a7ce
else it won't work
yeah that's not gonna work
use the latest dev branch + the new youtube source plugin
you also need https://github.com/topi314/LavaSrc/tree/patch/lyrics
youtube source plugin is different from "youtube plugin"? or are they the same thing
its the same
okay now maybe a stupid question, but how do I get the dev version to a .jar file to execute?
.
click the green checkmark
each lavalink commit gets built
the bottom details has a link to download it
¯_(ツ)_/¯
so I have the lavasrc plugin installed as a .jar in the plugin folder by using the 4.0.1 release from jan 1
but you commited changes yesterday
I guess same thing with https://github.com/topi314/LavaSrc/commit/bedd0b93a4ee67449d826c782ad4876f98a2e34f
and the green checkmark
since this is all still pre-release you havw to add the lavasrc snapshot too
just add lavasrc in your application.yml
set version to the last short commit hash in that branch
and set snapshot to true
{
"lavalink-v4-node-3": {
"version": {
"semver": "78c090c4a44860cfee781ee20e1db391b169a7ce-SNAPSHOT",
"major": 0,
"minor": 0,
"patch": 0,
"preRelease": ""
},
"buildTime": 1714298390637,
"git": {
"branch": "dev",
"commit": "78c090c",
"commitTime": 1714298293000
},
"jvm": "17.0.11",
"lavaplayer": "2.1.1",
"sourceManagers": [
"soundcloud",
"bandcamp",
"twitch",
"vimeo",
"getyarn.io",
"clypit",
"speak",
"pornhub",
"reddit",
"ocremix",
"tiktok",
"mixcloud",
"soundgasm",
"spotify",
"applemusic",
"deezer",
"flowery-tts",
"youtube",
"http"
],
"filters": [
"volume",
"equalizer",
"karaoke",
"timescale",
"tremolo",
"vibrato",
"distortion",
"rotation",
"channelMix",
"lowPass"
],
"plugins": [
{
"name": "lavasearch-plugin",
"version": "1.0.0"
},
{
"name": "DuncteBot-plugin",
"version": "1.7.0"
},
{
"name": "lavasrc-plugin",
"version": "bedd0b9"
},
{
"name": "sponsorblock-plugin",
"version": "3.0.0"
},
{
"name": "lavalyrics-plugin",
"version": "951969e"
},
{
"name": "youtube",
"version": "1.0.5"
}
]
}
}
see version here
I updated to all the latest stuff yesterday too
so
- remove in plugins/ folder the lavasrc plugin
- add this:
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:bedd0b9"
repository: "https://maven.lavalink.dev/releases"
snapshot: true
without repository
why? what changes if I dont
because that plugin is already in the standard lavalink plugin repo
lavalyrics not since it's unreleased
okay
(it will be once lavalink v4.0.5 hits)
okay it works now.
Thank you so much
let me know if stuff breaks so I can fix those before a full release
smol question
what is encodedTrack
like do I first need to search for the song
is it something like this?
QAABAgMAEU5hc2hlZWxpIEFhbmtoZWluADNTYWNoZXQgLSBQYXJhbXBhcmEsIFNhY2hldCBUYW5kb24sIFBhcmFtcGFyYSBUYW5kb24AAAAAAAILcAAISDZ6MDNCZ18AAQA7aHR0cHM6Ly93d3cuamlvc2Fhdm4uY29tL3NvbmcvbmFzaGVlbGktYWFua2hlaW4vT0Y0UkFVZHlVR3cBAFJodHRwczovL2Muc2Fhdm5jZG4uY29tLzU1MS9OYXNoZWVsaS1BYW5raGVpbi1IaW5kaS0yMDE5LTIwMTkwMzI2MDk0NjAyLTUwMHg1MDAuanBnAAAIamlvc2Fhdm4AAAAAAAAAAA==
yes
eh what do I do with this:
timestamp: 1714390936445,
status: 500,
error: 'Internal Server Error',
message: 'Request processing failed: java.lang.IllegalArgumentException: Spotify spDc must be set',
path: '/v4/lyrics'
what is "Spotify spDc"
path: '/v4/lyrics?track=QAACQwMAJFN1YnN0aXR1dGlvbiAoZmVhdC4gSnVsaWFuIFBlcnJldHRhKQAUUHVycGxlIERpc2NvIE1hY2hpbmUAAAAAAALE5QAWMkYycDdiNVhxMjBtUnlFZVdZYWVVRgABADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vdHJhY2svMkYycDdiNVhxMjBtUnlFZVdZYWVVRgEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTZkMDAwMGIyNzNhOGJjZjhmYWM4NTIwYWMyY2JmNzJlYTcBAAxERUU4NjIzMDAwOTMAB3Nwb3RpZnkBACRTdWJzdGl0dXRpb24gKGZlYXQuIEp1bGlhbiBQZXJyZXR0YSkBADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vYWxidW0vNHlaTUFQSTJOYXpLYlBieXN0RTZENwEANmh0dHBzOi8vb3Blbi5zcG90aWZ5LmNvbS9hcnRpc3QvMldCSlFHZjFiVDFreHVvcXppSDVnNAEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTYxMDAwMGU1ZWIxMTk3ZTEzNjg5NDYzYzgxZjg4NTkyOTQBAGtodHRwczovL3Auc2Nkbi5jby9tcDMtcHJldmlldy8xMWYzZjgyZTM5YjVmZGJhOTU4YTI1YTEwZDZjOGQyMmU2YmRhYjhjP2NpZD0yNDc3M2VlNDUyZDY0MTNmOGJmMTJhMzg1OTJkMzc1NgAAAAAAAAAAAA==&skipTrackSource=false'
ah okay
okay that fixed the spDc error
now I get
error: 'Internal Server Error',
message: 'Request processing failed: java.lang.IllegalArgumentException: Illegal base64 character 20',
for another song
throw your track into /decode
error while decoding track: failed to read track flags: unexpected EOF
error while decoding track: invalid base64: illegal base64 data at input byte 5
well that's not an encoded track
do you want me to use /decode with a encoded track
because I search for tracks using the link of the song
then I use the first result[0].track
which I pass in there GET lyrics
then make sureyou actually get a track back from search
wait it is possible to NOT get a track back?
track was encoded with version: 3
{
"encoded": "QAACQwMAJFN1YnN0aXR1dGlvbiAoZmVhdC4gSnVsaWFuIFBlcnJldHRhKQAUUHVycGxlIERpc2NvIE1hY2hpbmUAAAAAAALE5QAWMkYycDdiNVhxMjBtUnlFZVdZYWVVRgABADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vdHJhY2svMkYycDdiNVhxMjBtUnlFZVdZYWVVRgEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTZkMDAwMGIyNzNhOGJjZjhmYWM4NTIwYWMyY2JmNzJlYTcBAAxERUU4NjIzMDAwOTMAB3Nwb3RpZnkBACRTdWJzdGl0dXRpb24gKGZlYXQuIEp1bGlhbiBQZXJyZXR0YSkBADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vYWxidW0vNHlaTUFQSTJOYXpLYlBieXN0RTZENwEANmh0dHBzOi8vb3Blbi5zcG90aWZ5LmNvbS9hcnRpc3QvMldCSlFHZjFiVDFreHVvcXppSDVnNAEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTYxMDAwMGU1ZWIxMTk3ZTEzNjg5NDYzYzgxZjg4NTkyOTQBAGtodHRwczovL3Auc2Nkbi5jby9tcDMtcHJldmlldy8xMWYzZjgyZTM5YjVmZGJhOTU4YTI1YTEwZDZjOGQyMmU2YmRhYjhjP2NpZD0yNDc3M2VlNDUyZDY0MTNmOGJmMTJhMzg1OTJkMzc1NgAAAAAAAAAAAA==",
"info": {
"identifier": "2F2p7b5Xq20mRyEeWYaeUF",
"author": "Purple Disco Machine",
"length": 181477,
"isStream": false,
"title": "Substitution (feat. Julian Perretta)",
"uri": "https://open.spotify.com/track/2F2p7b5Xq20mRyEeWYaeUF",
"sourceName": "spotify",
"position": 0,
"artworkUrl": "https://i.scdn.co/image/ab67616d0000b273a8bcf8fac8520ac2cbf72ea7",
"isrc": "DEE862300093"
},
"pluginInfo": {
"albumName": "Substitution (feat. Julian Perretta)",
"albumUrl": "https://open.spotify.com/album/4yZMAPI2NazKbPbystE6D7",
"artistUrl": "https://open.spotify.com/artist/2WBJQGf1bT1kxuoqziH5g4",
"artistArtworkUrl": "https://i.scdn.co/image/ab6761610000e5eb1197e13689463c81f8859294",
"previewUrl": "https://p.scdn.co/mp3-preview/11f3f82e39b5fdba958a25a10d6c8d22e6bdab8c?cid=24773ee452d6413f8bf12a38592d3756",
"isPreview": false
},
"userData": {}
}
that one is fine
yes that one worked for me 2
and the one which does not?
the encoded track
track was encoded with version: 3
{
"encoded": "QAAB+wMABUZhZGVkAANaSFUAAAAAAANo+AAWMkdRRU05SnVIdTMwc0dGdlJZZUN4egABADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vdHJhY2svMkdRRU05SnVIdTMwc0dGdlJZZUN4egEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTZkMDAwMGIyNzNhNWFhN2JlYWRiYzFmOTNkMGVjMDFmMjMBAAxVU1NNMTE0MDU2NjAAB3Nwb3RpZnkBAAxUSEUgTklHSFREQVkBADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vYWxidW0vNTlpck0zaFNzWDlLcGozMXJKbnNIYwEANmh0dHBzOi8vb3Blbi5zcG90aWZ5LmNvbS9hcnRpc3QvMjhqOGxCV0RkRFNIU1N0NW9QbHNYMgEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTYxMDAwMGU1ZWI4ZTliNDA2YjlhNWExMjBiZjZmYjRkMjEBAGtodHRwczovL3Auc2Nkbi5jby9tcDMtcHJldmlldy83N2ExYWMxY2QzOTMwMTkyNjg4ZmMyM2JkYzI3MWM0NzIwNzE2NDE0P2NpZD0yNDc3M2VlNDUyZDY0MTNmOGJmMTJhMzg1OTJkMzc1NgAAAAAAAAAAAA==",
"info": {
"identifier": "2GQEM9JuHu30sGFvRYeCxz",
"author": "ZHU",
"length": 223480,
"isStream": false,
"title": "Faded",
"uri": "https://open.spotify.com/track/2GQEM9JuHu30sGFvRYeCxz",
"sourceName": "spotify",
"position": 0,
"artworkUrl": "https://i.scdn.co/image/ab67616d0000b273a5aa7beadbc1f93d0ec01f23",
"isrc": "USSM11405660"
},
"pluginInfo": {
"albumName": "THE NIGHTDAY",
"albumUrl": "https://open.spotify.com/album/59irM3hSsX9Kpj31rJnsHc",
"artistUrl": "https://open.spotify.com/artist/28j8lBWDdDSHSSt5oPlsX2",
"artistArtworkUrl": "https://i.scdn.co/image/ab6761610000e5eb8e9b406b9a5a120bf6fb4d21",
"previewUrl": "https://p.scdn.co/mp3-preview/77a1ac1cd3930192688fc23bdc271c4720716414?cid=24773ee452d6413f8bf12a38592d3756",
"isPreview": false
},
"userData": {}
}
make sure your query params are url encoded
[
{
track: 'QAAB+wMABUZhZGVkAANaSFUAAAAAAANo+AAWMkdRRU05SnVIdTMwc0dGdlJZZUN4egABADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vdHJhY2svMkdRRU05SnVIdTMwc0dGdlJZZUN4egEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTZkMDAwMGIyNzNhNWFhN2JlYWRiYzFmOTNkMGVjMDFmMjMBAAxVU1NNMTE0MDU2NjAAB3Nwb3RpZnkBAAxUSEUgTklHSFREQVkBADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vYWxidW0vNTlpck0zaFNzWDlLcGozMXJKbnNIYwEANmh0dHBzOi8vb3Blbi5zcG90aWZ5LmNvbS9hcnRpc3QvMjhqOGxCV0RkRFNIU1N0NW9QbHNYMgEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTYxMDAwMGU1ZWI4ZTliNDA2YjlhNWExMjBiZjZmYjRkMjEBAGtodHRwczovL3Auc2Nkbi5jby9tcDMtcHJldmlldy83N2ExYWMxY2QzOTMwMTkyNjg4ZmMyM2JkYzI3MWM0NzIwNzE2NDE0P2NpZD0yNDc3M2VlNDUyZDY0MTNmOGJmMTJhMzg1OTJkMzc1NgAAAAAAAAAAAA==',
title: 'Faded',
author: 'ZHU',
duration: 223480,
uri: 'https://open.spotify.com/track/2GQEM9JuHu30sGFvRYeCxz',
requester: '337568120028004362'
}
]
eh url encoded?
you can't just put any character into query params
they need to be encoed properly
i use a string for the song
and if the string is not a spotify track I return
how do you make the request to /v4/lyrics?
what is endpoint?
yeah that's not at all correctly encoded
so how do I correctly encode it first
i don't use js
okay but the problem is that the track property of "Faded - ZHU" is somehow different that the one from "Purple Disco Machine -Substitution"
what is different from what?
I dont understand why the song "Purple Disco Machine -Substitution" works
but faded not
because you don't url encode your query params
and the later has a + which maps to a space
so it fucks up the whole thing
okay now for dummies.
What exactly do you mean with url encode my query params
somewhat but not good
ya
key=value&key2=value2
how do you think it knows when a new kv pair comes
and the value ueses a &
right it encodes the & in the value to something different
ye like %20
yes
you just throw the raw encoded track in the url and hope for the best
and it clearly doesn't work
rather here
add it where then?
when you make the url
okay
Well so I ran this version and I am getting the YouTube video is not what it was requested for errors...
What should I do?
I think I only have two options:
A: Use the version mentioned in the pinned forum
B: Wait for the full release
right?
Read the common issues thread
No need to wait for the next lavalink release the since the fix was released in a plugin
if I use the version which is linked in the common issues thread, I cannot use the lavalyrics plugin
Use this jar - it's a jar from branch dev that already has changes to use lavaryrics from Topi
https://repo.lavalink.dev/artifacts/lavalink/78c090c4/Lavalink.jar
thats then one I am getting the issues with
I even got the youtube-source plugin on there
idk why my lavalink log is 65mb but I cannot upload it here on discord..
So here is the google drive link instead 🤷♂️
So use the YouTube plugin instead
I am using these plugins:
plugins:
- dependency: com.github.topi314.lavasrc:lavasrc-plugin:bedd0b9
snapshot: true
- dependency: com.github.lavalink-devs.lavaplayer-youtube-source:plugin:1.0.5
repository: https://jitpack.io
- dependency: com.github.topi314.lavalyrics:lavalyrics-plugin:951969e
repository: https://maven.topi.wtf/snapshots
snapshot: true
- sponsorblock-plugin-3.0.0.jar
is also there
Change to
plugins:
- dependency: com.github.topi314.lavasrc:lavasrc-plugin:d35f893
snapshot: true
- dependency: com.github.lavalink-devs.lavaplayer-youtube-source:plugin:1.0.6
repository: https://jitpack.io
- dependency: com.github.topi314.lavalyrics:lavalyrics-plugin:951969e
repository: https://maven.topi.wtf/snapshots
snapshot: true
And see if it changes anything
still same issue
i deleted the logs and restarted the server, maybe the logs are now not so huge in file size 🤷♂️
You may have tried IP rotation?
Because it looks like something in common issues to me
no, not yet.
The problem I have is that my hosting is not providing vps servers atm. and they offer lavalink hosting but I dont have access to use ip rotation.
I contacted them about it though
This YouTube is spoiling all our work and it's the biggest pain, unfortunately