fix updating music videos (#174)

This commit is contained in:
Jason Dove
2021-04-17 10:24:16 -05:00
committed by GitHub
parent 7c07c5f522
commit 050aaaa288
2 changed files with 18 additions and 15 deletions
@@ -698,6 +698,8 @@ namespace ErsatzTV.Core.Metadata
} }
} }
if (existing is not MusicVideoMetadata)
{
foreach (Actor actor in existing.Actors foreach (Actor actor in existing.Actors
.Filter(a => incoming.Actors.All(a2 => a2.Name != a.Name)) .Filter(a => incoming.Actors.All(a2 => a2.Name != a.Name))
.ToList()) .ToList())
@@ -719,6 +721,7 @@ namespace ErsatzTV.Core.Metadata
updated = true; updated = true;
} }
} }
}
return updated; return updated;
} }
+1 -1
View File
@@ -60,7 +60,7 @@
} }
} }
} }
catch (Exception _) catch (Exception)
{ {
// ignore // ignore
} }