diff --git a/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs index 3e6d19d68..f0833dd48 100644 --- a/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs @@ -56,6 +56,7 @@ namespace NzbDrone.Core.Test.ParserTests [TestCase("Mr. Bad Guy [Special Edition]", "Mr. Bad Guy")] [TestCase("Sweet Dreams (Album)", "Sweet Dreams")] [TestCase("Now What?! (Limited Edition)", "Now What?!")] + [TestCase("Random Album Title (Promo CD)", "Random Album Title")] public void should_remove_common_tags_from_album_title(string title, string correct) { var result = Parser.Parser.CleanAlbumTitle(title); diff --git a/src/NzbDrone.Core/Parser/Parser.cs b/src/NzbDrone.Core/Parser/Parser.cs index 42796fd5c..35ac2f8c1 100644 --- a/src/NzbDrone.Core/Parser/Parser.cs +++ b/src/NzbDrone.Core/Parser/Parser.cs @@ -202,7 +202,7 @@ namespace NzbDrone.Core.Parser private static readonly Regex[] CommonTagRegex = new Regex[] { new Regex(@"(\[|\()*\b((featuring|feat.|feat|ft|ft.)\s{1}){1}\s*.*(\]|\))*", RegexOptions.IgnoreCase | RegexOptions.Compiled), - new Regex(@"(\[|\(){1}(version|limited|deluxe|single|clean|album|special|bonus)+\s*.*(\]|\)){1}", RegexOptions.IgnoreCase | RegexOptions.Compiled), + new Regex(@"(\[|\(){1}(version|limited|deluxe|single|clean|album|special|bonus|promo)+\s*.*(\]|\)){1}", RegexOptions.IgnoreCase | RegexOptions.Compiled), }; public static ParsedTrackInfo ParseMusicPath(string path)