Skip to content

Commit d6afa61

Browse files
Merge pull request #41 from zepx/fix-anidb
Fixed AniDB. Bumped version.
2 parents 75c4eb4 + 3144557 commit d6afa61

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

Jellyfin.Plugin.Anime/Jellyfin.Plugin.Anime.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<RootNamespace>Jellyfin.Plugin.Anime</RootNamespace>
6-
<AssemblyVersion>3.0.0</AssemblyVersion>
7-
<FileVersion>3.0.0</FileVersion>
6+
<AssemblyVersion>4.0.0</AssemblyVersion>
7+
<FileVersion>4.0.0</FileVersion>
88
</PropertyGroup>
99

1010
<ItemGroup>

Jellyfin.Plugin.Anime/Providers/AniDB/Identity/AniDbTitleDownloader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class AniDbTitleDownloader : IAniDbTitleDownloader
1818
/// <summary>
1919
/// The URL for retrieving a list of all anime titles and their AniDB IDs.
2020
/// </summary>
21-
private const string TitlesUrl = "http://anidb.net/api/animetitles.xml";
21+
private const string TitlesUrl = "http://anidb.net/api/animetitles.xml.gz";
2222

2323
private readonly IApplicationPaths _paths;
2424
private readonly ILogger _logger;

Jellyfin.Plugin.Anime/Providers/AniDB/Metadata/AniDbSeriesImagesProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ private async Task<string> FindImageUrl(string seriesDataPath)
8181
{
8282
var settings = new XmlReaderSettings
8383
{
84+
Async = true,
8485
CheckCharacters = false,
8586
IgnoreProcessingInstructions = true,
8687
IgnoreComments = true,

Jellyfin.Plugin.Anime/Providers/AniDB/Metadata/AniDbSeriesProvider.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ private async Task FetchSeriesInfo(MetadataResult<Series> result, string seriesD
144144
var series = result.Item;
145145
var settings = new XmlReaderSettings
146146
{
147+
Async = true,
147148
CheckCharacters = false,
148149
IgnoreProcessingInstructions = true,
149150
IgnoreComments = true,
@@ -559,6 +560,7 @@ private static async Task ExtractEpisodes(string seriesDataDirectory, string ser
559560
{
560561
var settings = new XmlReaderSettings
561562
{
563+
Async = true,
562564
CheckCharacters = false,
563565
IgnoreProcessingInstructions = true,
564566
IgnoreComments = true,
@@ -592,6 +594,7 @@ private static async Task ExtractCast(string cachePath, string seriesDataPath)
592594
{
593595
var settings = new XmlReaderSettings
594596
{
597+
Async = true,
595598
CheckCharacters = false,
596599
IgnoreProcessingInstructions = true,
597600
IgnoreComments = true,
@@ -779,6 +782,7 @@ private static async Task<string> ParseEpisodeNumber(string xml)
779782
{
780783
var settings = new XmlReaderSettings
781784
{
785+
Async = true,
782786
CheckCharacters = false,
783787
IgnoreProcessingInstructions = true,
784788
IgnoreComments = true,

build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "jellyfin-plugin-anime"
33
guid: "a4df60c5-6ab4-412a-8f79-2cab93fb2bc5"
4-
version: "3" # Please increment with each pull request
4+
version: "4" # Please increment with each pull request
55
jellyfin_version: "10.3.0" # The earliest binary-compatible version
66
owner: "jellyfin"
77
nicename: "Anime"

0 commit comments

Comments
 (0)