From 9c7494a307ebfd50db4ad0f3dc2f23511ac04fb3 Mon Sep 17 00:00:00 2001 From: Deluan Date: Tue, 22 Mar 2016 19:39:20 -0400 Subject: [PATCH] Disabled paths in responses for now DSub was using it for offline browsing. Will re-enable it when browsing by ID3 is working --- api/base_api_controller.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/base_api_controller.go b/api/base_api_controller.go index a02df6ff..0952a0f5 100644 --- a/api/base_api_controller.go +++ b/api/base_api_controller.go @@ -134,7 +134,9 @@ func (c *BaseAPIController) ToChild(entry engine.Entry) responses.Child { if !entry.Starred.IsZero() { n.Starred = &entry.Starred } - n.Path = entry.Path + //TODO Disabled for now, as DSub was using it for offline browsing. Will re-enable it when browsing by ID3 is working + //n.Path = entry.Path + n.PlayCount = entry.PlayCount n.DiscNumber = entry.DiscNumber if !entry.Created.IsZero() {