Remove song title matching when fetching audio-only video ids (#88)

This commit is contained in:
vfsfitvnm
2022-07-08 23:52:57 +02:00
parent 872ec273dd
commit 3608c912b5

View File

@@ -726,9 +726,7 @@ object YouTube {
copy(
items = items?.mapIndexed { index, item ->
if (item.info.endpoint?.type != "MUSIC_VIDEO_TYPE_ATV") {
sources.getOrNull(index)?.takeIf { source ->
source.title == item.info.name
}?.let { source ->
sources.getOrNull(index)?.let { source ->
item.copy(
info = item.info.copy(
endpoint = item.info.endpoint?.copy(