Remove song title matching when fetching audio-only video ids (#88)
This commit is contained in:
@@ -726,9 +726,7 @@ object YouTube {
|
|||||||
copy(
|
copy(
|
||||||
items = items?.mapIndexed { index, item ->
|
items = items?.mapIndexed { index, item ->
|
||||||
if (item.info.endpoint?.type != "MUSIC_VIDEO_TYPE_ATV") {
|
if (item.info.endpoint?.type != "MUSIC_VIDEO_TYPE_ATV") {
|
||||||
sources.getOrNull(index)?.takeIf { source ->
|
sources.getOrNull(index)?.let { source ->
|
||||||
source.title == item.info.name
|
|
||||||
}?.let { source ->
|
|
||||||
item.copy(
|
item.copy(
|
||||||
info = item.info.copy(
|
info = item.info.copy(
|
||||||
endpoint = item.info.endpoint?.copy(
|
endpoint = item.info.endpoint?.copy(
|
||||||
|
|||||||
Reference in New Issue
Block a user