diff --git a/DtoImporterService/UNTESTED/BookImporter.cs b/DtoImporterService/UNTESTED/BookImporter.cs
index 749c47bb..edbcc17e 100644
--- a/DtoImporterService/UNTESTED/BookImporter.cs
+++ b/DtoImporterService/UNTESTED/BookImporter.cs
@@ -131,7 +131,18 @@ namespace DtoImporterService
foreach (var seriesEntry in item.Series)
{
var series = DbContext.Series.Local.Single(s => seriesEntry.SeriesId == s.AudibleSeriesId);
- book.UpsertSeries(series, seriesEntry.Index);
+
+ var index = 0f;
+ try
+ {
+ index = seriesEntry.Index;
+ }
+ catch (Exception ex)
+ {
+ Serilog.Log.Logger.Error(ex, $"Error parsing series index. Title: {item.Title}. ASIN: {item.Asin}. Series index: {seriesEntry.Sequence}");
+ }
+
+ book.UpsertSeries(series, index);
}
}
}
diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj
index d5b73851..0e1314fd 100644
--- a/LibationLauncher/LibationLauncher.csproj
+++ b/LibationLauncher/LibationLauncher.csproj
@@ -13,7 +13,7 @@
win-x64
- 3.1.4.8
+ 3.1.5.3
diff --git a/REFERENCE.txt b/REFERENCE.txt
index 14542ad4..c06f24a9 100644
--- a/REFERENCE.txt
+++ b/REFERENCE.txt
@@ -1,6 +1,7 @@
-- begin VERSIONING ---------------------------------------------------------------------------------------------------------------------
https://github.com/rmcrackan/Libation/releases
+v3.1.5 : Bugfix: some series indexes/sequences could cause library not to import
v3.1.4 : Bugfix: IsAuthorNarrated was returning no books
v3.1.3 : fix weirdness with build number
v3.1.2 : minor bug fixes