Files
jellyfin/MediaBrowser.Controller/Library/ISimilarItemsProvider.cs
2026-05-03 23:43:01 +02:00

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;
}