mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fix: Series Titles with apostrophes when searched on NzbMatrix will now return valid results.
Each indexer can now override GetQueryTitle from IndexerBase if required for special title searching.
This commit is contained in:
parent
2a6f02be17
commit
308fd11c83
3 changed files with 32 additions and 3 deletions
|
@ -222,7 +222,12 @@ namespace NzbDrone.Core.Providers.Indexer
|
|||
return CustomParser(item, episodeParseResult);
|
||||
}
|
||||
|
||||
public static string GetQueryTitle(string title)
|
||||
/// <summary>
|
||||
/// This method can be overwritten to provide indexer specific title cleaning
|
||||
/// </summary>
|
||||
/// <param name="title">Title that needs to be cleaned</param>
|
||||
/// <returns></returns>
|
||||
public virtual string GetQueryTitle(string title)
|
||||
{
|
||||
var cleanTitle = TitleSearchRegex.Replace(title, "+").Trim('+', ' ');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue