mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
fix: alternative sources not showing up for SongLink matched results
This commit is contained in:
parent
73c5b30b63
commit
37d002d133
@ -221,7 +221,10 @@ class YoutubeSourcedTrack extends SourcedTrack {
|
||||
final links = await SongLinkService.links(track.id!);
|
||||
final ytLink = links.firstWhereOrNull((link) => link.platform == "youtube");
|
||||
|
||||
if (ytLink?.url != null) {
|
||||
if (ytLink?.url != null
|
||||
// allows to fetch siblings more results for already sourced track
|
||||
&&
|
||||
track is! SourcedTrack) {
|
||||
try {
|
||||
return [
|
||||
await toSiblingType(
|
||||
|
Loading…
Reference in New Issue
Block a user