aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/ISimilarItemsProvider.cs
blob: 0d089369a85e2119bbcfcece507e185dff6a236c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
}