fix jellyfin artwork (#198)

This commit is contained in:
Jason Dove
2021-05-21 21:21:32 -05:00
committed by GitHub
parent 04da4b2964
commit 1d35efa429
11 changed files with 2708 additions and 36 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,16 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace ErsatzTV.Infrastructure.Migrations
{
public partial class Update_JellyfinArtworkPath : Migration
{
protected override void Up(MigrationBuilder migrationBuilder) =>
migrationBuilder.Sql(
@"UPDATE Artwork SET Path = REPLACE(Path, 'jellyfin:///Items', 'jellyfin://Items')
WHERE Path LIKE 'jellyfin:///Items%'");
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}