add configurable library refresh interval (#184)

* add configurable library refresh interval

* code cleanup
This commit is contained in:
Jason Dove
2021-05-14 06:43:44 -05:00
committed by GitHub
parent 198e595bc6
commit 27e0a70d93
10 changed files with 2476 additions and 31 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,15 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace ErsatzTV.Infrastructure.Migrations
{
public partial class Add_LibraryRefreshInterval : Migration
{
protected override void Up(MigrationBuilder migrationBuilder) =>
migrationBuilder.Sql(
"INSERT INTO ConfigElement (Key, Value) VALUES ('scanner.library_refresh_interval', '6')");
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}