Fix remaining type mismatches vs Python reference

- RotorSettings: Diversity float64→string, Energy float64→int, add Mood int and MoodEnergy string
- Ratings: Rating float64→int, add Week int and Day int
- MetatagArtistEntry: Remove Score float64 (not in Python), add PopularTracks []Track
- MusicHistoryItemData: Remove Progress float64 (not in Python)
This commit is contained in:
Mrixs committed 2026-10-18 12:57:21 +03:00
1 parent 577c4a418c
commit a9be10b5e5
4 files changed
+12 -8

No files matched your search

+4 -2
View File
@@ -162,8 +162,10 @@ func (a *Artist) DeList(data []byte, c ClientInterface) ([]Model, error) {
// Ratings represents artist ratings.
type Ratings struct {
Rating float64 `json:"rating"`
Votes int `json:"votes"`
Rating int `json:"rating"`
Votes int `json:"votes"`
Week int `json:"week"`
Day int `json:"day"`
}
// Counts represents artist counts.