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:
1 parent
577c4a418c
commit
a9be10b5e5
4 files changed
+12
-8
No files matched your search
@@ -192,8 +192,11 @@ func (r *RotorStation) DeList(data []byte, client ClientInterface) ([]Model, err
|
||||
// RotorSettings represents rotor station settings.
|
||||
type RotorSettings struct {
|
||||
BaseModel
|
||||
Diversity float64 `json:"diversity"`
|
||||
Energy float64 `json:"energy"`
|
||||
Language string `json:"language"`
|
||||
Diversity string `json:"diversity"`
|
||||
Mood int `json:"mood"`
|
||||
Energy int `json:"energy"`
|
||||
MoodEnergy string `json:"mood_energy"`
|
||||
Acousticness float64 `json:"acousticness"`
|
||||
Instrumentalness float64 `json:"instrumentalness"`
|
||||
Live float64 `json:"live"`
|
||||
|
||||
Reference in new issue
Block a user