diff --git a/server/core/integration.go b/server/core/integration.go index 457092b..ffffedf 100644 --- a/server/core/integration.go +++ b/server/core/integration.go @@ -60,7 +60,7 @@ func (c *Client) writeNfoFile(historyId int) error { }, }, } - data, err := xml.Marshal(&show) + data, err := xml.MarshalIndent(&show, " ", " ") if err != nil { return errors.Wrap(err, "xml marshal") } @@ -95,7 +95,7 @@ func (c *Client) writeNfoFile(historyId int) error { }, }, } - data, err := xml.Marshal(&nfoData) + data, err := xml.MarshalIndent(&nfoData, " ", " ") if err != nil { return errors.Wrap(err, "xml marshal") }