From a04fd246ce47f1d68b4b62d1a8b76c51086a2fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?To=CF=80?= Date: Wed, 27 Sep 2023 00:02:45 +0200 Subject: [PATCH] fix yt stuff --- .../com/github/topi314/lavasrc/youtube/YoutubeSearchManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/com/github/topi314/lavasrc/youtube/YoutubeSearchManager.kt b/main/src/main/java/com/github/topi314/lavasrc/youtube/YoutubeSearchManager.kt index 59cfe2cc..09db2189 100644 --- a/main/src/main/java/com/github/topi314/lavasrc/youtube/YoutubeSearchManager.kt +++ b/main/src/main/java/com/github/topi314/lavasrc/youtube/YoutubeSearchManager.kt @@ -121,9 +121,9 @@ class YoutubeSearchManager( val finalTypes = types.ifEmpty { SEARCH_TYPES } return BasicAudioSearchResult( items.filter(AudioSearchResult.Type.TRACK in finalTypes), - emptyList(), items.filter(AudioSearchResult.Type.ALBUM in finalTypes, ExtendedAudioPlaylist.Type.ALBUM), items.filter(AudioSearchResult.Type.ARTIST in finalTypes, ExtendedAudioPlaylist.Type.ARTIST), + emptyList(), items.filter(AudioSearchResult.Type.TEXT in finalTypes), ) }