mirror of https://github.com/Jackett/Jackett
improve IsIdSearch
This commit is contained in:
parent
2fa617b97d
commit
382e659a7f
|
@ -90,7 +90,16 @@ namespace Jackett.Common.Models
|
|||
IsTraktQuery ||
|
||||
IsTvmazeQuery ||
|
||||
IsTmdbQuery ||
|
||||
IsDoubanQuery;
|
||||
IsDoubanQuery ||
|
||||
Album.IsNotNullOrWhiteSpace() ||
|
||||
Artist.IsNotNullOrWhiteSpace() ||
|
||||
Label.IsNotNullOrWhiteSpace() ||
|
||||
Genre.IsNotNullOrWhiteSpace() ||
|
||||
Track.IsNotNullOrWhiteSpace() ||
|
||||
Author.IsNotNullOrWhiteSpace() ||
|
||||
Title.IsNotNullOrWhiteSpace() ||
|
||||
Publisher.IsNotNullOrWhiteSpace() ||
|
||||
Year.HasValue;
|
||||
|
||||
public bool HasSpecifiedCategories => (Categories != null && Categories.Length > 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue