From 26d9c4ca3e353f65af58e09fd1a1c1109f7a9687 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 26 May 2018 23:41:17 -0400 Subject: [PATCH] New: Allow 'mbid:' in search Fixes #369 --- src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs b/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs index bbfdc0879..08de85f10 100644 --- a/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs +++ b/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs @@ -138,7 +138,7 @@ public List SearchForNewArtist(string title) { var lowerTitle = title.ToLowerInvariant(); - if (lowerTitle.StartsWith("lidarr:") || lowerTitle.StartsWith("lidarrid:")) + if (lowerTitle.StartsWith("lidarr:") || lowerTitle.StartsWith("lidarrid:") || lowerTitle.StartsWith("mbid:")) { var slug = lowerTitle.Split(':')[1].Trim(); @@ -195,7 +195,7 @@ public List SearchForNewAlbum(string title, string artist) { var lowerTitle = title.ToLowerInvariant(); - if (lowerTitle.StartsWith("lidarr:") || lowerTitle.StartsWith("lidarrid:")) + if (lowerTitle.StartsWith("lidarr:") || lowerTitle.StartsWith("lidarrid:") || lowerTitle.StartsWith("mbid:")) { var slug = lowerTitle.Split(':')[1].Trim();