#loadType is always empty!

1 messages · Page 1 of 1 (latest)

valid gorge
#

as i said in the title, my loadType when trying to search tracks is always empty, im not sure how to fix this or really what is wrong

#

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

valid gorge
#

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

valid gorge
#

@glossy crow hey sorry for the ping but its been a little while, didnt know if you were checking

glossy crow
valid gorge
#

ah okay

#

and here

#

you can take a look at this if youd like

#

how exactly do i add a plugin?

glossy crow
#

u can plugins like this . lavalink will automatically download them at startup

valid gorge
#

oh thank you

glossy crow
valid gorge
#

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

valid gorge
glossy crow
valid gorge
#

okay thank you

#

ah yes that most definetly worked

#

thank you alot!

valid gorge
glossy crow
valid gorge
#

ahh gotcha

#

so if its a link

#

no ytsearch

#

if it is a link i have that "ytsearch"

#

yes?

glossy crow
# valid gorge if it is a link i have that "ytsearch"

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