mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
another potential issue? :/
This commit is contained in:
parent
764ef17725
commit
9f82281744
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ namespace Ombi.Schedule.Jobs.Plex
|
||||||
}
|
}
|
||||||
if (content.viewGroup.Equals(Jobs.PlexContentCacher.PlexMediaType.Movie.ToString(), StringComparison.CurrentCultureIgnoreCase))
|
if (content.viewGroup.Equals(Jobs.PlexContentCacher.PlexMediaType.Movie.ToString(), StringComparison.CurrentCultureIgnoreCase))
|
||||||
{
|
{
|
||||||
foreach (var movie in content.Metadata)
|
foreach (var movie in content?.Metadata ?? new Metadata[]{})
|
||||||
{
|
{
|
||||||
// Let's check if we have this movie
|
// Let's check if we have this movie
|
||||||
var existing = await Repo.GetByKey(movie.ratingKey);
|
var existing = await Repo.GetByKey(movie.ratingKey);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue