Feature/local metadata more tags (#832)
* Stashing code * removed some debug code on series detail page. Now detail is collapsed by default. * Added AgeRating * Fixed a crash when NetVips tries to write a cover file and cover directory is not existing. * When a card is selected for bulk actions, show an outline in addition to select box * Added AgeRating into the metadata parsing. Added a hack where ComicInfo uses Number in ComicInfo rather than Volume. This is to test out the effects on users libraries. * Added AgeRating and ReleaseDate to the metadata implelentation.
This commit is contained in:
parent
46f37069db
commit
af24c928d7
31 changed files with 2825 additions and 101 deletions
|
|
@ -16,7 +16,6 @@ using Microsoft.Extensions.Configuration;
|
|||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using NetVips;
|
||||
|
||||
namespace API
|
||||
{
|
||||
|
|
@ -33,19 +32,10 @@ namespace API
|
|||
Console.OutputEncoding = System.Text.Encoding.UTF8;
|
||||
var isDocker = new OsInfo(Array.Empty<IOsVersionAdapter>()).IsDocker;
|
||||
|
||||
// var migrateLogger = LoggerFactory.Create(builder =>
|
||||
// {
|
||||
// builder
|
||||
// //.AddConfiguration(Configuration.GetSection("Logging"))
|
||||
// .AddFilter("Microsoft", LogLevel.Warning)
|
||||
// .AddFilter("System", LogLevel.Warning)
|
||||
// .AddFilter("SampleApp.Program", LogLevel.Debug)
|
||||
// .AddConsole()
|
||||
// .AddEventLog();
|
||||
// });
|
||||
// var mLogger = migrateLogger.CreateLogger<DirectoryService>();
|
||||
|
||||
// TODO: Figure out a solution for this migration and logger.
|
||||
MigrateConfigFiles.Migrate(isDocker, new DirectoryService(null, new FileSystem()));
|
||||
var directoryService = new DirectoryService(null, new FileSystem());
|
||||
MigrateConfigFiles.Migrate(isDocker, directoryService);
|
||||
|
||||
// Before anything, check if JWT has been generated properly or if user still has default
|
||||
if (!Configuration.CheckIfJwtTokenSet() &&
|
||||
|
|
@ -76,7 +66,7 @@ namespace API
|
|||
|
||||
// This doesn't work either
|
||||
//var directoryService = services.GetRequiredService<DirectoryService>();
|
||||
var directoryService = new DirectoryService(null, new FileSystem());
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue