lavalink-devs / youtube-source

A rewritten YouTube source manager for Lavaplayer.
MIT License
115 stars 16 forks source link

No Matches Error #12

Closed azarzosa closed 3 weeks ago

azarzosa commented 3 months ago

Bot using Lavaplayer now never finds tracks, even with the URL: image (The resulting message of the noMatches() method of AudioLoadResultHandler() being called, even with the full youtube URL being sent)

devoxin commented 3 months ago

Please state what clients you're using and your youtube-source version

azarzosa commented 3 months ago

My bot still uses the built-in youtube source and uses Maven. Is youtube-source now necessary for loading requests?

devoxin commented 3 months ago

Yes, youtube-source replaces the built-in source. There are deprecation warnings everywhere stating this

azarzosa commented 3 months ago

Understood, my apologies for not keeping up. Just a bit confused on how to implement it to a Maven project.

superjgonzo commented 1 month ago

Not sure if this was solved but I was able to add the dependency via Maven like:

<repository>
    <id>ll-releases</id>
    <name>Lavalink Releases</name>
    <url>https://maven.lavalink.dev/releases</url>
</repository>

<dependency>
    <groupId>dev.lavalink.youtube</groupId>
    <artifactId>common</artifactId>
    <version>x.y.z</version>
</dependency>