mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
New: Better matching of books with subtitles
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using NzbDrone.Common.Extensions;
|
||||
using NzbDrone.Core.Parser;
|
||||
|
||||
namespace NzbDrone.Core.IndexerSearch.Definitions
|
||||
{
|
||||
@@ -9,11 +10,11 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
|
||||
public string BookIsbn { get; set; }
|
||||
public string Disambiguation { get; set; }
|
||||
|
||||
public string BookQuery => GetQueryTitle($"{BookTitle}");
|
||||
public string BookQuery => GetQueryTitle(BookTitle.SplitBookTitle(Author.Name).Item1);
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"[{Author.Name} - {BookTitle} ({BookYear})]";
|
||||
return $"[{Author.Name} - {BookTitle}]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user