From f09bfbc21704684bd04b3b61c99486b8e0e15dc7 Mon Sep 17 00:00:00 2001 From: Steve Daulton Date: Thu, 18 Oct 2018 22:52:41 +0100 Subject: [PATCH] Small change of format for GetInfo Labels to make parsing a bit easier in LISP --- src/commands/GetInfoCommand.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/GetInfoCommand.cpp b/src/commands/GetInfoCommand.cpp index 0890907d2..db97102b6 100644 --- a/src/commands/GetInfoCommand.cpp +++ b/src/commands/GetInfoCommand.cpp @@ -354,6 +354,7 @@ bool GetInfoCommand::SendLabels(const CommandContext &context) context.EndStruct(); } #else + context.StartArray(); context.AddItem( (double)i ); // Track number. context.StartArray(); for (int nn = 0; nn< (int)labelTrack->mLabels.size(); nn++) { @@ -365,6 +366,7 @@ bool GetInfoCommand::SendLabels(const CommandContext &context) context.EndArray(); } context.EndArray(); + context.EndArray(); #endif } ); // Per track numbering counts all tracks