* first pass at text subtitle support * support text subtitles from movies, music videos and other videos * fixes * qsv fixes * vaapi fixes * update changelog
16 lines
450 B
C#
16 lines
450 B
C#
using ErsatzTV.Core.Domain;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
|
|
namespace ErsatzTV.Infrastructure.Data.Configurations;
|
|
|
|
public class SubtitleConfiguration : IEntityTypeConfiguration<Subtitle>
|
|
{
|
|
public void Configure(EntityTypeBuilder<Subtitle> builder)
|
|
{
|
|
builder.ToTable("Subtitle");
|
|
|
|
builder.Property(s => s.IsExtracted)
|
|
.HasDefaultValue(false);
|
|
}
|
|
} |