diff --git a/lastfm/album_result.go b/lastfm/album_result.go index ec5a270..8ddc7f4 100644 --- a/lastfm/album_result.go +++ b/lastfm/album_result.go @@ -17,9 +17,10 @@ type AlbumGetInfo struct { Size string `xml:"size,attr"` Url string `xml:",chardata"` } `xml:"image"` - Listeners string `xml:"listeners"` - PlayCount string `xml:"plyacount"` - Tracks []struct { + Listeners string `xml:"listeners"` + PlayCount string `xml:"playcount"` + UserPlayCount string `xml:"userplaycount"` + Tracks []struct { Rank string `xml:"rank,attr"` Name string `xml:"name"` Duration string `xml:"duration"` diff --git a/lastfm/artist_result.go b/lastfm/artist_result.go index bc56ad7..d396a14 100644 --- a/lastfm/artist_result.go +++ b/lastfm/artist_result.go @@ -33,7 +33,8 @@ type ArtistGetInfo struct { Streamable string `xml:"streamable"` Stats struct { Listeners string `xml:"listeners"` - Plays string `xml:"plays"` + Plays string `xml:"playcount"` + UserPlays string `xml:"userplaycount"` } `xml:"stats"` //Similar struct { //Artists []struct {