getNowPlaying.view working

This commit is contained in:
Deluan
2016-03-17 10:37:19 -04:00
parent 68c456e188
commit c4b660fce3
6 changed files with 25 additions and 12 deletions
+4 -4
View File
@@ -141,10 +141,10 @@ type Starred struct {
type NowPlayingEntry struct {
Child
UserName string `xml:"username" json:"username,omitempty"`
MinutesAgo int `xml:"minutesAgo" json:"minutesAgo,omitempty"`
PlayerId int `xml:"playerId" json:"playerId,omitempty"`
PlayerName string `xml:"playerName" json:"playerName,omitempty"`
UserName string `xml:"username,attr" json:"username,omitempty"`
MinutesAgo int `xml:"minutesAgo,attr" json:"minutesAgo,omitempty"`
PlayerId int `xml:"playerId,attr" json:"playerId,omitempty"`
PlayerName string `xml:"playerName,attr" json:"playerName,omitempty"`
}
type NowPlaying struct {