mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 12:28:19 +02:00
39 lines
908 B
C#
39 lines
908 B
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
{
|
|
public interface IExtrasProvider
|
|
{
|
|
/// <summary>
|
|
/// Gets the name.
|
|
/// </summary>
|
|
/// <value>The name.</value>
|
|
string Name { get; }
|
|
|
|
/// <summary>
|
|
/// Supportses the specified item.
|
|
/// </summary>
|
|
/// <param name="item">The item.</param>
|
|
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
|
|
bool Supports(IHasMetadata item);
|
|
}
|
|
|
|
public enum ExtraSource
|
|
{
|
|
Local = 1,
|
|
Metadata = 2,
|
|
Remote = 3
|
|
}
|
|
|
|
public class ExtraInfo
|
|
{
|
|
public string Path { get; set; }
|
|
|
|
public LocationType LocationType { get; set; }
|
|
|
|
public bool IsDownloadable { get; set; }
|
|
|
|
public ExtraType ExtraType { get; set; }
|
|
}
|
|
}
|