#compdef rmpc

autoload -U is-at-least

_rmpc() {
    typeset -A opt_args
    typeset -a _arguments_options
    local ret=1

    if is-at-least 5.2; then
        _arguments_options=(-s -S -C)
    else
        _arguments_options=(-s -C)
    fi

    local context curcontext="$curcontext" state line
    _arguments "${_arguments_options[@]}" : \
'-c+[]:FILE:_files' \
'--config=[]:FILE:_files' \
'-a+[Override the address to connect to. Defaults to value in the config file]:ADDRESS:_default' \
'--address=[Override the address to connect to. Defaults to value in the config file]:ADDRESS:_default' \
'-p+[Override the MPD password]:PASSWORD:_default' \
'--password=[Override the MPD password]:PASSWORD:_default' \
'-h[Print help]' \
'--help[Print help]' \
":: :_rmpc_commands" \
"*::: :->rmpc" \
&& ret=0
    case $state in
    (rmpc)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:rmpc-command-$line[1]:"
        case $line[1] in
            (config)
_arguments "${_arguments_options[@]}" : \
'-c[If provided, print the current config instead of the default one]' \
'--current[If provided, print the current config instead of the default one]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(theme)
_arguments "${_arguments_options[@]}" : \
'-c[If provided, print the current theme instead of the default one]' \
'--current[If provided, print the current theme instead of the default one]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(lyricsindex)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'-w[Rmpc will wait for the update job to finish before returning]' \
'--wait[Rmpc will wait for the update job to finish before returning]' \
'-h[Print help]' \
'--help[Print help]' \
'::path -- If supplied, MPD will update only the provided directory/file. If not specified, everything is updated:_default' \
&& ret=0
;;
(rescan)
_arguments "${_arguments_options[@]}" : \
'-w[Rmpc will wait for the update job to finish before returning]' \
'--wait[Rmpc will wait for the update job to finish before returning]' \
'-h[Print help]' \
'--help[Print help]' \
'::path -- If supplied, MPD will update only the provided directory/file. If not specified, everything is updated:_default' \
&& ret=0
;;
(albumart)
_arguments "${_arguments_options[@]}" : \
'-o+[Output file where to save the album art, "-" for stdout]:OUTPUT:_default' \
'--output=[Output file where to save the album art, "-" for stdout]:OUTPUT:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(debuginfo)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(version)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(play)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'::position -- Index of the song in the queue:_default' \
&& ret=0
;;
(pause)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(unpause)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(togglepause)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(next)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(prev)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(volume)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'::value:_default' \
&& ret=0
;;
(repeat)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':value:((on\:"Enable"
off\:"Disable"))' \
&& ret=0
;;
(random)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':value:((on\:"Enable"
off\:"Disable"))' \
&& ret=0
;;
(single)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':value:((on\:"Enable"
off\:"Disable"
oneshot\:"Track get removed from playlist after it has been played"))' \
&& ret=0
;;
(consume)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':value:((on\:"Enable"
off\:"Disable"
oneshot\:"Track get removed from playlist after it has been played"))' \
&& ret=0
;;
(seek)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':value:_default' \
&& ret=0
;;
(clear)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':file:_default' \
&& ret=0
;;
(addyt)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':url:_default' \
&& ret=0
;;
(outputs)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggleoutput)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':id:_default' \
&& ret=0
;;
(enableoutput)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':id:_default' \
&& ret=0
;;
(disableoutput)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':id:_default' \
&& ret=0
;;
(decoders)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(song)
_arguments "${_arguments_options[@]}" : \
'*-p+[]:PATH:_default' \
'*--path=[]:PATH:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(mount)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':name:_default' \
':path:_default' \
&& ret=0
;;
(unmount)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':name:_default' \
&& ret=0
;;
(listmounts)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_rmpc__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:rmpc-help-command-$line[1]:"
        case $line[1] in
            (config)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(lyricsindex)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rescan)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(albumart)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(debuginfo)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(version)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(play)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pause)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(unpause)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(togglepause)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(next)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(prev)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(volume)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(repeat)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(random)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(single)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(consume)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(seek)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(clear)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(addyt)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(outputs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggleoutput)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(enableoutput)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(disableoutput)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(decoders)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(song)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(mount)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(unmount)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(listmounts)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_rmpc_commands] )) ||
