Skip to content

Commit

Permalink
fix yt stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Sep 26, 2023
1 parent b87fdc8 commit a04fd24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ class YoutubeSearchManager(
val finalTypes = types.ifEmpty { SEARCH_TYPES }
return BasicAudioSearchResult(
items.filter<AudioTrack>(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<AudioText>(AudioSearchResult.Type.TEXT in finalTypes),
)
}
Expand Down

0 comments on commit a04fd24

Please sign in to comment.