insin / remote_control_for_vlc

A VLC remote control written with Flutter

Home Page:https://play.google.com/store/apps/details?id=jbscript.vlcremote

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON vs XML

insin opened this issue · comments

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