mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-16 05:36:52 +01:00
27 lines
625 B
C#
27 lines
625 B
C#
using System;
|
|
using MediaBrowser.Model.Configuration;
|
|
|
|
namespace MediaBrowser.Controller.Library;
|
|
|
|
/// <summary>
|
|
/// Base marker interface for similar items providers.
|
|
/// </summary>
|
|
public interface ISimilarItemsProvider
|
|
{
|
|
/// <summary>
|
|
/// Gets the name of the provider.
|
|
/// </summary>
|
|
string Name { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the type of the provider.
|
|
/// </summary>
|
|
MetadataPluginType Type { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the cache duration for results from this provider.
|
|
/// If null, results will not be cached.
|
|
/// </summary>
|
|
TimeSpan? CacheDuration => null;
|
|
}
|