mirror of
https://github.com/metatube-community/jellyfin-plugin-metatube.git
synced 2026-02-03 02:25:02 +08:00
19 lines
429 B
C#
19 lines
429 B
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Model.Entities;
|
|
#if !__EMBY__
|
|
using MediaBrowser.Model.Providers;
|
|
#endif
|
|
|
|
namespace Jellyfin.Plugin.MetaTube.ExternalIds;
|
|
|
|
public class ActorExternalId : BaseExternalId
|
|
{
|
|
#if !__EMBY__
|
|
public override ExternalIdMediaType? Type => ExternalIdMediaType.Person;
|
|
#endif
|
|
|
|
public override bool Supports(IHasProviderIds item)
|
|
{
|
|
return item is Person;
|
|
}
|
|
} |