Pira.cz Technical Forum

Magic RDS 4 => Configuration Options and Possibilities => Topic started by: Bill on November 13, 2026, 11:32:48 pm

Title: Parse single plain text line with - separators to json
Post by: Bill on November 13, 2026, 11:32:48 pm
Our automation only outputs a single line of plain text:  Text=cut duration seconds - category - artist - title - .    Can Magic RDS parse to values %1%, %2%, %3%, %4% and output to json for DTS Autostage?
Title: Re: Parse single plain text line with - separators to json
Post by: Jan on November 14, 2026, 09:02:03 am
I will prepare a procedure for you that will achieve the desired result. However, it would be more appropriate to ask the developer of the automation software to implement an XML/JSON text output. This is because if a hyphen appears in a song artist, you might end up with an incorrect result.

I need to know from you what the structure of the JSON file accepted by DTS Autostage should be.