Fix playCount casing
This commit is contained in:
@@ -115,7 +115,7 @@ type Child struct {
|
|||||||
Duration int `xml:"duration,attr,omitempty" json:"duration,omitempty"`
|
Duration int `xml:"duration,attr,omitempty" json:"duration,omitempty"`
|
||||||
BitRate int `xml:"bitRate,attr,omitempty" json:"bitRate,omitempty"`
|
BitRate int `xml:"bitRate,attr,omitempty" json:"bitRate,omitempty"`
|
||||||
Path string `xml:"path,attr,omitempty" json:"path,omitempty"`
|
Path string `xml:"path,attr,omitempty" json:"path,omitempty"`
|
||||||
PlayCount int64 `xml:"playCount,attr,omitempty" json:"playcount,omitempty"`
|
PlayCount int64 `xml:"playCount,attr,omitempty" json:"playCount,omitempty"`
|
||||||
DiscNumber int `xml:"discNumber,attr,omitempty" json:"discNumber,omitempty"`
|
DiscNumber int `xml:"discNumber,attr,omitempty" json:"discNumber,omitempty"`
|
||||||
Created *time.Time `xml:"created,attr,omitempty" json:"created,omitempty"`
|
Created *time.Time `xml:"created,attr,omitempty" json:"created,omitempty"`
|
||||||
AlbumId string `xml:"albumId,attr,omitempty" json:"albumId,omitempty"`
|
AlbumId string `xml:"albumId,attr,omitempty" json:"albumId,omitempty"`
|
||||||
@@ -140,7 +140,7 @@ type Directory struct {
|
|||||||
Name string `xml:"name,attr" json:"name"`
|
Name string `xml:"name,attr" json:"name"`
|
||||||
Parent string `xml:"parent,attr,omitempty" json:"parent,omitempty"`
|
Parent string `xml:"parent,attr,omitempty" json:"parent,omitempty"`
|
||||||
Starred *time.Time `xml:"starred,attr,omitempty" json:"starred,omitempty"`
|
Starred *time.Time `xml:"starred,attr,omitempty" json:"starred,omitempty"`
|
||||||
PlayCount int64 `xml:"playCount,attr,omitempty" json:"playcount,omitempty"`
|
PlayCount int64 `xml:"playCount,attr,omitempty" json:"playCount,omitempty"`
|
||||||
UserRating int `xml:"userRating,attr,omitempty" json:"userRating,omitempty"`
|
UserRating int `xml:"userRating,attr,omitempty" json:"userRating,omitempty"`
|
||||||
|
|
||||||
// ID3
|
// ID3
|
||||||
@@ -177,7 +177,7 @@ type AlbumID3 struct {
|
|||||||
CoverArt string `xml:"coverArt,attr,omitempty" json:"coverArt,omitempty"`
|
CoverArt string `xml:"coverArt,attr,omitempty" json:"coverArt,omitempty"`
|
||||||
SongCount int `xml:"songCount,attr,omitempty" json:"songCount,omitempty"`
|
SongCount int `xml:"songCount,attr,omitempty" json:"songCount,omitempty"`
|
||||||
Duration int `xml:"duration,attr,omitempty" json:"duration,omitempty"`
|
Duration int `xml:"duration,attr,omitempty" json:"duration,omitempty"`
|
||||||
PlayCount int64 `xml:"playCount,attr,omitempty" json:"playcount,omitempty"`
|
PlayCount int64 `xml:"playCount,attr,omitempty" json:"playCount,omitempty"`
|
||||||
Created *time.Time `xml:"created,attr,omitempty" json:"created,omitempty"`
|
Created *time.Time `xml:"created,attr,omitempty" json:"created,omitempty"`
|
||||||
Starred *time.Time `xml:"starred,attr,omitempty" json:"starred,omitempty"`
|
Starred *time.Time `xml:"starred,attr,omitempty" json:"starred,omitempty"`
|
||||||
UserRating int `xml:"userRating,attr,omitempty" json:"userRating,omitempty"`
|
UserRating int `xml:"userRating,attr,omitempty" json:"userRating,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user