Skip to content

Commit

Permalink
Fix missing WEB from ClientProviderV4, relocate WebEmbeddedWithThumbn…
Browse files Browse the repository at this point in the history
…ail to where it should be
  • Loading branch information
devoxin committed Aug 9, 2024
1 parent e88cdfe commit 136b585
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

import dev.lavalink.youtube.clients.*;
import dev.lavalink.youtube.clients.skeleton.Client;
import dev.lavalink.youtube.clients.skeleton.WebEmbeddedWithThumbnail;

import java.util.function.Supplier;
import dev.lavalink.youtube.clients.WebEmbeddedWithThumbnail;

public class ClientProviderV4 implements ClientProvider {
@Override
Expand All @@ -20,6 +18,7 @@ private enum ClientMapping implements ClientReference {
IOS(IosWithThumbnail::new),
MUSIC(MusicWithThumbnail::new),
TVHTML5EMBEDDED(TvHtml5EmbeddedWithThumbnail::new),
WEB(WebWithThumbnail::new),
WEBEMBEDDED(WebEmbeddedWithThumbnail::new),
MEDIA_CONNECT(MediaConnectWithThumbnail::new);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package dev.lavalink.youtube.clients.skeleton;
package dev.lavalink.youtube.clients;

import dev.lavalink.youtube.clients.ClientOptions;
import dev.lavalink.youtube.clients.Web;
import dev.lavalink.youtube.clients.WebEmbedded;
import dev.lavalink.youtube.clients.skeleton.NonMusicClientWithThumbnail;
import org.jetbrains.annotations.NotNull;

public class WebEmbeddedWithThumbnail extends WebEmbedded implements NonMusicClientWithThumbnail {
Expand Down

0 comments on commit 136b585

Please sign in to comment.