#New to lavalink | Can someone help me out?

1 messages · Page 1 of 1 (latest)

solemn sail
#

uh, i even tried using await this.player.setGlobalVolume(1000); and the lavalink logs simply mention it connot connect to it... i am developing it here. ||dw the client secret is rotated, i am not dumb||

�2025-06-03T16:35:16.812Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.player.AudioLoaderRestHandler   : Loaded playlist Spotify Search: neefex
�2025-06-03T16:35:16.816Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : GET /v4/loadtracks?identifier=spsearch%3Aneefex
�2025-06-03T16:35:17.244Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : PATCH /v4/sessions/rkfzk7khruvxe515/players/896301214269063218?noReplace=false, payload={"volume":1000}
�2025-06-03T16:35:17.254Z  WARN 1 --- [Lavalink] [back-1-thread-1] t.l.m.DefaultMirroringAudioTrackResolver : Can not use spotify search as search provider!
2025-06-03T16:35:17.255Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : PATCH /v4/sessions/rkfzk7khru```
rose sable
#

this is wrong

solemn sail
#

oh, i pushed it to git for ya, should i send here again?

#

oo

rose sable
#
providers:
       - 'ytsearch:"%ISRC%"'
       - "ytsearch:%QUERY%" 
       - "scsearch:%QUERY%" 
       - "ymsearch:%QUERY%" 
       - "dzisrc:%ISRC%"
       - "dzsearch:%QUERY%" 
       - "ymsearch:%QUERY%" 
solemn sail
#

hmm

rose sable
#

try this

solemn sail
#

but then i am not supporting ytsearch

#

let me try and update here

rose sable
#

lavalink can't play directly from spotify. It mirror them from other sources.

resolving spotify track from spotify will create recursion

solemn sail
#

hmm

#

it did not work, as i thought.

#
�2025-06-03T16:59:00.379Z ERROR 1 --- [Lavalink] [  XNIO-1 task-2] l.server.player.AudioLoaderRestHandler   : Failed to load track

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong while looking up the track.
....

Caused by: com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Server responded with an error.
... 65 common frames omitted
Caused by: java.lang.IllegalStateException: Response code from channel info is 400
        ... 77 common frames omitted```
#

any chance u can join here? #1082302533332115540 - @rose sable

rose sable
solemn sail
#

oh

#

but then i only want spotify support 🤔 cause its simple

rose sable
#

if u want spotify then there should be a source which can play spotify tracks

enable youtube using youtube - plugin

#

then add it into your application.yml

solemn sail
#

hmm

#

then can i simply play yt using my current spotify config?

rose sable
#

spotify gives metadata and providers are used for playback

solemn sail
#

ohhh

#

make sense

rose sable
#

if u are lazy then remove yt from provider and try with soundcloud

#
providers:
   - "scsearch:%QUERY%" 
solemn sail
#

CRAZYY

#

IT WORKS

rose sable
#

manish

#

u can ask here any doubts

solemn sail
#

cool !