mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed trakt searching, cleaned up indexer/notification modules
This commit is contained in:
parent
9181b1bb91
commit
f21a235c00
7 changed files with 35 additions and 25 deletions
|
@ -17,7 +17,7 @@ namespace NzbDrone.Core.MetadataSource
|
|||
public List<Series> SearchForNewSeries(string title)
|
||||
{
|
||||
var client = BuildClient("search", "shows");
|
||||
var restRequest = new RestRequest(title.ToSlug().Replace("-", "+"));
|
||||
var restRequest = new RestRequest(title.ToSearchTerm());
|
||||
var response = client.Execute<List<Show>>(restRequest);
|
||||
|
||||
return response.Data.Select(MapSeries).ToList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue