Update for 10.6.0

This commit is contained in:
Odd Stråbø 2020-06-30 14:33:17 +02:00
parent 4402640e5e
commit e2be8abd0f
4 changed files with 16 additions and 4 deletions

View File

@ -8,7 +8,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Jellyfin.Controller" Version="10.*" />
<PackageReference Include="Jellyfin.Controller" Version="10.*-*" />
</ItemGroup>
<ItemGroup>

View File

@ -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}";
}

View File

@ -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}/";
}

View File

@ -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}";
}