Lavalink icon indicating copy to clipboard operation
Lavalink copied to clipboard

Youtube search but doesnt play

Open SuupraaaMK4 opened this issue 1 year ago • 29 comments

Im using Lavalink latest version with youtube-source 1.3.0 and poru 5.1.0. Yesterday works perfectly but now, it search the song but finish queue instantly. I test in another server (both mine, same config and verison) and works, so why this happen?

SuupraaaMK4 avatar Jun 07 '24 00:06 SuupraaaMK4

Logs.

devoxin avatar Jun 07 '24 00:06 devoxin

Same here, music start and stop instant even with spotify

Fizayy avatar Jun 09 '24 16:06 Fizayy

it fetch the song join the vs but didn't play and skip the song

ErrorDoc404 avatar Jun 15 '24 08:06 ErrorDoc404

maybe the songs are explicit, that might be why it skips them.

asamikiyomi avatar Jun 15 '24 09:06 asamikiyomi

well black pink album is not and it working fine in Lavalink v3 but its skipping in v4

ErrorDoc404 avatar Jun 15 '24 10:06 ErrorDoc404

well black pink album is not and it working fine in Lavalink v3 but its skipping in v4

try using the new youtube source plugin, disable built-in one, else blackpink songs have nsfw words in the korean language and the lavalink is denying it

asamikiyomi avatar Jun 15 '24 10:06 asamikiyomi

Lavalink does not block any tracks even if they are explicit

devoxin avatar Jun 15 '24 11:06 devoxin

Lavalink does not block any tracks even if they are explicit

oh? weird, cause it happened to me after removing the account from yt config

asamikiyomi avatar Jun 15 '24 11:06 asamikiyomi

can i have the applicaition.yml file for plugins because when I am trying to configure its not working

I have tried shoukaku, erela, poru

ErrorDoc404 avatar Jun 15 '24 11:06 ErrorDoc404

can i have the applicaition.yml file for plugins because when I am trying to configure its not working

I have tried shoukaku, erela, poru

sure, here is it: lavalink-configuration.zip

asamikiyomi avatar Jun 15 '24 11:06 asamikiyomi

Lavalink does not block any tracks even if they are explicit

oh? weird, cause it happened to me after removing the account from yt config

Do you have the TVHTML5EMBEDDED client enabled?

devoxin avatar Jun 15 '24 13:06 devoxin

With Spotify, I'm like you, maybe it's not just Youtube...

Fizayy avatar Jun 15 '24 13:06 Fizayy

Lavalink does not block any tracks even if they are explicit

oh? weird, cause it happened to me after removing the account from yt config

Do you have the TVHTML5EMBEDDED client enabled?

Oh THAT'S WHAT IT WAS FOR? omggg i am such an idiot

asamikiyomi avatar Jun 15 '24 14:06 asamikiyomi

Did music working for someone ? In my case, it found the music, start and instant stop...

Fizayy avatar Jun 17 '24 17:06 Fizayy

add more clients to lavalink application config. I did the same and worked afterwards

asamikiyomi avatar Jun 17 '24 17:06 asamikiyomi

can i have the applicaition.yml file for plugins because when I am trying to configure its not working I have tried shoukaku, erela, poru

sure, here is it: lavalink-configuration.zip

mine works after this

ErrorDoc404 avatar Jun 17 '24 18:06 ErrorDoc404

There is any temporary fix for this?

Gabry2790 avatar Jun 21 '24 21:06 Gabry2790

As I mentioned earlier in the threads, provide logs.

devoxin avatar Jun 22 '24 00:06 devoxin

There is no error crash or something, it's just starting and instant finishing

Fizayy avatar Jun 22 '24 14:06 Fizayy

Logs provide more details than just an error. Please provide logs otherwise I can't assist.

devoxin avatar Jun 22 '24 14:06 devoxin

Logs provide more details than just an error. Please provide logs otherwise I can't assist.

Here is my logs: spring.log

