Fix getMusicFolders and getIndexes API compliance. Fix #286
This commit is contained in:
@@ -126,7 +126,7 @@ func ToChild(ctx context.Context, entry engine.Entry) responses.Child {
|
||||
child.Starred = &entry.Starred
|
||||
}
|
||||
child.Path = entry.Path
|
||||
child.PlayCount = entry.PlayCount
|
||||
child.PlayCount = int64(entry.PlayCount)
|
||||
child.DiscNumber = entry.DiscNumber
|
||||
if !entry.Created.IsZero() {
|
||||
child.Created = &entry.Created
|
||||
|
||||
Reference in New Issue
Block a user