OPDS Spec issue with Panels (#736)

* Fixed a spec issue with entries that contain no items. We send 'Nothing here', but I forgot to send an Id for that feed.

* Added a missing migration for backup directories
This commit is contained in:
Joseph Milazzo 2021-11-09 08:27:55 -06:00 committed by GitHub
parent ae81fffc94
commit 3a25608bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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",
});
}

View File

@ -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();