diff options
Diffstat (limited to 'data.go')
| -rw-r--r-- | data.go | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -12,14 +12,14 @@ import ( type Scrobble struct { Artist Correctable `xml:"artist" json:"artist"` AlbumArtist Correctable `xml:"albumArtist" json:"albumArtist"` - TrackName Correctable `xml:"track" json:"albumArtist"` - Album Correctable `xml:"album" json:album"` - TrackNumber int - Duration int - Time int - Chosen bool - Mbid string - Session string + TrackName Correctable `xml:"track" json:"track"` + Album Correctable `xml:"album" json:"album"` + TrackNumber int `xml:"-" json:"-"` + Duration int `xml:"-" json:"-"` + Time int `xml:"timestamp" json:"timestamp,string"` + Chosen bool `xml:"-" json:"-"` + Mbid string `xml:"-" json:"-"` + Session string `xml:"-" json:"-"` } type Session struct { |
