mirror of https://github.com/jellyfin/jellyfin.git
commit
fcee64df09
|
@ -36,6 +36,12 @@ namespace MediaBrowser.Controller.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public abstract class BaseItem : IHasProviderIds, IHasLookupInfo<ItemLookupInfo>
|
public abstract class BaseItem : IHasProviderIds, IHasLookupInfo<ItemLookupInfo>
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The supported image extensions
|
||||||
|
/// </summary>
|
||||||
|
public static readonly IReadOnlyList<string> SupportedImageExtensions
|
||||||
|
= new [] { ".png", ".jpg", ".jpeg", ".tbn", ".gif" };
|
||||||
|
|
||||||
private static readonly List<string> _supportedExtensions = new List<string>(SupportedImageExtensions)
|
private static readonly List<string> _supportedExtensions = new List<string>(SupportedImageExtensions)
|
||||||
{
|
{
|
||||||
".nfo",
|
".nfo",
|
||||||
|
@ -69,11 +75,6 @@ namespace MediaBrowser.Controller.Entities
|
||||||
public static readonly char[] SlugReplaceChars = { '?', '/', '&' };
|
public static readonly char[] SlugReplaceChars = { '?', '/', '&' };
|
||||||
public static char SlugChar = '-';
|
public static char SlugChar = '-';
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// The supported image extensions
|
|
||||||
/// </summary>
|
|
||||||
public static readonly string[] SupportedImageExtensions = { ".png", ".jpg", ".jpeg", ".tbn", ".gif" };
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The trailer folder name
|
/// The trailer folder name
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in New Issue