Improved parsing of mythtv configuration