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:
parent
ae81fffc94
commit
3a25608bf9
2 changed files with 6 additions and 0 deletions
|
@ -202,6 +202,7 @@ namespace API.Controllers
|
||||||
{
|
{
|
||||||
feed.Entries.Add(new FeedEntry()
|
feed.Entries.Add(new FeedEntry()
|
||||||
{
|
{
|
||||||
|
Id = "0",
|
||||||
Title = "Nothing here",
|
Title = "Nothing here",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -324,6 +325,7 @@ namespace API.Controllers
|
||||||
{
|
{
|
||||||
feed.Entries.Add(new FeedEntry()
|
feed.Entries.Add(new FeedEntry()
|
||||||
{
|
{
|
||||||
|
Id = "0",
|
||||||
Title = "Nothing here",
|
Title = "Nothing here",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -390,6 +392,7 @@ namespace API.Controllers
|
||||||
{
|
{
|
||||||
feed.Entries.Add(new FeedEntry()
|
feed.Entries.Add(new FeedEntry()
|
||||||
{
|
{
|
||||||
|
Id = "0",
|
||||||
Title = "Nothing here",
|
Title = "Nothing here",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -429,6 +432,7 @@ namespace API.Controllers
|
||||||
{
|
{
|
||||||
feed.Entries.Add(new FeedEntry()
|
feed.Entries.Add(new FeedEntry()
|
||||||
{
|
{
|
||||||
|
Id = "0",
|
||||||
Title = "Nothing here",
|
Title = "Nothing here",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,6 +71,8 @@ namespace API.Data
|
||||||
Configuration.LogLevel + string.Empty;
|
Configuration.LogLevel + string.Empty;
|
||||||
context.ServerSetting.First(s => s.Key == ServerSettingKey.CacheDirectory).Value =
|
context.ServerSetting.First(s => s.Key == ServerSettingKey.CacheDirectory).Value =
|
||||||
DirectoryService.CacheDirectory + string.Empty;
|
DirectoryService.CacheDirectory + string.Empty;
|
||||||
|
context.ServerSetting.First(s => s.Key == ServerSettingKey.BackupDirectory).Value =
|
||||||
|
DirectoryService.BackupDirectory + string.Empty;
|
||||||
|
|
||||||
await context.SaveChangesAsync();
|
await context.SaveChangesAsync();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue