mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Add IMDB URL to notifications (#1531)
This commit is contained in:
parent
28e0f85e88
commit
8fb257d5b7
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue