public override bool Init() { try { BaseConfig.MyAnimeLog.Write("INIT MAIN WINDOW"); vidHandler = new VideoHandler(); vidHandler.DefaultAudioLanguage = settings.DefaultAudioLanguage; vidHandler.DefaultSubtitleLanguage = settings.DefaultSubtitleLanguage; } catch (Exception ex) { BaseConfig.MyAnimeLog.Write("Error on init: {0}", ex.ToString()); } return Load(GUIGraphicsContext.Skin + @"\Anime3_Main.xml"); }
public void InitVidHandler() { vidHandler = new VideoHandler(); vidHandler.DefaultAudioLanguage = settings.DefaultAudioLanguage; vidHandler.DefaultSubtitleLanguage = settings.DefaultSubtitleLanguage; }