From 8a9a3f66e847a3eeaf712c43ffdbfdd2e55708c4 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda Date: Tue, 6 Aug 2024 12:31:37 +0000 Subject: [PATCH] fix: missing variable --- lib/next.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/next.go b/lib/next.go index 209467f..8f6c88d 100644 --- a/lib/next.go +++ b/lib/next.go @@ -23,7 +23,7 @@ type Next struct { func parseNextSongs(n gjson.Result) []Item { panel := n.Get("#.playlistPanelVideoRenderer") - size := np.Get("#").Int() + size := panel.Get("#").Int() r := make([]Item, size) wg := sync.WaitGroup{}