public static string StartSelectByImdbId(Window parent, string imdbId)
 {
     var client = JryVideoCore.Current.GetTheTVDBClient();
     if (client == null)
     {
         parent.ShowJryVideoMessage("error", "TheTVDB init failed, try again.");
         return null;
     }
     var dlg = new WebImageSelectorWindow() { Owner = parent };
     dlg.ViewModel.BeginLoadPosterByImdbId(client, imdbId);
     return dlg.ShowDialog() == true ? dlg.ViewModel.SelectedUrl : null;
 }
 public static string StartSelectFanartByImdbId(Window parent, string index, params RemoteId[] ids)
 {
     var client = JryVideoCore.Current.GetTheTVDBClient();
     if (client == null)
     {
         parent.ShowJryVideoMessage("error", "TheTVDB init failed, try again.");
         return null;
     }
     var dlg = new WebImageSelectorWindow() { Owner = parent };
     dlg.WithMode(ViewMode.Mode2);
     dlg.ViewModel.BeginLoadFanartByImdbId(client, index, ids);
     return dlg.ShowDialog() == true ? dlg.ViewModel.SelectedUrl : null;
 }