Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

OPDS Spec issue with Panels (#736)

Joseph Milazzo3a25608bf940
diff --git a/API/Controllers/OPDSController.cs b/API/Controllers/OPDSController.cs
index 34f0d3132..e7771c8e1 100644
--- a/API/Controllers/OPDSController.cs
+++ b/API/Controllers/OPDSController.cs
@@ -202,6 +202,7 @@ namespace API.Controllers
{
feed.Entries.Add(new FeedEntry()
{
+ Id = "0",
Title = "Nothing here",
});
}
@@ -324,6 +325,7 @@ namespace API.Controllers
{
feed.Entries.Add(new FeedEntry()
{
+ Id = "0",
Title = "Nothing here",
});
}
@@ -390,6 +392,7 @@ namespace API.Controllers
{
feed.Entries.Add(new FeedEntry()
{
+ Id = "0",
Title = "Nothing here",
});
}
@@ -429,6 +432,7 @@ namespace API.Controllers
{
feed.Entries.Add(new FeedEntry()
{
+ Id = "0",
Title = "Nothing here",
});
}
diff --git a/API/Data/Seed.cs b/API/Data/Seed.cs
index ae7c9e818..11f1afe86 100644
--- a/API/Data/Seed.cs
+++ b/API/Data/Seed.cs
@@ -71,6 +71,8 @@ namespace API.Data
Configuration.LogLevel + string.Empty;
context.ServerSetting.First(s => s.Key == ServerSettingKey.CacheDirectory).Value =
DirectoryService.CacheDirectory + string.Empty;
+ context.ServerSetting.First(s => s.Key == ServerSettingKey.BackupDirectory).Value =
+ DirectoryService.BackupDirectory + string.Empty;
await context.SaveChangesAsync();