mirror of
https://github.com/cxfksword/jellyfin-plugin-danmu.git
synced 2026-02-02 17:59:58 +08:00
31 lines
772 B
C#
31 lines
772 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Controller.Entities.TV;
|
|
using MediaBrowser.Controller.Providers;
|
|
using MediaBrowser.Model.Entities;
|
|
using MediaBrowser.Model.Providers;
|
|
|
|
namespace Jellyfin.Plugin.Danmu.Scrapers.Dandan.ExternalId
|
|
{
|
|
|
|
/// <inheritdoc />
|
|
public class SeasonExternalId : IExternalId
|
|
{
|
|
/// <inheritdoc />
|
|
public string ProviderName => Dandan.ScraperProviderName;
|
|
|
|
/// <inheritdoc />
|
|
public string Key => Dandan.ScraperProviderId;
|
|
|
|
/// <inheritdoc />
|
|
public ExternalIdMediaType? Type => null;
|
|
|
|
/// <inheritdoc />
|
|
public bool Supports(IHasProviderIds item) => item is Season;
|
|
}
|
|
|
|
}
|