@ -1,4 +1,4 @@
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.MediaCover
{
@ -12,7 +12,8 @@ namespace NzbDrone.Core.MediaCover
Screenshot = 4,
Headshot = 5,
Cover = 6,
Disc = 7
Disc = 7,
Logo = 8
}
public class MediaCover : IEmbeddedDocument
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
@ -128,6 +128,9 @@ namespace NzbDrone.Core.MediaCover
return;
case MediaCoverTypes.Poster:
case MediaCoverTypes.Cover:
case MediaCoverTypes.Disc:
case MediaCoverTypes.Logo:
case MediaCoverTypes.Headshot:
heights = new[] { 500, 250 };
break;
@ -261,6 +261,8 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
return MediaCoverTypes.Cover;
case "disc":
return MediaCoverTypes.Disc;
case "logo":
return MediaCoverTypes.Logo;
default:
return MediaCoverTypes.Unknown;