mirror of
https://github.com/jellyfin/jellyfin-plugin-anisearch.git
synced 2024-11-23 22:09:39 +00:00
Rebased. Fixed AniDB and added Async.
This commit is contained in:
parent
75c4eb4366
commit
5ff235f98e
@ -18,7 +18,7 @@ namespace Jellyfin.Plugin.Anime.Providers.AniDB.Identity
|
||||
/// <summary>
|
||||
/// The URL for retrieving a list of all anime titles and their AniDB IDs.
|
||||
/// </summary>
|
||||
private const string TitlesUrl = "http://anidb.net/api/animetitles.xml";
|
||||
private const string TitlesUrl = "http://anidb.net/api/animetitles.xml.gz";
|
||||
|
||||
private readonly IApplicationPaths _paths;
|
||||
private readonly ILogger _logger;
|
||||
|
@ -81,6 +81,7 @@ namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
{
|
||||
var settings = new XmlReaderSettings
|
||||
{
|
||||
Async = true,
|
||||
CheckCharacters = false,
|
||||
IgnoreProcessingInstructions = true,
|
||||
IgnoreComments = true,
|
||||
|
@ -144,6 +144,7 @@ namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
var series = result.Item;
|
||||
var settings = new XmlReaderSettings
|
||||
{
|
||||
Async = true,
|
||||
CheckCharacters = false,
|
||||
IgnoreProcessingInstructions = true,
|
||||
IgnoreComments = true,
|
||||
@ -559,6 +560,7 @@ namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
{
|
||||
var settings = new XmlReaderSettings
|
||||
{
|
||||
Async = true,
|
||||
CheckCharacters = false,
|
||||
IgnoreProcessingInstructions = true,
|
||||
IgnoreComments = true,
|
||||
@ -592,6 +594,7 @@ namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
{
|
||||
var settings = new XmlReaderSettings
|
||||
{
|
||||
Async = true,
|
||||
CheckCharacters = false,
|
||||
IgnoreProcessingInstructions = true,
|
||||
IgnoreComments = true,
|
||||
@ -779,6 +782,7 @@ namespace Jellyfin.Plugin.Anime.Providers.AniDB.Metadata
|
||||
{
|
||||
var settings = new XmlReaderSettings
|
||||
{
|
||||
Async = true,
|
||||
CheckCharacters = false,
|
||||
IgnoreProcessingInstructions = true,
|
||||
IgnoreComments = true,
|
||||
|
Loading…
Reference in New Issue
Block a user