Esempio n. 1
0
 public static string GenPoster(this Contract_AniDB_Anime_DefaultImage im, string fallbackimage = "plex_404V.png")
 {
     if ((im == null) || (im.AnimeID == 0))
     {
         return(PlexHelper.ConstructSupportImageLink(fallbackimage));
     }
     return(PlexHelper.ConstructThumbLink((int)im.ImageType, im.AnimeID));
 }
Esempio n. 2
0
 public static string GenPoster(this ImageDetails im, string fallbackimage = "plex_404V.png")
 {
     if ((im == null) || (im.ImageID == 0))
     {
         return(PlexHelper.ConstructSupportImageLink(fallbackimage));
     }
     return(PlexHelper.ConstructThumbLink((int)im.ImageType, im.ImageID));
 }