hqmusic: fix search by Lidarr for "VA" (#14035)

This commit is contained in:
Bogdan 2023-02-17 01:20:07 +02:00 committed by GitHub
parent 1f30b653d1
commit d5e8d4f0f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}"