I didn't realise the VLC HTTP API also supports JSON responses (just switch the extension from .xml to .json in request URLs) 🤦♂️ - is there any performance benefit to switching from XML to JSON?
Being able to drop the xml dependency should also slightly reduce the size of the app.
A reason to switch to JSON (at least for the status request) - the JSON status includes an information.chapters array which indicates whether or not the video has chapters defined, making #30 possible to implement
I didn't realise the VLC HTTP API also supports JSON responses (just switch the extension from
.xml
to.json
in request URLs) 🤦♂️ - is there any performance benefit to switching from XML to JSON?Being able to drop the xml dependency should also slightly reduce the size of the app.