From c107011659fe91f9f87cff2198da49f1470da29e Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 24 Nov 2023 22:35:56 +0200 Subject: [PATCH] Use album year in Redacted/Orpheus --- src/NzbDrone.Core/Indexers/Definitions/Orpheus.cs | 1 + src/NzbDrone.Core/Indexers/Definitions/Redacted.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Indexers/Definitions/Orpheus.cs b/src/NzbDrone.Core/Indexers/Definitions/Orpheus.cs index 8c94d83e0..c8513296e 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Orpheus.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Orpheus.cs @@ -289,6 +289,7 @@ namespace NzbDrone.Core.Indexers.Definitions Title = WebUtility.HtmlDecode(title), Artist = WebUtility.HtmlDecode(result.Artist), Album = WebUtility.HtmlDecode(result.GroupName), + Year = int.Parse(result.GroupYear), Container = torrent.Encoding, Codec = torrent.Format, Size = long.Parse(torrent.Size), diff --git a/src/NzbDrone.Core/Indexers/Definitions/Redacted.cs b/src/NzbDrone.Core/Indexers/Definitions/Redacted.cs index d2f829732..6cdece2bd 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Redacted.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Redacted.cs @@ -255,6 +255,7 @@ namespace NzbDrone.Core.Indexers.Definitions Title = WebUtility.HtmlDecode(title), Artist = WebUtility.HtmlDecode(result.Artist), Album = WebUtility.HtmlDecode(result.GroupName), + Year = int.Parse(result.GroupYear), Container = torrent.Encoding, Codec = torrent.Format, Size = long.Parse(torrent.Size),