#whenever i play something i get this error

1 messages ยท Page 1 of 1 (latest)

warm vector
warm vector
#

ok i think actually my plugins arent loading thats the issue

#

im not getting logs or plugins folder either

quick pumice
austere shuttle
#

Use LavaSrc v4

#

See the readme for V4 install instructions

warm vector
austere shuttle
#

yes

quick pumice
#

i dont think it is recommended

it is required ๐Ÿ’€

warm vector
#

so shd i add all 3 of em? @quick pumice

austere shuttle
warm vector
#

nd really sry for pings*

austere shuttle
#

you can still use the old

#

it may just not work

#

ยฏ_(ใƒ„)_/ยฏ

quick pumice
#

Read before u add
Do not just blindly follow the example

austere shuttle
quick pumice
warm vector
warm vector
warm vector
#

im using latest lavasrc plugin

austere shuttle
#

https://open.spotify.com/track/tokyo my perfection

#

this is not a valid url

warm vector
#

yes

austere shuttle
#

your path needs to be url encoded

#

spaces are not part of the url

#

also that's not a track id

#

tokyo my perfection

warm vector
#

its loading the track name im searching

austere shuttle
#

this is not how you search

warm vector
#

no actually just a min

#

it works fine when i use ytsearch but i get this issue when i do spsearch

austere shuttle
#

idk what your code does

warm vector
#

riffy client

austere shuttle
#

coudlnt have guessed that this is a music bot :p

#

GET /v4/loadtracks?identifier=spsearch%3Atokyo%20my%20perfection

#

this looks fine

#

Got request to load for identifier "https://open.spotify.com/track/tokyo my perfection"

#

but this is just wrong

warm vector
#

oh wait im facing the same when i use url too

austere shuttle
#

this is an issue with either your code or your client

#

not with lavalink/lavasrc

warm vector
#
2024-07-07T15:41:14.537+02:00  INFO 29 --- [  XNIO-1 task-2] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://open.spotify.com/track/6Bvk8WXfGEfMFOgROQMhys?si=9ad00364c9164e36"
2024-07-07T15:41:14.901+02:00 ERROR 29 --- [  XNIO-1 task-2] lavalink.server.player.AudioLoader       : Load failed

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Unknown file format.
        at com.sedmelluq.discord.lavaplayer.source.ProbingAudioSourceManager.handleLoadResult(ProbingAudioSourceManager.java:35) ~[lavaplayer-2.2.0.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.source.http.HttpAudioSourceManager.loadItem(HttpAudioSourceManager.java:73) ~[lavaplayer-2.2.0.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:412) ~[lavaplayer-2.2.0.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:394) ~[lavaplayer-2.2.0.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.loadItemSync(DefaultAudioPlayerManager.java:156) ~[lavaplayer-2.2.0.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager.loadItemSync(AudioPlayerManager.java:101) ~[lavaplayer-2.2.0.jar!/:na]
        at lavalink.server.player.AudioLoader.load(AudioLoader.kt:56) ~[classes!/:4.0.6]
        at lavalink.server.player.AudioLoaderRestHandler.loadTracks(AudioLoaderRestHandler.kt:56) ~[classes!/:4.0.6]
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
    
warm vector
austere shuttle
austere shuttle
#

that config is wrong

#

simple

#

read please

warm vector
austere shuttle
#

do thse look the same to you?

#

server.lavasrc

#

plugins.lavasrc

warm vector
# austere shuttle `plugins.lavasrc`
sentry:
    dsn: ""
    environment: ""
server:
    address: 0.0.0.0
    http2:
        enabled: false
    plugins:
        lavasrc:
            applemusic:
                albumLoadLimit: 6
                countryCode: US
                mediaAPIToken: '...'
                playlistLoadLimit: 6
            deezer:
                masterDecryptionKey: '...'
            providers:
                - ytsearch:"%ISRC%"
                - ytsearch:%QUERY%
                - ytmsearch:"%ISRC%"
                - ytmsearch:%QUERY%
                - scsearch:%QUERY%
                - spsearch:%QUERY%
                - sprec:%QUERY%
                - amsearch:%QUERY%
                - dzisrc:%ISRC%
                - dzsearch:%QUERY%
                - ymsearch:%QUERY%
            sources:
                applemusic: false
                deezer: false
                spotify: true
                yandexmusic: false
            spotify:
                albumLoadLimit: 6
                clientId: ...
                clientSecret: ...
                countryCode: US
                playlistLoadLimit: 6
            yandexmusic:
                accessToken: '...'
    port: 28315
    youtube:
        MUSIC:
            playback: true
        allowDirectPlaylistIds: true
#

this shd be fine ig

austere shuttle
#

please read

#

finally

#

xd

warm vector
#

im sorry :(

#

i mean im new here in these so

austere shuttle
#

there even is a full example in the lavasrc repo

#

you just need to click on it

warm vector
austere shuttle
#

it's wrong

#

like i said

austere shuttle
warm vector
austere shuttle
#

hoe does your config look then?

warm vector
austere shuttle
#

your url is still invalid

#

ok

#

fix it then

austere shuttle
#

plugins IS AT ROOT LEVEL

#

NOT UNDER SERVER

austere shuttle
#

yes congratz you found the full example

warm vector
austere shuttle
#

there is no need to ping me

#

or even tell me

#

just do it

warm vector
#

yesir

warm vector
#

now everything is gud to ig