From 956e3be3808f918923aef3259ea5b28bfc055b03 Mon Sep 17 00:00:00 2001 From: salmonik Date: Fri, 22 May 2026 17:57:08 +0200 Subject: Fix metadata extraction for symphonia 0.6 and add Albums shuffle mode --- completions/rsp.bash | 3 ++- completions/rsp.fish | 1 + completions/rsp.zsh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'completions') diff --git a/completions/rsp.bash b/completions/rsp.bash index c4e295f..f5c87dc 100644 --- a/completions/rsp.bash +++ b/completions/rsp.bash @@ -766,7 +766,8 @@ _rsp() { fi case "${prev}" in *) - COMPREPLY=() + COMPREPLY=( $(compgen -W "on off all none album albums" -- "${cur}") ) + return 0 ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) diff --git a/completions/rsp.fish b/completions/rsp.fish index 8764bb9..56f3766 100644 --- a/completions/rsp.fish +++ b/completions/rsp.fish @@ -56,6 +56,7 @@ complete -c rsp -n "__fish_rsp_using_subcommand next" -s h -l help -d 'Print hel complete -c rsp -n "__fish_rsp_using_subcommand previous" -s h -l help -d 'Print help' complete -c rsp -n "__fish_rsp_using_subcommand volume" -s h -l help -d 'Print help' complete -c rsp -n "__fish_rsp_using_subcommand shuffle" -s h -l help -d 'Print help' +complete -c rsp -n "__fish_rsp_using_subcommand shuffle" -f -a "on off all none album albums" -d 'Shuffle mode' complete -c rsp -n "__fish_rsp_using_subcommand queue" -s h -l help -d 'Print help' complete -c rsp -n "__fish_rsp_using_subcommand status" -s h -l help -d 'Print help' complete -c rsp -n "__fish_rsp_using_subcommand scan" -l paths -r -F diff --git a/completions/rsp.zsh b/completions/rsp.zsh index dd24572..87fbfcd 100644 --- a/completions/rsp.zsh +++ b/completions/rsp.zsh @@ -102,7 +102,7 @@ _arguments "${_arguments_options[@]}" : \ _arguments "${_arguments_options[@]}" : \ '-h[Print help]' \ '--help[Print help]' \ -'::mode:_default' \ +'::mode:(on off all none album albums)' \ && ret=0 ;; (queue) -- cgit v1.2.3