Hi, I modified the metaflac program to output in JSON format if the --output-json switch is used, and made a simple Go program to demonstrate use of the output.
I imported the MIT licensed json-c library into src/share/json-c and put headers in include/share/json-c. For example, # metaflac --output-json --list myfile.flac example output: https://gist.github.com/waitman/847a8cae4a650a8898ee If the modified software is useful to anyone, the modifications are available on github, I did a 'clean' import of head / 1.3.1 then pushed up the changes, so maybe it's easier to see what was modified. https://github.com/waitman/flac https://github.com/waitman/goflac -- Waitman Gobble Los Altos California USA 510-830-7975
_______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev