fix: added MEDIA_FAILED handling for music content in email notifications

This commit is contained in:
Pierre
2025-03-13 17:37:56 +01:00
committed by HiItsStolas
parent f2103388b5
commit 9a97811e88

View File

@@ -115,7 +115,11 @@ class EmailAgent
body = `A request for the following ${mediaType} ${
is4k ? 'in 4K ' : ''
}failed to be added to ${
payload.media?.mediaType === MediaType.MOVIE ? 'Radarr' : 'Sonarr'
payload.media?.mediaType === MediaType.MOVIE
? 'Radarr'
: payload.media?.mediaType === MediaType.TV
? 'Sonarr'
: 'Lidarr'
}:`;
break;
}