mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-07 16:28:56 +01:00
added toggles for metadata settings
This commit is contained in:
@@ -15,8 +15,14 @@ namespace MediaBrowser.Model.Configuration
|
||||
public ImageOption[] ImageOptions { get; set; }
|
||||
|
||||
public string[] DisabledMetadataSavers { get; set; }
|
||||
public string[] LocalMetadataReaders { get; set; }
|
||||
public string[] LocalMetadataReaderOrder { get; set; }
|
||||
|
||||
public string[] DisabledMetadataFetchers { get; set; }
|
||||
public string[] MetadataFetcherOrder { get; set; }
|
||||
|
||||
public string[] DisabledImageFetchers { get; set; }
|
||||
public string[] ImageFetcherOrder { get; set; }
|
||||
|
||||
public MetadataOptions()
|
||||
: this(3, 1280)
|
||||
{
|
||||
@@ -36,7 +42,12 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
ImageOptions = imageOptions.ToArray();
|
||||
DisabledMetadataSavers = new string[] { };
|
||||
LocalMetadataReaders = new string[] { };
|
||||
LocalMetadataReaderOrder = new string[] { };
|
||||
|
||||
DisabledMetadataFetchers = new string[] { };
|
||||
MetadataFetcherOrder = new string[] { };
|
||||
DisabledImageFetchers = new string[] { };
|
||||
ImageFetcherOrder = new string[] { };
|
||||
}
|
||||
|
||||
public int GetLimit(ImageType type)
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
namespace MediaBrowser.Model.Providers
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.Providers
|
||||
{
|
||||
/// <summary>
|
||||
/// Class ImageProviderInfo.
|
||||
@@ -10,5 +13,12 @@
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
|
||||
public List<ImageType> SupportedImages { get; set; }
|
||||
|
||||
public ImageProviderInfo()
|
||||
{
|
||||
SupportedImages = new List<ImageType>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user