specify tiff mime types

This commit is contained in:
Luke Pulverenti 2017-06-24 14:31:13 -04:00
parent 0a379fc27c
commit f57dfc6a61
2 changed files with 1 additions and 10 deletions

View File

@ -122,16 +122,6 @@ namespace MediaBrowser.Model.Dto
/// <value>The primary image aspect ratio.</value>
public double? PrimaryImageAspectRatio { get; set; }
/// <summary>
/// Gets a value indicating whether this instance has primary image.
/// </summary>
/// <value><c>true</c> if this instance has primary image; otherwise, <c>false</c>.</value>
[IgnoreDataMember]
public bool HasPrimaryImage
{
get { return PrimaryImageTag != null; }
}
/// <summary>
/// Initializes a new instance of the <see cref="UserDto"/> class.
/// </summary>

View File

@ -72,6 +72,7 @@ namespace MediaBrowser.Model.Net
dict.Add(".tbn", "image/jpeg");
dict.Add(".png", "image/png");
dict.Add(".gif", "image/gif");
dict.Add(".tiff", "image/tiff");
dict.Add(".webp", "image/webp");
dict.Add(".ico", "image/vnd.microsoft.icon");
dict.Add(".mpg", "video/mpeg");