public GMpiFileInfo(string mediaPlayerId) { try { mpi_file = new KeyFile(); mpi_file.SetListSeparator(Separator); string full_path; mpi_file.LoadFromDirs(String.Format("{0}.mpi", mediaPlayerId), new string [] { "/usr/share/media-player-info", "/usr/local/share/media-player-info" }, out full_path, KeyFileFlags.None); } catch (GLib.GException) { Hyena.Log.WarningFormat("Failed to load media-player-info file for {0}", mediaPlayerId); } LoadProperties(); }