infer shelf playlistId from menu

This commit is contained in:
Shiny Nematoda
2023-08-06 11:40:03 +00:00
parent d2c8e0e7a8
commit 17388f8ee5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"net/url"
"codeberg.org/Hyperpipe/hyperpipe-backend/utils"
"github.com/tidwall/gjson"
"github.com/tidwall/gjson"
)
func GetAlbumUrl(id string) (map[string]string, int) {
+1 -1
View File
@@ -309,7 +309,7 @@ func ShelfRenderer(j gjson.Result) map[string]interface{} {
v.Get("header.musicCarouselShelfBasicHeaderRenderer.title"),
)
r[title] = TwoRowItemRenderer(v.Get("contents"), false)
r[title] = TwoRowItemRenderer(v.Get("contents"), true)
}(s)
return true