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