insin / remote_control_for_vlc

A VLC remote control written with Flutter
https://play.google.com/store/apps/details?id=jbscript.vlcremote
77 stars 20 forks source link

JSON vs XML #18

Open insin opened 4 years ago

insin commented 4 years ago

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.

insin commented 3 years ago

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