Use environment variable for data directory
...as for plugins directory. Most of the content is anyway per-process, either because gettext and interfaces are per-process. The only caller of the function that is not an interface or gettext is the DVB scanner. This is even probably a bug.
Showing with 18 additions and 19 deletions