Merge pull request #75 from oddstr13/pr-10.6-1

Update for 10.6.0
This commit is contained in:
Joshua M. Boniface 2020-07-05 18:21:55 -04:00 committed by GitHub
commit 68e6081a64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 8 deletions

View File

@ -3,12 +3,12 @@
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>Jellyfin.Plugin.Anime</RootNamespace>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<FileVersion>8.0.0.0</FileVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<FileVersion>9.0.0.0</FileVersion>
</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}";
}

View File

@ -1,8 +1,8 @@
---
name: "Anime"
guid: "a4df60c5-6ab4-412a-8f79-2cab93fb2bc5"
version: "8.0.0.0"
targetAbi: "10.5.0.0"
version: "9.0.0.0"
targetAbi: "10.6.0.0"
owner: "jellyfin"
overview: "Manage your anime from Jellyfin"
description: >