Skip to content

Commit

Permalink
fix author displaying in yt lavasearch
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed May 6, 2024
1 parent 1a13e48 commit 0f0c005
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class YoutubeSearchManager(
val url = item.navigationEndpoint.toUrl()
val artist = item.flexColumns.getOrNull(1)
?.musicResponsiveListItemFlexColumnRenderer
?.text?.joinRuns() ?: "Unknown Author"
?.text?.runs?.getOrNull(2)?.text ?: "Unknown Author"
if (item.navigationEndpoint.watchEndpoint != null) {
val info = AudioTrackInfo(
item.flexColumns.first().musicResponsiveListItemFlexColumnRenderer.text.joinRuns(),
Expand Down

0 comments on commit 0f0c005

Please sign in to comment.