Fixed: (Rarbg) Advertise IMDB, TMDB, TVDB Search

Fixes #392
pull/289/head
Qstick 3 years ago
parent 4bd23a60bd
commit 2114db02d8

@ -49,11 +49,11 @@ namespace NzbDrone.Core.Indexers.Rarbg
{
TvSearchParams = new List<TvSearchParam>
{
TvSearchParam.Q, TvSearchParam.Season, TvSearchParam.Ep
TvSearchParam.Q, TvSearchParam.Season, TvSearchParam.Ep, TvSearchParam.ImdbId, TvSearchParam.TvdbId
},
MovieSearchParams = new List<MovieSearchParam>
{
MovieSearchParam.Q, MovieSearchParam.ImdbId
MovieSearchParam.Q, MovieSearchParam.ImdbId, MovieSearchParam.TmdbId
},
MusicSearchParams = new List<MusicSearchParam>
{

@ -46,7 +46,8 @@ namespace NzbDrone.Core.Indexers.Rarbg
{
requestBuilder.AddQueryParam("search_tvdb", tvdbId);
}
else if (term.IsNotNullOrWhiteSpace())
if (term.IsNotNullOrWhiteSpace())
{
requestBuilder.AddQueryParam("search_string", $"{term}");
}

Loading…
Cancel
Save