From 6d0302d3bf8e060a5d50afe3b9cef2486d7b8b4c Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Mon, 7 Nov 2022 23:03:46 +0100 Subject: [PATCH] fix: ignore channels in YTM search --- src/client/response/music_item.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/response/music_item.rs b/src/client/response/music_item.rs index 4c3ab6c..5757964 100644 --- a/src/client/response/music_item.rs +++ b/src/client/response/music_item.rs @@ -414,7 +414,8 @@ impl MusicListMapper { Ok(MusicEntityType::Playlist) } PageType::Channel => { - Err(format!("channel items unsupported. id: {}", id)) + // There may be broken YT channels from the artist search. They can be skipped. + Ok(MusicEntityType::Artist) } } }