Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube search but doesnt play #1055

Closed
SuupraaaMK4 opened this issue Jun 7, 2024 · 36 comments
Closed

Youtube search but doesnt play #1055

SuupraaaMK4 opened this issue Jun 7, 2024 · 36 comments

Comments

@SuupraaaMK4
Copy link

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 SuupraaaMK4 added the bug label Jun 7, 2024
@devoxin
Copy link
Member

devoxin commented Jun 7, 2024

Logs.

@Fizayy

This comment was marked as spam.

@ErrorDoc404

This comment was marked as off-topic.

@ayaweeb

This comment was marked as off-topic.

@ErrorDoc404

This comment was marked as off-topic.

@ayaweeb

This comment was marked as off-topic.

@devoxin

This comment was marked as off-topic.

@ayaweeb

This comment was marked as off-topic.

@ErrorDoc404

This comment was marked as off-topic.

@ayaweeb

This comment was marked as off-topic.

@devoxin
Copy link
Member

devoxin commented Jun 15, 2024

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?

@Fizayy

This comment was marked as spam.

@ayaweeb

This comment was marked as off-topic.

@Fizayy

This comment was marked as spam.

@lavalink-devs lavalink-devs deleted a comment from ErrorDoc404 Jun 17, 2024
@ayaweeb
Copy link

ayaweeb commented Jun 17, 2024

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

@ErrorDoc404

This comment was marked as off-topic.

@Gabry2790
Copy link

Gabry2790 commented Jun 21, 2024

There is any temporary fix for this?

@devoxin
Copy link
Member

devoxin commented Jun 22, 2024

As I mentioned earlier in the threads, provide logs.

@Fizayy
Copy link

Fizayy commented Jun 22, 2024

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

@devoxin
Copy link
Member

devoxin commented Jun 22, 2024

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

@Gabry2790
Copy link

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

Here is my logs:
spring.log

@devoxin
Copy link
Member

devoxin commented Jun 22, 2024

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.

@Gabry2790
Copy link

Gabry2790 commented Jun 22, 2024

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

@devoxin
Copy link
Member

devoxin commented Jun 22, 2024

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.

@Gabry2790
Copy link

Gabry2790 commented Jun 22, 2024

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

@Fizayy
Copy link

Fizayy commented Jun 22, 2024

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

@devoxin
Copy link
Member

devoxin commented Jun 22, 2024

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.

@happyzxzxz
Copy link

happyzxzxz commented Jul 3, 2024

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

@devoxin
Copy link
Member

devoxin commented Jul 3, 2024

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.

@Gabry2790
Copy link

Enabling HTTP/2 support resolved the issue for me

@devoxin
Copy link
Member

devoxin commented Jul 5, 2024

HTTP2 does not affect YouTube playback as Lavaplayer/youtube-source uses its own HTTP client separate from Spring. That setting only affects your WS/HTTP connections to the Lavalink server.

Toggling that setting is merely a coincidence.

@Gabry2790
Copy link

Gabry2790 commented Jul 5, 2024

HTTP2 does not affect YouTube playback as Lavaplayer/youtube-source uses its own HTTP client separate from Spring. That setting only affects your WS/HTTP connections to the Lavalink server.

Toggling that setting is merely a coincidence.

So, how is my Lavalink now working again?

@devoxin
Copy link
Member

devoxin commented Jul 5, 2024

The last line of my message. It literally has no bearing on the youtube source manager lol... It doesn't even use that setting.

@Gabry2790
Copy link

Ok

@Gabry2790
Copy link

Today doesn't work anymore
spring.log

@devoxin
Copy link
Member

devoxin commented Jul 6, 2024

You are still not using IP rotation nor have you enabled more clients.

2024-07-06T14:06:56.513Z  INFO 28 --- [main] d.l.youtube.plugin.YoutubePluginLoader   : YouTube source initialised with clients: WEB_REMIX, WEB, ANDROID 
2024-07-06T14:06:56.513Z DEBUG 28 --- [main] d.l.youtube.plugin.YoutubePluginLoader   : No ratelimit config found, skipping setup of route planner

Enable more clients, and enable IP rotation.

For anyone else that stumbles upon this issue, you ought to be using youtube-source by now, as well as doing what is stated above in this comment.

Closing and locking as this no longer belongs in this repo. Further issues are to be made within the youtube-source repository (providing you are using youtube-source, if you aren't, then refer to the above comment).

@devoxin devoxin closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2024
@lavalink-devs lavalink-devs locked as off-topic and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants