using MediaBrowser.Model.Entities;
using System;
using MediaBrowser.Model.Serialization;
namespace MediaBrowser.Controller.Entities
{
public class ItemImageInfo
{
///
/// Gets or sets the path.
///
/// The path.
public string Path { get; set; }
///
/// Gets or sets the type.
///
/// The type.
public ImageType Type { get; set; }
///
/// Gets or sets the date modified.
///
/// The date modified.
public DateTime DateModified { get; set; }
[IgnoreDataMember]
public bool IsLocalFile
{
get
{
if (Path != null)
{
if (Path.StartsWith("http", StringComparison.OrdinalIgnoreCase))
{
return false;
}
}
return true;
}
}
}
}