_rmpc_commands() {
    local commands; commands=(
'config:Prints the default config. Can be used to bootstrap your config file' \
'theme:Prints the default theme. Can be used to bootstrap your theme file' \
'lyricsindex:Index the lyrics dir and display result, meant only for debugging purposes' \
'update:Scan MPD'\''s music directory for updates' \
'rescan:Scan MPD'\''s music directory for updates. Also rescans unmodified files' \
'albumart:Saves the current album art to a file. Exit codes\: * 0\: Success * 1\: Error * 2\: No album art found * 3\: No song playing' \
'debuginfo:Prints information about optional runtime dependencies' \
'version:Prints the rmpc version' \
'play:Plays song at the position in the current playlist. Defaults to current paused song' \
'pause:Pause playback' \
'unpause:Unpause playback' \
'togglepause:Toggles between play and pause' \
'stop:Stops playback' \
'next:Plays the next song in the playlist' \
'prev:Plays the previous song in the playlist' \
'volume:Sets volume, relative if prefixed by + or -. Prints current volume if no arguments is given' \
'repeat:On or off' \
'random:On or off' \
'single:On, off or oneshot' \
'consume:On, off or oneshot' \
'seek:Seeks current song(seconds), relative if prefixed by + or -' \
'clear:Clear the current queue' \
'add:Add a song to the current queue. Relative to music database root. '\''/'\'' to add all files to the queue' \
'addyt:Add a song from youtube to the current queue' \
'outputs:List MPD outputs' \
'toggleoutput:Toggle MPD output on or off' \
'enableoutput:Enable MPD output' \
'disableoutput:Disable MPD output' \
'decoders:List MPD decoder plugins' \
'status:Prints various information like the playback status' \
'song:Prints info about the current song. If --path specified, prints information about the song at the given path instead. If --path is specified multiple times, prints an array containing all the songs' \
'mount:Mounts supported storage to MPD' \
'unmount:Unmounts storage with given name' \
'listmounts:List currently mounted storages' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'rmpc commands' commands "$@"
}
(( $+functions[_rmpc__add_commands] )) ||
_rmpc__add_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc add commands' commands "$@"
}
(( $+functions[_rmpc__addyt_commands] )) ||
_rmpc__addyt_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc addyt commands' commands "$@"
}
(( $+functions[_rmpc__albumart_commands] )) ||
_rmpc__albumart_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc albumart commands' commands "$@"
}
(( $+functions[_rmpc__clear_commands] )) ||
_rmpc__clear_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc clear commands' commands "$@"
}
(( $+functions[_rmpc__config_commands] )) ||
_rmpc__config_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc config commands' commands "$@"
}
(( $+functions[_rmpc__consume_commands] )) ||
_rmpc__consume_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc consume commands' commands "$@"
}
(( $+functions[_rmpc__debuginfo_commands] )) ||
_rmpc__debuginfo_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc debuginfo commands' commands "$@"
}
(( $+functions[_rmpc__decoders_commands] )) ||
_rmpc__decoders_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc decoders commands' commands "$@"
}
(( $+functions[_rmpc__disableoutput_commands] )) ||
_rmpc__disableoutput_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc disableoutput commands' commands "$@"
}
(( $+functions[_rmpc__enableoutput_commands] )) ||
_rmpc__enableoutput_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc enableoutput commands' commands "$@"
}
(( $+functions[_rmpc__help_commands] )) ||
_rmpc__help_commands() {
    local commands; commands=(
'config:Prints the default config. Can be used to bootstrap your config file' \
'theme:Prints the default theme. Can be used to bootstrap your theme file' \
'lyricsindex:Index the lyrics dir and display result, meant only for debugging purposes' \
'update:Scan MPD'\''s music directory for updates' \
'rescan:Scan MPD'\''s music directory for updates. Also rescans unmodified files' \
'albumart:Saves the current album art to a file. Exit codes\: * 0\: Success * 1\: Error * 2\: No album art found * 3\: No song playing' \
'debuginfo:Prints information about optional runtime dependencies' \
'version:Prints the rmpc version' \
'play:Plays song at the position in the current playlist. Defaults to current paused song' \
'pause:Pause playback' \
'unpause:Unpause playback' \
'togglepause:Toggles between play and pause' \
'stop:Stops playback' \
'next:Plays the next song in the playlist' \
'prev:Plays the previous song in the playlist' \
'volume:Sets volume, relative if prefixed by + or -. Prints current volume if no arguments is given' \
'repeat:On or off' \
'random:On or off' \
'single:On, off or oneshot' \
'consume:On, off or oneshot' \
'seek:Seeks current song(seconds), relative if prefixed by + or -' \
'clear:Clear the current queue' \
'add:Add a song to the current queue. Relative to music database root. '\''/'\'' to add all files to the queue' \
'addyt:Add a song from youtube to the current queue' \
'outputs:List MPD outputs' \
'toggleoutput:Toggle MPD output on or off' \
'enableoutput:Enable MPD output' \
'disableoutput:Disable MPD output' \
'decoders:List MPD decoder plugins' \
'status:Prints various information like the playback status' \
'song:Prints info about the current song. If --path specified, prints information about the song at the given path instead. If --path is specified multiple times, prints an array containing all the songs' \
'mount:Mounts supported storage to MPD' \
'unmount:Unmounts storage with given name' \
'listmounts:List currently mounted storages' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'rmpc help commands' commands "$@"
}
(( $+functions[_rmpc__help__add_commands] )) ||
_rmpc__help__add_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help add commands' commands "$@"
}
(( $+functions[_rmpc__help__addyt_commands] )) ||
_rmpc__help__addyt_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help addyt commands' commands "$@"
}
(( $+functions[_rmpc__help__albumart_commands] )) ||
_rmpc__help__albumart_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help albumart commands' commands "$@"
}
(( $+functions[_rmpc__help__clear_commands] )) ||
_rmpc__help__clear_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help clear commands' commands "$@"
}
(( $+functions[_rmpc__help__config_commands] )) ||
_rmpc__help__config_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help config commands' commands "$@"
}
(( $+functions[_rmpc__help__consume_commands] )) ||
_rmpc__help__consume_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help consume commands' commands "$@"
}
(( $+functions[_rmpc__help__debuginfo_commands] )) ||
_rmpc__help__debuginfo_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help debuginfo commands' commands "$@"
}
(( $+functions[_rmpc__help__decoders_commands] )) ||
_rmpc__help__decoders_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help decoders commands' commands "$@"
}
(( $+functions[_rmpc__help__disableoutput_commands] )) ||
_rmpc__help__disableoutput_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help disableoutput commands' commands "$@"
}
(( $+functions[_rmpc__help__enableoutput_commands] )) ||
_rmpc__help__enableoutput_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help enableoutput commands' commands "$@"
}
(( $+functions[_rmpc__help__help_commands] )) ||
_rmpc__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help help commands' commands "$@"
}
(( $+functions[_rmpc__help__listmounts_commands] )) ||
_rmpc__help__listmounts_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help listmounts commands' commands "$@"
}
(( $+functions[_rmpc__help__lyricsindex_commands] )) ||
_rmpc__help__lyricsindex_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help lyricsindex commands' commands "$@"
}
(( $+functions[_rmpc__help__mount_commands] )) ||
_rmpc__help__mount_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help mount commands' commands "$@"
}
(( $+functions[_rmpc__help__next_commands] )) ||
_rmpc__help__next_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help next commands' commands "$@"
}
(( $+functions[_rmpc__help__outputs_commands] )) ||
_rmpc__help__outputs_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help outputs commands' commands "$@"
}
(( $+functions[_rmpc__help__pause_commands] )) ||
_rmpc__help__pause_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help pause commands' commands "$@"
}
(( $+functions[_rmpc__help__play_commands] )) ||
_rmpc__help__play_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help play commands' commands "$@"
}
(( $+functions[_rmpc__help__prev_commands] )) ||
_rmpc__help__prev_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help prev commands' commands "$@"
}
(( $+functions[_rmpc__help__random_commands] )) ||
_rmpc__help__random_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help random commands' commands "$@"
}
(( $+functions[_rmpc__help__repeat_commands] )) ||
_rmpc__help__repeat_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help repeat commands' commands "$@"
}
(( $+functions[_rmpc__help__rescan_commands] )) ||
_rmpc__help__rescan_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help rescan commands' commands "$@"
}
(( $+functions[_rmpc__help__seek_commands] )) ||
_rmpc__help__seek_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help seek commands' commands "$@"
}
(( $+functions[_rmpc__help__single_commands] )) ||
_rmpc__help__single_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help single commands' commands "$@"
}
(( $+functions[_rmpc__help__song_commands] )) ||
_rmpc__help__song_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help song commands' commands "$@"
}
(( $+functions[_rmpc__help__status_commands] )) ||
_rmpc__help__status_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help status commands' commands "$@"
}
(( $+functions[_rmpc__help__stop_commands] )) ||
_rmpc__help__stop_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help stop commands' commands "$@"
}
(( $+functions[_rmpc__help__theme_commands] )) ||
_rmpc__help__theme_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help theme commands' commands "$@"
}
(( $+functions[_rmpc__help__toggleoutput_commands] )) ||
_rmpc__help__toggleoutput_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help toggleoutput commands' commands "$@"
}
(( $+functions[_rmpc__help__togglepause_commands] )) ||
_rmpc__help__togglepause_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help togglepause commands' commands "$@"
}
(( $+functions[_rmpc__help__unmount_commands] )) ||
_rmpc__help__unmount_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help unmount commands' commands "$@"
}
(( $+functions[_rmpc__help__unpause_commands] )) ||
_rmpc__help__unpause_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help unpause commands' commands "$@"
}
(( $+functions[_rmpc__help__update_commands] )) ||
_rmpc__help__update_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help update commands' commands "$@"
}
(( $+functions[_rmpc__help__version_commands] )) ||
_rmpc__help__version_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help version commands' commands "$@"
}
(( $+functions[_rmpc__help__volume_commands] )) ||
_rmpc__help__volume_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc help volume commands' commands "$@"
}
(( $+functions[_rmpc__listmounts_commands] )) ||
_rmpc__listmounts_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc listmounts commands' commands "$@"
}
(( $+functions[_rmpc__lyricsindex_commands] )) ||
_rmpc__lyricsindex_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc lyricsindex commands' commands "$@"
}
(( $+functions[_rmpc__mount_commands] )) ||
_rmpc__mount_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc mount commands' commands "$@"
}
(( $+functions[_rmpc__next_commands] )) ||
_rmpc__next_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc next commands' commands "$@"
}
(( $+functions[_rmpc__outputs_commands] )) ||
_rmpc__outputs_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc outputs commands' commands "$@"
}
(( $+functions[_rmpc__pause_commands] )) ||
_rmpc__pause_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc pause commands' commands "$@"
}
(( $+functions[_rmpc__play_commands] )) ||
_rmpc__play_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc play commands' commands "$@"
}
(( $+functions[_rmpc__prev_commands] )) ||
_rmpc__prev_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc prev commands' commands "$@"
}
(( $+functions[_rmpc__random_commands] )) ||
_rmpc__random_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc random commands' commands "$@"
}
(( $+functions[_rmpc__repeat_commands] )) ||
_rmpc__repeat_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc repeat commands' commands "$@"
}
(( $+functions[_rmpc__rescan_commands] )) ||
_rmpc__rescan_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc rescan commands' commands "$@"
}
(( $+functions[_rmpc__seek_commands] )) ||
_rmpc__seek_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc seek commands' commands "$@"
}
(( $+functions[_rmpc__single_commands] )) ||
_rmpc__single_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc single commands' commands "$@"
}
(( $+functions[_rmpc__song_commands] )) ||
_rmpc__song_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc song commands' commands "$@"
}
(( $+functions[_rmpc__status_commands] )) ||
_rmpc__status_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc status commands' commands "$@"
}
(( $+functions[_rmpc__stop_commands] )) ||
_rmpc__stop_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc stop commands' commands "$@"
}
(( $+functions[_rmpc__theme_commands] )) ||
_rmpc__theme_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc theme commands' commands "$@"
}
(( $+functions[_rmpc__toggleoutput_commands] )) ||
_rmpc__toggleoutput_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc toggleoutput commands' commands "$@"
}
(( $+functions[_rmpc__togglepause_commands] )) ||
_rmpc__togglepause_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc togglepause commands' commands "$@"
}
(( $+functions[_rmpc__unmount_commands] )) ||
_rmpc__unmount_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc unmount commands' commands "$@"
}
(( $+functions[_rmpc__unpause_commands] )) ||
_rmpc__unpause_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc unpause commands' commands "$@"
}
(( $+functions[_rmpc__update_commands] )) ||
_rmpc__update_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc update commands' commands "$@"
}
(( $+functions[_rmpc__version_commands] )) ||
_rmpc__version_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc version commands' commands "$@"
}
(( $+functions[_rmpc__volume_commands] )) ||
_rmpc__volume_commands() {
    local commands; commands=()
    _describe -t commands 'rmpc volume commands' commands "$@"
}

if [ "$funcstack[1]" = "_rmpc" ]; then
    _rmpc "$@"
else
    compdef _rmpc rmpc
fi
