mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
Fixed: Sending Webhook on upgrade if media info is unavailable
Fixes #7838 Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,11 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|||||||
IndexerFlags = movieFile.IndexerFlags.ToString();
|
IndexerFlags = movieFile.IndexerFlags.ToString();
|
||||||
Size = movieFile.Size;
|
Size = movieFile.Size;
|
||||||
DateAdded = movieFile.DateAdded;
|
DateAdded = movieFile.DateAdded;
|
||||||
MediaInfo = new WebhookMovieFileMediaInfo(movieFile);
|
|
||||||
|
if (movieFile.MediaInfo != null)
|
||||||
|
{
|
||||||
|
MediaInfo = new WebhookMovieFileMediaInfo(movieFile);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user