Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/68cd9ab8c87b266b8f727695fdc2cf952a4f12af You should set ROOT_URL correctly, otherwise the web may not work correctly.

Don't error out if PMS returns no ID for a specific series

Closes 
pull/3113/head
Mark McDowall 10 years ago
parent 9ffa28f17c
commit 68cd9ab8c8

@ -107,16 +107,15 @@ namespace NzbDrone.Core.Notifications.Plex
_logger.Trace("Sections response: {0}", response.Content);
CheckForError(response, settings);
var item = Json.Deserialize<PlexSectionResponse>(response.Content)
.Items
.FirstOrDefault();
var items = Json.Deserialize<PlexSectionResponse>(response.Content)
.Items;
if (item == null)
if (items == null || items.Empty())
{
return null;
}
return item.Id;
return items.First().Id;
}
private string Authenticate(PlexServerSettings settings)

Loading…
Cancel
Save