Fixed: Links for Trakt and TVMaze in Gotify notifications

pull/7223/head
Mark McDowall 5 months ago committed by Mark McDowall
parent 99fc52039f
commit 89d730cdfd

@ -180,13 +180,13 @@ namespace NzbDrone.Core.Notifications.Gotify
if (linkType == MetadataLinkType.Trakt && series.TvdbId > 0) if (linkType == MetadataLinkType.Trakt && series.TvdbId > 0)
{ {
linkText = "TVMaze"; linkText = "Trakt";
linkUrl = $"http://trakt.tv/search/tvdb/{series.TvdbId}?id_type=show"; linkUrl = $"http://trakt.tv/search/tvdb/{series.TvdbId}?id_type=show";
} }
if (linkType == MetadataLinkType.Tvmaze && series.TvMazeId > 0) if (linkType == MetadataLinkType.Tvmaze && series.TvMazeId > 0)
{ {
linkText = "Trakt"; linkText = "TVMaze";
linkUrl = $"http://www.tvmaze.com/shows/{series.TvMazeId}/_"; linkUrl = $"http://www.tvmaze.com/shows/{series.TvMazeId}/_";
} }

Loading…
Cancel
Save