diff --git a/src/NzbDrone.Core/Download/TorrentClientBase.cs b/src/NzbDrone.Core/Download/TorrentClientBase.cs
index 9d0137bc2..a7c0c8f32 100644
--- a/src/NzbDrone.Core/Download/TorrentClientBase.cs
+++ b/src/NzbDrone.Core/Download/TorrentClientBase.cs
@@ -221,7 +221,7 @@ private string DownloadFromMagnetUrl(RemoteEpisode remoteEpisode, IIndexer index
try
{
- hash = MagnetLink.Parse(magnetUrl).InfoHash.ToHex();
+ hash = MagnetLink.Parse(magnetUrl).InfoHashes.V1OrV2.ToHex();
}
catch (FormatException ex)
{
diff --git a/src/NzbDrone.Core/Indexers/TorrentRssParser.cs b/src/NzbDrone.Core/Indexers/TorrentRssParser.cs
index 712c23d39..a6eaad92f 100644
--- a/src/NzbDrone.Core/Indexers/TorrentRssParser.cs
+++ b/src/NzbDrone.Core/Indexers/TorrentRssParser.cs
@@ -82,7 +82,7 @@ protected virtual string GetInfoHash(XElement item)
{
try
{
- return MagnetLink.Parse(magnetUrl).InfoHash.ToHex();
+ return MagnetLink.Parse(magnetUrl).InfoHashes.V1OrV2.ToHex();
}
catch
{
diff --git a/src/NzbDrone.Core/MediaFiles/TorrentInfo/TorrentFileInfoReader.cs b/src/NzbDrone.Core/MediaFiles/TorrentInfo/TorrentFileInfoReader.cs
index b822a1383..8075bfbc8 100644
--- a/src/NzbDrone.Core/MediaFiles/TorrentInfo/TorrentFileInfoReader.cs
+++ b/src/NzbDrone.Core/MediaFiles/TorrentInfo/TorrentFileInfoReader.cs
@@ -22,7 +22,7 @@ public string GetHashFromTorrentFile(byte[] fileContents)
{
try
{
- return Torrent.Load(fileContents).InfoHash.ToHex();
+ return Torrent.Load(fileContents).InfoHashes.V1OrV2.ToHex();
}
catch
{
diff --git a/src/NzbDrone.Core/Sonarr.Core.csproj b/src/NzbDrone.Core/Sonarr.Core.csproj
index c25b98846..60ad97000 100644
--- a/src/NzbDrone.Core/Sonarr.Core.csproj
+++ b/src/NzbDrone.Core/Sonarr.Core.csproj
@@ -27,7 +27,7 @@
-
+