add playlists (#1690)

* update dependencies

* add playlists

* add playlist support to schedules

* playout builder (flood) supports playlists

* update changelog
This commit is contained in:
Jason Dove
2024-04-27 19:58:40 -05:00
committed by GitHub
parent 11f99216a3
commit 706a2d14a2
79 changed files with 31168 additions and 49 deletions
@@ -0,0 +1,40 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
{
/// <inheritdoc />
public partial class Add_MorePlaylistProperties : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IncludeInProgramGuide",
table: "PlaylistItem",
type: "INTEGER",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<int>(
name: "PlaybackOrder",
table: "PlaylistItem",
type: "INTEGER",
nullable: false,
defaultValue: 0);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IncludeInProgramGuide",
table: "PlaylistItem");
migrationBuilder.DropColumn(
name: "PlaybackOrder",
table: "PlaylistItem");
}
}
}