mirror of
https://github.com/Superredstone/spotiflac-cli.git
synced 2026-06-17 16:44:40 +02:00
feat: fix metadata embedding
This commit is contained in:
+14
-2
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user