From 8fb257d5b7a35c771766ffbfa74821110547bba8 Mon Sep 17 00:00:00 2001 From: tsubus Date: Mon, 15 May 2017 14:47:22 +0200 Subject: [PATCH] Add IMDB URL to notifications (#1531) --- src/NzbDrone.Core/Notifications/NotificationService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Notifications/NotificationService.cs b/src/NzbDrone.Core/Notifications/NotificationService.cs index 9b0c80f3d..5cf6fc308 100644 --- a/src/NzbDrone.Core/Notifications/NotificationService.cs +++ b/src/NzbDrone.Core/Notifications/NotificationService.cs @@ -74,16 +74,18 @@ namespace NzbDrone.Core.Notifications private string GetMessage(Movie movie, QualityModel quality) { var qualityString = quality.Quality.ToString(); + var ImdbUrl = "http://www.imdb.com/title/" + movie.ImdbId + "/"; if (quality.Revision.Version > 1) { qualityString += " Proper"; } - return string.Format("{0} ({1}) [{2}]", + return string.Format("{0} ({1}) [{2}] {3}", movie.Title, movie.Year, - qualityString); + qualityString, + ImdbUrl); } private bool ShouldHandleMovie(ProviderDefinition definition, Movie movie)