fixes #582 - support tbn image files.
This commit is contained in:
parent
e98665a091
commit
05378c82cb
|
@ -135,7 +135,7 @@ namespace MediaBrowser.Common.Net
|
|||
{
|
||||
return "image/gif";
|
||||
}
|
||||
if (ext.Equals(".jpg", StringComparison.OrdinalIgnoreCase) || ext.Equals(".jpeg", StringComparison.OrdinalIgnoreCase))
|
||||
if (ext.Equals(".jpg", StringComparison.OrdinalIgnoreCase) || ext.Equals(".jpeg", StringComparison.OrdinalIgnoreCase) || ext.Equals(".tbn", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "image/jpeg";
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
/// <summary>
|
||||
/// The supported image extensions
|
||||
/// </summary>
|
||||
public static readonly string[] SupportedImageExtensions = new[] { ".png", ".jpg", ".jpeg" };
|
||||
public static readonly string[] SupportedImageExtensions = new[] { ".png", ".jpg", ".jpeg", ".tbn" };
|
||||
|
||||
/// <summary>
|
||||
/// The trailer folder name
|
||||
|
|
Loading…
Reference in New Issue
Block a user