imprv: artist preview in select artist view
This commit is contained in:
@@ -315,7 +315,7 @@ case "${1:-}" in
|
|||||||
view=$2
|
view=$2
|
||||||
mbid="${3:-}"
|
mbid="${3:-}"
|
||||||
case "$view" in
|
case "$view" in
|
||||||
"$VIEW_LIST_ARTISTS" | "$VIEW_SEARCH_ARTIST") preview_artist "$mbid" ;;
|
"$VIEW_LIST_ARTISTS" | "$VIEW_SEARCH_ARTIST" | "$VIEW_SELECT_ARTIST") preview_artist "$mbid" ;;
|
||||||
*) preview_nothing ;;
|
*) preview_nothing ;;
|
||||||
esac
|
esac
|
||||||
exit 0
|
exit 0
|
||||||
@@ -522,13 +522,15 @@ while true; do
|
|||||||
--bind="$KEYS_SCROLL_PREVIEW_UP:preview-up" \
|
--bind="$KEYS_SCROLL_PREVIEW_UP:preview-up" \
|
||||||
--bind="$KEYS_PREVIEW_OPEN:show-preview" \
|
--bind="$KEYS_PREVIEW_OPEN:show-preview" \
|
||||||
--bind="$KEYS_PREVIEW_CLOSE:hide-preview" \
|
--bind="$KEYS_PREVIEW_CLOSE:hide-preview" \
|
||||||
|
--bind="$KEYS_FILTER_LOCAL:change-query($QUERY_LOCAL )" \
|
||||||
-0 -1 \
|
-0 -1 \
|
||||||
--border="bold" \
|
--border="bold" \
|
||||||
--border-label="Select artist" \
|
--border-label="Select artist" \
|
||||||
|
--preview-window="right,25%,border-left,wrap,<30(hidden)" \
|
||||||
|
--preview="$0 --preview $VIEW_SELECT_ARTIST {3}" \
|
||||||
--delimiter="\t" \
|
--delimiter="\t" \
|
||||||
--prompt="$SEARCH_PROMPT" \
|
--prompt="$SEARCH_PROMPT" \
|
||||||
--margin="5%,20%" \
|
--margin="5%,20%" \
|
||||||
--bind="$KEYS_FILTER_LOCAL:change-query($QUERY_LOCAL )" \
|
|
||||||
--accept-nth="{3}" \
|
--accept-nth="{3}" \
|
||||||
--with-nth="{1}" || true
|
--with-nth="{1}" || true
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user