#loadType is always empty!
1 messages · Page 1 of 1 (latest)
im trying to make my own lavalink client because honestly why not and mostly everything has been pretty good up until now, kinda cant make a client if i cant even search tracks haha
i can send some of my code if that helps at all
Please @ me if you respond at all
post lavalink logs
the whole log file?
i had lavalink running for quite a litle while
i also tried searching using a url and just a title name
all same result as here
@glossy crow hey sorry for the ping but its been a little while, didnt know if you were checking
You’re probably missing some plugins, but without your application.yml file, I can’t be sure.
- For a URL, you don’t need to provide a search prefix like
ytsearch - Don't do this
"ytsearch:https://www.youtube.com/watch?v=w9NolimXXPc"
ah okay
and here
you can take a look at this if youd like
how exactly do i add a plugin?
disable lavaplayer default yt source manager
use youtube source plugin youtube source by adding youtube plugin to your yml
u can plugins like this . lavalink will automatically download them at startup
oh thank you
ive never really delved super deep into lavalink like this so most of this is pretty new, when i used it last i used an already made client
do i make that youtubesearchenabled to false?
yes set it to false
so with this disabled, does that mean if i wanna find tracks, i have to always have a url or?
nope u can do ytsearch: something
ahh gotcha
so if its a link
no ytsearch
if it is a link i have that "ytsearch"
yes?
if its a link u don't need to add ytsearch , ytmsearch , spsearch
u can directly pass the links loadtracks?identifier=https://youtube.com/watch/.....
to search something (loadsearch) u need to provide that source search prefix for eg. u want to search something on soundcloud then u have to pass the source search prefix
GET /v4/loadtracks?identifier=scsearch:chippin%20in%20samurai
if it is confusing u can check the lavalink docs