Gabry2790 avatar Jun 22 '24 15:06 Gabry2790

Logs provide more details than just an error. Please provide logs otherwise I can't assist.

Here is my logs: spring.log

2024-06-22T15:18:04.108Z TRACE 28 --- [XNIO-1 I/O-2] lavalink.server.io.SocketContext         : Sent {"op":"event","type":"TrackExceptionEvent","guildId":"1094611468571377754","track":{"encoded":"QAAApQMADU1FVEFNT1JQSE9TSVMACklOVEVSV09STEQAAAAAAAIumAALbEp2Um9oWVNyWk0AAQAraHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1sSnZSb2hZU3JaTQEAMGh0dHBzOi8vaS55dGltZy5jb20vdmkvbEp2Um9oWVNyWk0vbXFkZWZhdWx0LmpwZwAAB3lvdXR1YmUAAAAAAAAAAA==","info":{"identifier":"lJvRohYSrZM","isSeekable":true,"author":"INTERWORLD","length":143000,"isStream":false,"position":0,"title":"METAMORPHOSIS","uri":"https://www.youtube.com/watch?v=lJvRohYSrZM","sourceName":"youtube","artworkUrl":"https://i.ytimg.com/vi/lJvRohYSrZM/mqdefault.jpg","isrc":null},"pluginInfo":{},"userData":{}},"exception":{"message":"This video is unavailable","severity":"common","cause":"com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video is unavailable"}}

clients=[MUSIC, ANDROID, WEB]

Add more clients, as was already stated earlier in this thread. Edit: And also disable ANDROID's playback capabilities. It's broken with no known fix.

devoxin avatar Jun 22 '24 15:06 devoxin

What clients should I add? This problem happens also with Spotify. The bot enters the vocal, fetch the song and leaves.

Gabry2790 avatar Jun 22 '24 16:06 Gabry2790

That's up to you based on your requirements. At the very least, I would add ANDROID_TESTSUITE but if you wanted to add any more that would be at your own discretion.

Also why would Spotify be any different? It mirrors to whatever providers you have set, which tend to include youtube.

devoxin avatar Jun 22 '24 16:06 devoxin

That's up to you based on your requirements. At the very least, I would add ANDROID_TESTSUITE but if you wanted to add any more that would be at your own discretion.

Also why would Spotify be any different? It mirrors to whatever providers you have set, which tend to include youtube.

Doesn't work, these are the clients: - MUSIC - WEB - ANDROID_TESTSUITE - TVHTML5EMBEDDED - IOS - ANDROID_LITE

Gabry2790 avatar Jun 22 '24 16:06 Gabry2790

Here my logs when i try to find a music and play it music.log

Fizayy avatar Jun 22 '24 18:06 Fizayy

Here my logs when i try to find a music and play it music.log

These are not your complete logs, nor have you enabled debug.

devoxin avatar Jun 22 '24 18:06 devoxin

I have same Issue, check the end of the log spring (1).log

happyzxzxz avatar Jul 03 '24 20:07 happyzxzxz

I have same Issue, check the end of the log spring (1).log

2024-07-03T22:05:33.572+02:00 DEBUG 17 --- [main] d.l.youtube.plugin.YoutubePluginLoader   : No ratelimit config found, skipping setup of route planner

...

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video is unavailable
	at dev.lavalink.youtube.clients.skeleton.Client.getPlayabilityStatus(Client.java:60) ~[youtube-plugin-1.3.0.jar!/:na]
	at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadTrackInfoFromInnertube(NonMusicClient.java:98) ~[youtube-plugin-1.3.0.jar!/:na]
	at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadVideo(NonMusicClient.java:315) ~[youtube-plugin-1.3.0.jar!/:na]

Use IPv6 rotation.

devoxin avatar Jul 03 '24 20:07 devoxin

Enabling HTTP/2 support resolved the issue for me

Gabry2790 avatar Jul 05 '24 10:07 Gabry2790