Update Jellyfin.Plugin.Anime -> Jellyfin.Plugin.AniSearch

This commit is contained in:
Odd Stråbø 2020-12-15 00:42:50 +01:00
parent 6ad21b19f8
commit 0b2f247d4c
15 changed files with 22 additions and 22 deletions

View File

@ -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

View File

@ -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
{

View File

@ -1,6 +1,6 @@
using MediaBrowser.Model.Plugins;
namespace Jellyfin.Plugin.Anime.Configuration
namespace Jellyfin.Plugin.AniSearch.Configuration
{
public enum TitlePreferenceType
{

View File

@ -1,4 +1,4 @@
namespace Jellyfin.Plugin.Anime
namespace Jellyfin.Plugin.AniSearch
{
public static class Constants
{

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace Jellyfin.Plugin.Anime
namespace Jellyfin.Plugin.AniSearch
{
public static class DictionaryExtensions
{

View File

@ -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>

View File

@ -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
{

View File

@ -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

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -1,4 +1,4 @@
namespace Jellyfin.Plugin.Anime.Providers
namespace Jellyfin.Plugin.AniSearch.Providers
{
public class ProviderNames
{

View File

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

View File

@ -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

View File

@ -11,6 +11,6 @@ description: >
and options for organizing your collection.
category: "Metadata"
artifacts:
- "Jellyfin.Plugin.Anime.dll"
- "Jellyfin.Plugin.AniSearch.dll"
changelog: >
changelog