1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-03 05:44:50 +00:00

fixup! New: Multiple Quality Profiles and Files Per Movie

This commit is contained in:
Qstick 2022-12-04 13:14:00 -06:00 committed by Robin Dadswell
parent a994502e59
commit 17c6d11a47

View file

@ -99,9 +99,9 @@ protected WebhookMovieDeletePayload BuildOnMovieDelete(MovieDeleteMessage delete
DeletedFiles = deleteMessage.DeletedFiles
};
if (deleteMessage.DeletedFiles && deleteMessage.Movie.MovieFile != null)
if (deleteMessage.DeletedFiles && deleteMessage.Movie.MovieFiles != null)
{
payload.MovieFolderSize = deleteMessage.Movie.MovieFile.Size;
payload.MovieFolderSize = deleteMessage.Movie.MovieFiles.Value.Select(f => f.Size).Sum();
}
return payload;