mirror of
https://github.com/jellyfin/jellyfin-plugin-anidb.git
synced 2024-11-23 13:59:43 +00:00
Update for 10.6.0
This commit is contained in:
parent
4402640e5e
commit
e2be8abd0f
@ -8,7 +8,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.*" />
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.*-*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -2,6 +2,7 @@
|
||||
using MediaBrowser.Controller.Entities.Movies;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB
|
||||
{
|
||||
@ -10,12 +11,15 @@ namespace Jellyfin.Plugin.Anime.Providers.AniDB
|
||||
public bool Supports(IHasProviderIds item)
|
||||
=> item is Series || item is Movie;
|
||||
|
||||
public string Name
|
||||
public string ProviderName
|
||||
=> "AniDB";
|
||||
|
||||
public string Key
|
||||
=> ProviderNames.AniDb;
|
||||
|
||||
public ExternalIdMediaType? Type
|
||||
=> null;
|
||||
|
||||
public string UrlFormatString
|
||||
=> "https://anidb.net/perl-bin/animedb.pl?show=anime&aid={0}";
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
using MediaBrowser.Controller.Entities.TV;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniList
|
||||
{
|
||||
@ -9,12 +10,15 @@ namespace Jellyfin.Plugin.Anime.Providers.AniList
|
||||
public bool Supports(IHasProviderIds item)
|
||||
=> item is Series;
|
||||
|
||||
public string Name
|
||||
public string ProviderName
|
||||
=> "AniList";
|
||||
|
||||
public string Key
|
||||
=> ProviderNames.AniList;
|
||||
|
||||
public ExternalIdMediaType? Type
|
||||
=> ExternalIdMediaType.Series;
|
||||
|
||||
public string UrlFormatString
|
||||
=> "https://anilist.co/anime/{0}/";
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
using MediaBrowser.Controller.Entities.TV;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniSearch
|
||||
{
|
||||
@ -9,12 +10,15 @@ namespace Jellyfin.Plugin.Anime.Providers.AniSearch
|
||||
public bool Supports(IHasProviderIds item)
|
||||
=> item is Series;
|
||||
|
||||
public string Name
|
||||
public string ProviderName
|
||||
=> "AniSearch";
|
||||
|
||||
public string Key
|
||||
=> ProviderNames.AniSearch;
|
||||
|
||||
public ExternalIdMediaType? Type
|
||||
=> ExternalIdMediaType.Series;
|
||||
|
||||
public string UrlFormatString
|
||||
=> "https://www.anisearch.com/anime/{0}";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user