mirror of
https://github.com/jellyfin/jellyfin-plugin-anilist.git
synced 2024-11-23 14:09:51 +00:00
Fix github
This commit is contained in:
parent
a62431711c
commit
3dfb59534b
25
MediaBrowser.Plugins.Anime.sln
Normal file
25
MediaBrowser.Plugins.Anime.sln
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26730.3
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.Anime", "MediaBrowser.Plugins.Anime\MediaBrowser.Plugins.Anime.csproj", "{1363456E-55A2-4FC5-872D-97923FCD34F2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{1363456E-55A2-4FC5-872D-97923FCD34F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1363456E-55A2-4FC5-872D-97923FCD34F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1363456E-55A2-4FC5-872D-97923FCD34F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1363456E-55A2-4FC5-872D-97923FCD34F2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {0DCE7939-D75F-406C-8E3A-C3648C2A1262}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
25
MediaBrowser.Plugins.Anime/MediaBrowser.Plugins.Anime.csproj
Normal file
25
MediaBrowser.Plugins.Anime/MediaBrowser.Plugins.Anime.csproj
Normal file
@ -0,0 +1,25 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net46;</TargetFrameworks>
|
||||
<AssemblyVersion>1.2.3.0</AssemblyVersion>
|
||||
<FileVersion>1.2.3.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
|
||||
<OutputPath>bin\</OutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="Configuration\configPage.html" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Configuration\configPage.html" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="mediabrowser.server.core" Version="3.3.20" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -249,14 +249,14 @@ namespace MediaBrowser.Plugins.Anime.Providers.AniList
|
||||
|
||||
public string Name => "AniList";
|
||||
|
||||
public bool Supports(IHasMetadata item) => item is Series || item is Season;
|
||||
public bool Supports(BaseItem item) => item is Series || item is Season;
|
||||
|
||||
public IEnumerable<ImageType> GetSupportedImages(IHasMetadata item)
|
||||
public IEnumerable<ImageType> GetSupportedImages(BaseItem item)
|
||||
{
|
||||
return new[] { ImageType.Primary, ImageType.Banner };
|
||||
}
|
||||
|
||||
public Task<IEnumerable<RemoteImageInfo>> GetImages(IHasMetadata item, CancellationToken cancellationToken)
|
||||
public Task<IEnumerable<RemoteImageInfo>> GetImages(BaseItem item, CancellationToken cancellationToken)
|
||||
{
|
||||
var seriesId = item.GetProviderId(ProviderNames.AniList);
|
||||
return GetImages(seriesId, cancellationToken);
|
||||
|
@ -119,14 +119,14 @@ namespace MediaBrowser.Plugins.Anime.Providers.AniSearch
|
||||
|
||||
public string Name => "AniSearch";
|
||||
|
||||
public bool Supports(IHasMetadata item) => item is Series || item is Season;
|
||||
public bool Supports(BaseItem item) => item is Series || item is Season;
|
||||
|
||||
public IEnumerable<ImageType> GetSupportedImages(IHasMetadata item)
|
||||
public IEnumerable<ImageType> GetSupportedImages(BaseItem item)
|
||||
{
|
||||
return new[] { ImageType.Primary };
|
||||
}
|
||||
|
||||
public Task<IEnumerable<RemoteImageInfo>> GetImages(IHasMetadata item, CancellationToken cancellationToken)
|
||||
public Task<IEnumerable<RemoteImageInfo>> GetImages(BaseItem item, CancellationToken cancellationToken)
|
||||
{
|
||||
var seriesId = item.GetProviderId(ProviderNames.AniSearch);
|
||||
return GetImages(seriesId, cancellationToken);
|
||||
|
@ -126,14 +126,14 @@ namespace MediaBrowser.Plugins.Anime.Providers.MyAnimeList
|
||||
|
||||
public string Name => "MyAnimeList";
|
||||
|
||||
public bool Supports(IHasMetadata item) => item is Series || item is Season;
|
||||
public bool Supports(BaseItem item) => item is Series || item is Season;
|
||||
|
||||
public IEnumerable<ImageType> GetSupportedImages(IHasMetadata item)
|
||||
public IEnumerable<ImageType> GetSupportedImages(BaseItem item)
|
||||
{
|
||||
return new[] { ImageType.Primary };
|
||||
}
|
||||
|
||||
public Task<IEnumerable<RemoteImageInfo>> GetImages(IHasMetadata item, CancellationToken cancellationToken)
|
||||
public Task<IEnumerable<RemoteImageInfo>> GetImages(BaseItem item, CancellationToken cancellationToken)
|
||||
{
|
||||
var seriesId = item.GetProviderId(MyAnimeListSeriesProvider.provider_name);
|
||||
return GetImages(seriesId, cancellationToken);
|
||||
|
@ -120,14 +120,14 @@ namespace MediaBrowser.Plugins.Anime.Providers.Proxer
|
||||
|
||||
public string Name => "Proxer";
|
||||
|
||||
public bool Supports(IHasMetadata item) => item is Series || item is Season;
|
||||
public bool Supports(BaseItem item) => item is Series || item is Season;
|
||||
|
||||
public IEnumerable<ImageType> GetSupportedImages(IHasMetadata item)
|
||||
public IEnumerable<ImageType> GetSupportedImages(BaseItem item)
|
||||
{
|
||||
return new[] { ImageType.Primary };
|
||||
}
|
||||
|
||||
public Task<IEnumerable<RemoteImageInfo>> GetImages(IHasMetadata item, CancellationToken cancellationToken)
|
||||
public Task<IEnumerable<RemoteImageInfo>> GetImages(BaseItem item, CancellationToken cancellationToken)
|
||||
{
|
||||
var seriesId = item.GetProviderId(ProxerSeriesProvider.provider_name);
|
||||
return GetImages(seriesId, cancellationToken);
|
||||
|
Loading…
Reference in New Issue
Block a user