diff --git a/src/NzbDrone.Api/Parse/ParseModule.cs b/src/NzbDrone.Api/Parse/ParseModule.cs index df36307ff..266f66eb4 100644 --- a/src/NzbDrone.Api/Parse/ParseModule.cs +++ b/src/NzbDrone.Api/Parse/ParseModule.cs @@ -1,5 +1,6 @@ using NzbDrone.Api.Episodes; using NzbDrone.Api.Series; +using NzbDrone.Common.Extensions; using NzbDrone.Core.Parser; namespace NzbDrone.Api.Parse @@ -18,7 +19,8 @@ public ParseModule(IParsingService parsingService) private ParseResource Parse() { var title = Request.Query.Title.Value as string; - var parsedEpisodeInfo = Parser.ParseTitle(title); + var path = Request.Query.Path.Value as string; + var parsedEpisodeInfo = path.IsNotNullOrWhiteSpace() ? Parser.ParsePath(path) : Parser.ParseTitle(title); if (parsedEpisodeInfo == null) {