soundpark: add music-search #5022

This commit is contained in:
Garfield69 2019-04-12 07:06:45 +12:00
parent d8746032ca
commit 3e0bc22459
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@
modes:
search: [q]
music-search: [q, album, artist, label, year]
login:
path: login
@ -37,7 +38,7 @@
paths:
- path: "{{if .Keywords}}search{{else}}music{{end}}"
inputs:
q: "{{ .Keywords }}"
q: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
num: 50
rows: