torznab caps: exclude indexer specific categories for meta indexers

This commit is contained in:
kaso17 2017-08-17 09:57:58 +02:00
parent 69aa38c1ff
commit 5748881a29
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ namespace Jackett.Models
lhs.MovieSearchAvailable = lhs.MovieSearchAvailable || rhs.MovieSearchAvailable;
lhs.SupportsTVRageSearch = lhs.SupportsTVRageSearch || rhs.SupportsTVRageSearch;
lhs.SupportsImdbSearch = lhs.SupportsImdbSearch || rhs.SupportsImdbSearch;
lhs.Categories.AddRange(rhs.Categories.Except(lhs.Categories));
lhs.Categories.AddRange(rhs.Categories.Where(x => x.ID < 100000).Except(lhs.Categories)); // exclude indexer specific categories (>= 100000)
return lhs;
}