Browse Source

properly handle remote stream artwork in orphaned artwork check

pull/2690/head
Jason Dove 8 months ago
parent
commit
6d9ccc75b0
No known key found for this signature in database
  1. 2
      ErsatzTV.Infrastructure/Data/Repositories/ArtworkRepository.cs

2
ErsatzTV.Infrastructure/Data/Repositories/ArtworkRepository.cs

@ -20,7 +20,7 @@ public class ArtworkRepository : IArtworkRepository @@ -20,7 +20,7 @@ public class ArtworkRepository : IArtworkRepository
AND A.MovieMetadataId IS NULL AND A.MusicVideoMetadataId IS NULL
AND A.SeasonMetadataId IS NULL AND A.ShowMetadataId IS NULL
AND A.SongMetadataId IS NULL AND A.ChannelId IS NULL
AND A.OtherVideoMetadataId IS NULL
AND A.OtherVideoMetadataId IS NULL AND A.RemoteStreamMetadataId IS NULL
AND NOT EXISTS (SELECT * FROM Actor WHERE Actor.ArtworkId = A.Id)")
.Map(result => result.ToList());
}

Loading…
Cancel
Save