3 ms·
TOML/YAML is significantly better than XML, hence why almost every modern app uses YAML for configs. Kodi's settings are scattered across multiple XML files and
by encryptluks2 5y ago
TOML/YAML is significantly better than XML, hence why almost every modern app uses YAML for configs. Kodi's settings are scattered across multiple XML files and you have to manage each one independently rather than just pointing it to the server, it is just annoying to setup.
- globular-toast 5y agoIt shouldn't be too difficult to implement a YAML based config as an alternative. I will look into this.
- Lammy 5y ago> TOML/YAML is significantly better than XML, hence why almost every modern app uses YAML for configs. Personally I find YAML to have a false sense of cleanliness. Sure it looks a lot "more readable" than XML until you mess up the syntax/indentation and end up with dictionary keys a level up/down from where you intended. The list-of-dicts syntax is particularly gross to me, e.g. models: - model: "a" type: "x" - model: "b" type: "y"