#spotify link no match found

1 messages · Page 1 of 1 (latest)

drowsy hound
#

hi there sorry for bother
does anybody knows whats the problem
i tried diffrebt location a well and still geting this

#
2024-01-27T14:48:01.878Z  INFO 28 --- [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : PATCH /v4/sessions/1jzqy7omjmen8fhg/players/1135543409680076881, client=, payload={"voice": {"token": "5e50b6cdf314aca3", "endpoint": "frankfurt10148.discord.media:443", "sessionId": "ab5e31802d1d6082f2c32440e33bc7f9"}}
2024-01-27T14:48:05.047Z  INFO 28 --- [  XNIO-1 task-3] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "ytsearch:ytmearch:A L E X - Zeldas Lullaby"
2024-01-27T14:48:05.304Z  INFO 28 --- [  XNIO-1 task-3] lavalink.server.player.AudioLoader       : No matches found
2024-01-27T14:48:05.360Z  INFO 28 --- [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : GET /v4/loadtracks?identifier=ytsearch:ytmearch:A%20L%20E%20X%20-%20Zeldas%20Lullaby, client=
#

spotify link no match found

worldly flame
#

Did you add the Lavasrc plugin?

#

Also why are you searching for ytsearch:ytmsearch:

#

You can only specify one or the other, not both

drowsy hound
drowsy hound
worldly flame
#

Spotify isn't supported by Lavalink out-of-the-box, you'll need a plugin to provide support for Spotify

drowsy hound
worldly flame
#

like, in your client?

drowsy hound
#

yea

#

in the bot code

worldly flame
#

Then it's up to your implementation to resolve those spotify links into something playable

drowsy hound
#

iit not the code problem im sure cuase it wasnt like that until i used the latest lavalink 4
and i also have another bot using lavalink 3 and there is no problem in that but in this version i get this err

worldly flame
#

I'm having a bit of trouble understanding exactly what the problem is.

Is it that you can't resolve spotify links into youtube tracks or that the spotify link itself is not being matched in your client?

drowsy hound
worldly flame
#

This sounds like an issue with your client implementation then

drowsy hound
worldly flame
#

Nothing without any code or up-to-date logs

drowsy hound
worldly flame
#

Sure

drowsy hound
#

here

drowsy hound
worldly flame
#

I'm looking

drowsy hound
tender lance
#
GET /v4/loadtracks?identifier=ytsearch:ytmearch:A%20L%20E%20X%20-%20Zeldas%20Lullaby
#

I mean

#

you have double search things in the url

#

that's not how it works

#

ytsearch:ytmearch:

worldly flame
#

@drowsy hound Is this the error you're getting then?

tender lance
worldly flame
#

:^)

drowsy hound
#

the bot join and says added the song

#

but not playing anything

#

and then i check the log

tender lance
#

#testing message

worldly flame
#

I would begin by adding print statements then to see how far it's getting. Make sure to log the results of function calls too, so e.g.

search = await self._node.get_tracks(...)

print(search)

if not search:
  ...
tender lance
#

well I can tell you that much

#

my test bot finds something for that query

worldly flame
drowsy hound
#

its the code right! i will try to fix it and if counldnt i will come back to you

#

thanks for you times