Browse Source

fix indexing shows without nfo metadata (#105)

pull/106/head
Jason Dove 4 years ago committed by GitHub
parent
commit
22c4fe2a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ErsatzTV.Infrastructure/Data/Repositories/TelevisionRepository.cs

1
ErsatzTV.Infrastructure/Data/Repositories/TelevisionRepository.cs

@ -236,6 +236,7 @@ namespace ErsatzTV.Infrastructure.Data.Repositories @@ -236,6 +236,7 @@ namespace ErsatzTV.Infrastructure.Data.Repositories
metadata.DateAdded = DateTime.UtcNow;
metadata.Genres ??= new List<Genre>();
metadata.Tags ??= new List<Tag>();
metadata.Studios ??= new List<Studio>();
var show = new Show
{
LibraryPathId = libraryPathId,

Loading…
Cancel
Save