mirror of
https://github.com/jellyfin/jellyfin-plugin-anidb.git
synced 2024-11-26 23:50:26 +00:00
Update Jellyfin.Plugin.Anime -> Jellyfin.Plugin.AniDB
This commit is contained in:
parent
b224a53f35
commit
c0bd751c54
@ -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.AniDB", "Jellyfin.Plugin.AniDB\Jellyfin.Plugin.AniDB.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.AniDB
|
||||
{
|
||||
public class AsyncSemaphore
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using MediaBrowser.Model.Plugins;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Configuration
|
||||
namespace Jellyfin.Plugin.AniDB.Configuration
|
||||
{
|
||||
public enum TitlePreferenceType
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Plugin.Anime
|
||||
namespace Jellyfin.Plugin.AniDB
|
||||
{
|
||||
public static class Constants
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime
|
||||
namespace Jellyfin.Plugin.AniDB
|
||||
{
|
||||
public static class DictionaryExtensions
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RootNamespace>Jellyfin.Plugin.Anime</RootNamespace>
|
||||
<RootNamespace>Jellyfin.Plugin.AniDB</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.AniDB.Configuration;
|
||||
using Jellyfin.Plugin.AniDB.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.AniDB
|
||||
{
|
||||
public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
||||
{
|
||||
|
@ -4,7 +4,7 @@ using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB
|
||||
{
|
||||
public class AniDbExternalId : IExternalId
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Converter
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Converter
|
||||
{
|
||||
public struct AniDbEpisodeIdentity
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Converter
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Converter
|
||||
{
|
||||
public struct TvdbEpisodeIdentity
|
||||
{
|
||||
|
@ -4,11 +4,11 @@ using System.IO.Compression;
|
||||
using System.Net.Http;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Jellyfin.Plugin.Anime.Providers.AniDB.Metadata;
|
||||
using Jellyfin.Plugin.AniDB.Providers.AniDB.Metadata;
|
||||
using MediaBrowser.Common.Configuration;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Identity
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Identity
|
||||
{
|
||||
/// <summary>
|
||||
/// The AniDbTitleDownloader class downloads the anime titles file from AniDB and stores it.
|
||||
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||
using System.Xml;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Identity
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Identity
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="AniDbTitleMatcher"/> class loads series titles from the series.xml file in the application data anidb folder,
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Identity
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Identity
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="IAniDbTitleDownloader"/> interface defines a type which can download anime titles and their AniDB IDs.
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Identity
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Identity
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="IAniDbTitleMatcher"/> interface defines a type which can match series titles to AniDB IDs.
|
||||
|
@ -6,14 +6,14 @@ using System.IO;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml;
|
||||
using Jellyfin.Plugin.Anime.Providers.AniDB.Converter;
|
||||
using Jellyfin.Plugin.AniDB.Providers.AniDB.Converter;
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Controller.Configuration;
|
||||
using MediaBrowser.Controller.Entities.TV;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Metadata
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="AniDbEpisodeProvider" /> class provides episode metadata from AniDB.
|
||||
|
@ -15,7 +15,7 @@ using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Metadata
|
||||
{
|
||||
public class AniDbImageProvider : IRemoteImageProvider
|
||||
{
|
||||
|
@ -9,7 +9,7 @@ using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Providers;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Metadata
|
||||
{
|
||||
public class AniDbMovieProvider : IRemoteMetadataProvider<Movie, MovieInfo>
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Metadata
|
||||
{
|
||||
public class AniDbPersonInfo
|
||||
{
|
||||
|
@ -12,7 +12,7 @@ using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Metadata
|
||||
{
|
||||
public class AniDbPersonProvider : IRemoteMetadataProvider<Person, PersonLookupInfo>
|
||||
{
|
||||
|
@ -9,7 +9,7 @@ using MediaBrowser.Controller.Entities.TV;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Metadata
|
||||
{
|
||||
public class AniDbSeasonProvider : IRemoteMetadataProvider<Season, SeasonInfo>
|
||||
{
|
||||
|
@ -13,8 +13,8 @@ using System.Xml.Linq;
|
||||
using System.Xml.Serialization;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using Jellyfin.Plugin.Anime.Configuration;
|
||||
using Jellyfin.Plugin.Anime.Providers.AniDB.Identity;
|
||||
using Jellyfin.Plugin.AniDB.Configuration;
|
||||
using Jellyfin.Plugin.AniDB.Providers.AniDB.Identity;
|
||||
using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
@ -23,7 +23,7 @@ using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Metadata
|
||||
{
|
||||
public class AniDbSeriesProvider : 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.AniDB.Configuration;
|
||||
using MediaBrowser.Controller.Entities.TV;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers
|
||||
namespace Jellyfin.Plugin.AniDB.Providers
|
||||
{
|
||||
public static class GenreHelper
|
||||
{
|
||||
|
@ -1,10 +1,7 @@
|
||||
namespace Jellyfin.Plugin.Anime.Providers
|
||||
namespace Jellyfin.Plugin.AniDB.Providers
|
||||
{
|
||||
public class ProviderNames
|
||||
{
|
||||
public const string AniDb = "AniDB";
|
||||
public const string AniList = "AniList";
|
||||
public const string AniSearch = "AniSearch";
|
||||
public const string KitsuIo = "Kitsu";
|
||||
}
|
||||
}
|
||||
|
@ -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.AniDB.Providers.AniDB.Identity;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime.Providers
|
||||
namespace Jellyfin.Plugin.AniDB.Providers
|
||||
{
|
||||
internal class Equals_check
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Jellyfin.Plugin.Anime
|
||||
namespace Jellyfin.Plugin.AniDB
|
||||
{
|
||||
/// <summary>
|
||||
/// The RateLimiter class attempts to regulate the rate at which an event occurs, by delaying
|
||||
|
7
Jellyfin.Plugin.Anime/Providers/ProviderNames.cs
Normal file
7
Jellyfin.Plugin.Anime/Providers/ProviderNames.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace Jellyfin.Plugin.AniDB.Providers
|
||||
{
|
||||
public class ProviderNames
|
||||
{
|
||||
public const string AniDb = "AniDB";
|
||||
}
|
||||
}
|
@ -11,6 +11,6 @@ description: >
|
||||
and options for organizing your collection.
|
||||
category: "Metadata"
|
||||
artifacts:
|
||||
- "Jellyfin.Plugin.Anime.dll"
|
||||
- "Jellyfin.Plugin.AniDB.dll"
|
||||
changelog: >
|
||||
changelog
|
||||
|
Loading…
Reference in New Issue
Block a user