private void AddFanartImage(Banner banner)
 {
     Image image = CreateImage(banner);
     image.Description = banner.BannerType2;
     image.WidthRatio = 1920;
     image.HeightRatio = 1080;
     _fanarts.Add(image);
 }
 private void AddBannerImage(Banner banner)
 {
     Image image = CreateImage(banner);
     image.WidthRatio = 758;
     image.HeightRatio = 140;
     if (banner.Season.HasValue)
     {
         image.Description = TvShowHelper.GetSeasonName(banner.Season.Value);
         AvailableSeasonImages seasonImages = GetAvailableSeasonImages(banner.Season.Value);
         seasonImages.Banners.Add(image);
     }
     else
     {
         image.Description = "TV Show";
         _banners.Add(image);
     }
 }
 private void AddImageToTheAppropriateCollection(Banner banner)
 {
     switch (banner.BannerType)
     {
         case "fanart":
             AddFanartImage(banner);
             break;
         case "poster":
             AddPosterImage(banner);
             break;
         case "series":
             AddBannerImage(banner);
             break;
         case "season":
             AddPosterImage(banner);
             break;
     }
 }
 private Image CreateImage(Banner banner)
 {
     return new Image
     {
         Url = TvShowHelper.ExpandImagesUrl(banner.BannerPath),
         Rating = banner.Rating
     };
 }