fix(subsonic): only return one bookmark entry per row in getBookmarks
fixes #310 https://gitlab.com/ultrasonic/ultrasonic/-/issues/1113
This commit is contained in:
@@ -370,12 +370,12 @@ type Bookmarks struct {
|
||||
}
|
||||
|
||||
type Bookmark struct {
|
||||
Entries []*BookmarkEntry `xml:"entry,omitempty" json:"entry,omitempty"`
|
||||
Username string `xml:"username,attr" json:"username"`
|
||||
Position int `xml:"position,attr" json:"position"`
|
||||
Comment string `xml:"comment,attr" json:"comment"`
|
||||
Created time.Time `xml:"created,attr" json:"created"`
|
||||
Changed time.Time `xml:"changed,attr" json:"changed"`
|
||||
Entry BookmarkEntry `xml:"entry,omitempty" json:"entry,omitempty"`
|
||||
Username string `xml:"username,attr" json:"username"`
|
||||
Position int `xml:"position,attr" json:"position"`
|
||||
Comment string `xml:"comment,attr" json:"comment"`
|
||||
Created time.Time `xml:"created,attr" json:"created"`
|
||||
Changed time.Time `xml:"changed,attr" json:"changed"`
|
||||
}
|
||||
|
||||
type BookmarkEntry struct {
|
||||
|
||||
Reference in New Issue
Block a user