assume incoming play queue current is an ID

This commit is contained in:
sentriz
2020-06-30 20:19:13 +01:00
parent 05901180d0
commit 0581335622
3 changed files with 8 additions and 3 deletions

View File

@@ -265,7 +265,7 @@ type Genre struct {
}
type PlayQueue struct {
Current int `xml:"current,attr,omitempty" json:"current,omitempty"`
Current *specid.ID `xml:"current,attr,omitempty" json:"current,omitempty"`
Position int `xml:"position,attr,omitempty" json:"position,omitempty"`
Username string `xml:"username,attr" json:"username"`
Changed time.Time `xml:"changed,attr" json:"changed"`