mirror of
https://github.com/jellyfin/jellyfin-plugin-anisearch.git
synced 2024-11-26 23:50:40 +00:00
Update Jellyfin.Plugin.Anime -> Jellyfin.Plugin.AniSearch
This commit is contained in:
parent
6ad21b19f8
commit
0b2f247d4c
@ -3,7 +3,7 @@ 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}") = "Jellyfin.Plugin.Anime", "Jellyfin.Plugin.Anime\Jellyfin.Plugin.Anime.csproj", "{1363456E-55A2-4FC5-872D-97923FCD34F2}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Plugin.AniSearch", "Jellyfin.Plugin.AniSearch\Jellyfin.Plugin.AniSearch.csproj", "{1363456E-55A2-4FC5-872D-97923FCD34F2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
@ -5,7 +5,7 @@ using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime
|
||||
namespace Jellyfin.Plugin.AniSearch
|
||||
{
|
||||
public class AsyncSemaphore
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using MediaBrowser.Model.Plugins;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Configuration
|
||||
namespace Jellyfin.Plugin.AniSearch.Configuration
|
||||
{
|
||||
public enum TitlePreferenceType
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Plugin.Anime
|
||||
namespace Jellyfin.Plugin.AniSearch
|
||||
{
|
||||
public static class Constants
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime
|
||||
namespace Jellyfin.Plugin.AniSearch
|
||||
{
|
||||
public static class DictionaryExtensions
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RootNamespace>Jellyfin.Plugin.Anime</RootNamespace>
|
||||
<RootNamespace>Jellyfin.Plugin.AniSearch</RootNamespace>
|
||||
<AssemblyVersion>11.0.0.0</AssemblyVersion>
|
||||
<FileVersion>11.0.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
@ -2,8 +2,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using Jellyfin.Plugin.Anime.Configuration;
|
||||
using Jellyfin.Plugin.Anime.Providers.AniDB.Identity;
|
||||
using Jellyfin.Plugin.AniSearch.Configuration;
|
||||
using Jellyfin.Plugin.AniSearch.Providers.AniDB.Identity;
|
||||
using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Common.Plugins;
|
||||
using MediaBrowser.Common.Net;
|
||||
@ -11,7 +11,7 @@ using MediaBrowser.Model.Plugins;
|
||||
using MediaBrowser.Model.Serialization;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime
|
||||
namespace Jellyfin.Plugin.AniSearch
|
||||
{
|
||||
public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
||||
{
|
||||
|
@ -4,11 +4,11 @@ using System.Net.Http;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Jellyfin.Plugin.Anime.Configuration;
|
||||
using Jellyfin.Plugin.AniSearch.Configuration;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniSearch
|
||||
namespace Jellyfin.Plugin.AniSearch.Providers.AniSearch
|
||||
{
|
||||
/// <summary>
|
||||
/// API for https://anisearch.com
|
||||
|
@ -3,7 +3,7 @@ using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniSearch
|
||||
namespace Jellyfin.Plugin.AniSearch.Providers.AniSearch
|
||||
{
|
||||
public class AniSearchExternalId : IExternalId
|
||||
{
|
||||
|
@ -13,7 +13,7 @@ using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniSearch
|
||||
namespace Jellyfin.Plugin.AniSearch.Providers.AniSearch
|
||||
{
|
||||
public class AniSearchSeriesProvider : IRemoteMetadataProvider<Series, SeriesInfo>, IHasOrder
|
||||
{
|
||||
|
@ -2,10 +2,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using Jellyfin.Plugin.Anime.Configuration;
|
||||
using Jellyfin.Plugin.AniSearch.Configuration;
|
||||
using MediaBrowser.Controller.Entities.TV;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers
|
||||
namespace Jellyfin.Plugin.AniSearch.Providers
|
||||
{
|
||||
public static class GenreHelper
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Plugin.Anime.Providers
|
||||
namespace Jellyfin.Plugin.AniSearch.Providers
|
||||
{
|
||||
public class ProviderNames
|
||||
{
|
||||
|
@ -6,10 +6,10 @@ using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Linq;
|
||||
using Jellyfin.Plugin.Anime.Providers.AniDB.Identity;
|
||||
using Jellyfin.Plugin.AniSearch.Providers.AniDB.Identity;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers
|
||||
namespace Jellyfin.Plugin.AniSearch.Providers
|
||||
{
|
||||
internal class Equals_check
|
||||
{
|
||||
@ -100,7 +100,7 @@ namespace Jellyfin.Plugin.Anime.Providers
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Cut p(%) away from the string
|
||||
/// </summary>
|
||||
@ -272,7 +272,7 @@ namespace Jellyfin.Plugin.Anime.Providers
|
||||
var a_ = from page in doc.Elements("anime")
|
||||
where _aid == page.Attribute("aid").Value
|
||||
select page;
|
||||
|
||||
|
||||
if (await Simple_compare(a_.Elements("title"), b, cancellationToken) && await Simple_compare(a_.Elements("title"), a, cancellationToken))
|
||||
{
|
||||
return _aid;
|
||||
|
@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime
|
||||
namespace Jellyfin.Plugin.AniSearch
|
||||
{
|
||||
/// <summary>
|
||||
/// The RateLimiter class attempts to regulate the rate at which an event occurs, by delaying
|
||||
|
@ -11,6 +11,6 @@ description: >
|
||||
and options for organizing your collection.
|
||||
category: "Metadata"
|
||||
artifacts:
|
||||
- "Jellyfin.Plugin.Anime.dll"
|
||||
- "Jellyfin.Plugin.AniSearch.dll"
|
||||
changelog: >
|
||||
changelog
|
||||
|
Loading…
Reference in New Issue
Block a user