Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions lastfm/album_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
3 changes: 2 additions & 1 deletion lastfm/artist_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down