#!/usr/bin/bash if [[ "$1" == "status" ]]; then qmmp --status elif [[ "$1" == "play" ]]; then qmmp -p elif [[ "$1" == "pause" ]]; then qmmp -u elif [[ "$1" == "prev" ]]; then qmmp --previous elif [[ "$1" == "next" ]]; then qmmp --next elif [[ "$1" == "fwd" ]]; then qmmp --seek-fwd "$2" elif [[ "$1" == "bwd" ]]; then qmmp --seek-bwd "$2" else qmmp "$@" fi