Hello Community,
i'd like to get more than just the "Barcode" from discogs' "Barcode and other Identifiers" (Label Code, SPARS Code, ...) and be written into a multiline Tag Field. With the help of AI and after many trials and errors, i modified the "Discogs Release ID.src" as follows:
Barcode
outputto "BARCODE"
json_foreach "identifiers"
json_select "type"
if "Barcode"
json_select "value"
ifnotoutput "BARCODE"
outputto "BARCODE"
say "Barcode: "
sayrest
else
outputto "BARCODE"
say "; "
sayrest
endif
endif
json_foreach_end
Label Code
outputto "BARCODE"
json_foreach "identifiers"
json_select "type"
if "Label Code"
json_select "value"
ifnotoutput "LABEL CODE"
endif
endif
json_foreach_end
SPARS Code
outputto "BARCODE"
json_foreach "identifiers"
json_select "type"
if "SPARS Code"
json_select "value"
ifnotoutput "SPARS Code"
sayrest
endif
endif
json_foreach_end
The result is:
Barcode: xxx...Label Code: xxx...SPARS Code: xxx...
But I want it to look like this:
Barcode: xxx...
Label Code: xxx...
SPARS Code: xxx...
in other words, how to create a new line for each code/identifier?
Is this possible?
Thanks in advance and above all thanks to Florian Heidenreich for (t)his simply amazing app.
