mirror of
https://github.com/Jackett/Jackett
synced 2024-12-30 19:58:39 +00:00
torznab caps: exclude indexer specific categories for meta indexers
This commit is contained in:
parent
69aa38c1ff
commit
5748881a29
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ namespace Jackett.Models
|
||||||
lhs.MovieSearchAvailable = lhs.MovieSearchAvailable || rhs.MovieSearchAvailable;
|
lhs.MovieSearchAvailable = lhs.MovieSearchAvailable || rhs.MovieSearchAvailable;
|
||||||
lhs.SupportsTVRageSearch = lhs.SupportsTVRageSearch || rhs.SupportsTVRageSearch;
|
lhs.SupportsTVRageSearch = lhs.SupportsTVRageSearch || rhs.SupportsTVRageSearch;
|
||||||
lhs.SupportsImdbSearch = lhs.SupportsImdbSearch || rhs.SupportsImdbSearch;
|
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;
|
return lhs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue