mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
29 lines
1.3 KiB
C#
29 lines
1.3 KiB
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Model.Configuration;
|
|
|
|
namespace MediaBrowser.Controller.BaseItemManager
|
|
{
|
|
/// <summary>
|
|
/// The <c>BaseItem</c> manager.
|
|
/// </summary>
|
|
public interface IBaseItemManager
|
|
{
|
|
/// <summary>
|
|
/// Is metadata fetcher enabled.
|
|
/// </summary>
|
|
/// <param name="baseItem">The base item.</param>
|
|
/// <param name="libraryTypeOptions">The type options for <c>baseItem</c> from the library (if defined).</param>
|
|
/// <param name="name">The metadata fetcher name.</param>
|
|
/// <returns><c>true</c> if metadata fetcher is enabled, else false.</returns>
|
|
bool IsMetadataFetcherEnabled(BaseItem baseItem, TypeOptions? libraryTypeOptions, string name);
|
|
|
|
/// <summary>
|
|
/// Is image fetcher enabled.
|
|
/// </summary>
|
|
/// <param name="baseItem">The base item.</param>
|
|
/// <param name="libraryTypeOptions">The type options for <c>baseItem</c> from the library (if defined).</param>
|
|
/// <param name="name">The image fetcher name.</param>
|
|
/// <returns><c>true</c> if image fetcher is enabled, else false.</returns>
|
|
bool IsImageFetcherEnabled(BaseItem baseItem, TypeOptions? libraryTypeOptions, string name);
|
|
}
|
|
}
|