Hide empty folders via menus

It would be nice to have an option in the menus to hide empty folders within the menus rather than editing the advancedsettings.xml.

Kodi request, nothing to do with OSMC.