mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -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))
|
||||
{
|
||||
foreach (var movie in content.Metadata)
|
||||
foreach (var movie in content?.Metadata ?? new Metadata[]{})
|
||||
{
|
||||
// Let's check if we have this movie
|
||||
var existing = await Repo.GetByKey(movie.ratingKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue