Fix getMusicFolders and getIndexes API compliance. Fix #286

This commit is contained in:
Deluan
2020-05-09 21:00:38 -04:00
parent 09267d2ffd
commit 1ed6d130b1
9 changed files with 22 additions and 16 deletions
+1 -1
View File
@@ -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