mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
Fixed issue where we could get null rating keys on Plex
This commit is contained in:
parent
5095d30a3c
commit
9637fe92f4
1 changed files with 2 additions and 2 deletions
|
@ -264,7 +264,7 @@ namespace Ombi.Services.Jobs
|
||||||
return media;
|
return media;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (item == null)
|
if (item == null && !string.IsNullOrEmpty(m.ItemId))
|
||||||
{
|
{
|
||||||
// Doesn't exist, insert it
|
// Doesn't exist, insert it
|
||||||
PlexContent.Insert(new PlexContent
|
PlexContent.Insert(new PlexContent
|
||||||
|
@ -305,7 +305,7 @@ namespace Ombi.Services.Jobs
|
||||||
return media;
|
return media;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (item == null)
|
if (item == null && !string.IsNullOrEmpty(t.ItemId))
|
||||||
{
|
{
|
||||||
PlexContent.Insert(new PlexContent
|
PlexContent.Insert(new PlexContent
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue