From 29dcbadfca994455abb8d49de195fd9a3799eca0 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 18 Nov 2021 22:44:53 -0600 Subject: [PATCH] Fixed: (DanishBytes) Set GUID for search results Fixes #597 --- src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs b/src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs index adf72a516..b3a420854 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs @@ -200,11 +200,14 @@ namespace NzbDrone.Core.Indexers.Definitions foreach (var row in jsonResponse.Resource.Torrents) { + var infoUrl = $"{_settings.BaseUrl}torrents/{row.Id}"; + var release = new TorrentInfo { Title = row.Name, - InfoUrl = $"{_settings.BaseUrl}torrents/{row.Id}", + InfoUrl = infoUrl, DownloadUrl = $"{_settings.BaseUrl}torrent/download/{row.Id}.{jsonResponse.Resource.Rsskey}", + Guid = infoUrl, PosterUrl = row.PosterImage, PublishDate = row.CreatedAt, Categories = _categories.MapTrackerCatToNewznab(row.CategoryId),