From d5e8d4f0f0c30dd6a1c3e85e0eb5918927bb9072 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 17 Feb 2023 01:20:07 +0200 Subject: [PATCH] hqmusic: fix search by Lidarr for "VA" (#14035) --- src/Jackett.Common/Definitions/hqmusic.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/hqmusic.yml b/src/Jackett.Common/Definitions/hqmusic.yml index f54828a21..39937e585 100644 --- a/src/Jackett.Common/Definitions/hqmusic.yml +++ b/src/Jackett.Common/Definitions/hqmusic.yml @@ -66,7 +66,7 @@ search: inputs: $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" searchstr: "{{ .Keywords }}" - artistname: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ end }}" + artistname: "{{ if and (.Query.Artist) (ne .Query.Artist \"VA\") }}{{ .Query.Artist }}{{ else }}{{ end }}" groupname: "{{ if .Query.Album }}{{ .Query.Album }}{{ else }}{{ end }}" recordlabel: "{{ if .Query.Label }}{{ .Query.Label }}{{ else }}{{ end }}" year: "{{ if .Query.Year }}{{ .Query.Year }}{{ else }}{{ end }}"