Files
ersatztv/ErsatzTV.Infrastructure/Data/Configurations/Metadata/SubtitleConfiguration.cs
T
Jason DoveandGitHub e250e93a8e add support for embedded text subtitles (#742)
* first pass at text subtitle support

* support text subtitles from movies, music videos and other videos

* fixes

* qsv fixes

* vaapi fixes

* update changelog
2022-04-19 12:57:24 -05:00

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);
}
}