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:
parent
a994502e59
commit
17c6d11a47
1 changed files with 2 additions and 2 deletions
|
@ -99,9 +99,9 @@ protected WebhookMovieDeletePayload BuildOnMovieDelete(MovieDeleteMessage delete
|
||||||
DeletedFiles = deleteMessage.DeletedFiles
|
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;
|
return payload;
|
||||||
|
|
Loading…
Reference in a new issue