Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> so that I can manage my config using YAML/TOML manually

How is that any better than XML? https://kodi.wiki/view/Advancedsettings.xml#guisettings.xml_...



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.


It shouldn't be too difficult to implement a YAML based config as an alternative. I will look into this.


> 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"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: