mirror of
https://codeberg.org/Hyperpipe/hyperpipe-backend
synced 2024-12-06 19:26:30 +01:00
infer shelf playlistId from menu
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user