fix: ignore channels in YTM search
This commit is contained in:
parent
c263ba2345
commit
6d0302d3bf
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue