From ad82c9f5e95e2b1f94ba7adda047dbfbc38004ea Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 28 Jan 2014 13:37:01 -0500 Subject: New provider system. Only for people right now --- MediaBrowser.Controller/Entities/IHasImages.cs | 27 +++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Controller/Entities/IHasImages.cs') diff --git a/MediaBrowser.Controller/Entities/IHasImages.cs b/MediaBrowser.Controller/Entities/IHasImages.cs index a7cd76a66..784337e3b 100644 --- a/MediaBrowser.Controller/Entities/IHasImages.cs +++ b/MediaBrowser.Controller/Entities/IHasImages.cs @@ -1,5 +1,6 @@ using MediaBrowser.Model.Entities; using System; +using System.Collections.Generic; using System.Threading.Tasks; namespace MediaBrowser.Controller.Entities @@ -10,7 +11,7 @@ namespace MediaBrowser.Controller.Entities /// Gets the name. /// /// The name. - string Name { get; } + string Name { get; set; } /// /// Gets the path. @@ -24,6 +25,12 @@ namespace MediaBrowser.Controller.Entities /// The identifier. Guid Id { get; } + /// + /// Gets the type of the location. + /// + /// The type of the location. + LocationType LocationType { get; } + /// /// Gets the image path. /// @@ -81,6 +88,24 @@ namespace MediaBrowser.Controller.Entities /// /// System.String. string GetPreferredMetadataLanguage(); + + /// + /// Validates the images and returns true or false indicating if any were removed. + /// + bool ValidateImages(); + + /// + /// Gets or sets the backdrop image paths. + /// + /// The backdrop image paths. + List BackdropImagePaths { get; set; } + + /// + /// Determines whether [contains image with source URL] [the specified URL]. + /// + /// The URL. + /// true if [contains image with source URL] [the specified URL]; otherwise, false. + bool ContainsImageWithSourceUrl(string url); } public static class HasImagesExtensions -- cgit v1.2.3