feat: fix metadata embedding

This commit is contained in:
2026-02-19 18:49:55 +01:00
parent 129695f823
commit 6d27cc4502
8 changed files with 165 additions and 52 deletions

View File

@@ -16,8 +16,12 @@ type ExtractedColors struct {
}
type CoverArt struct {
ExtractedColors ExtractedColors `json:"extractedColors"`
Sources []map[string]interface{} `json:"sources"`
ExtractedColors ExtractedColors `json:"extractedColors"`
Sources []struct {
Height int `json:"height"`
Width int `json:"width"`
Url string `json:"url"`
} `json:"sources"`
}
type Date struct {
@@ -119,3 +123,11 @@ type Data struct {
type TrackMetadata struct {
Data Data `json:"data"`
}
type PlaylistMetadata struct {
Data struct {
Playlist struct {
Name string `json:"name"`
} `json:"playlistV2"`
} `json:"data"`
}