custom collection playback order (#64)

* add custom index to collection items

* add custom collection order to ui

* cleanup
This commit is contained in:
Jason Dove
2021-03-12 19:24:28 +00:00
committed by GitHub
parent 1587ac7d62
commit 4953617f79
31 changed files with 3753 additions and 32 deletions
@@ -110,6 +110,9 @@ namespace ErsatzTV.Infrastructure.Migrations
b.Property<string>("Name")
.HasColumnType("TEXT");
b.Property<bool>("UseCustomPlaybackOrder")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("Collection");
@@ -125,6 +128,9 @@ namespace ErsatzTV.Infrastructure.Migrations
b.Property<int>("MediaItemId")
.HasColumnType("INTEGER");
b.Property<int?>("CustomIndex")
.HasColumnType("INTEGER");
b.HasKey("CollectionId", "MediaItemId");
b.HasIndex("MediaItemId");