radio aliases

This commit is contained in:
thek4n 2026-05-23 23:14:32 +03:00
parent 3cb60aaf32
commit 72adf2a2ff

View File

@ -14,7 +14,7 @@ usage() {
Usage: ${PROG} <command> [args]
Commands:
radio <CHANNEL> Switch to a radio station
radio, r <CHANNEL> Switch to a radio station
local, music [PATH] Switch to local music playlist (default: ~/Music)
next, n Next track
prev, p Previous track
@ -120,11 +120,11 @@ ACTION="${1:-}"
shift 2>/dev/null || true
case "${ACTION}" in
radio|tune)
tune_radio "$@"
radio|tune|r)
tune_radio "${@}"
;;
local|music|m)
play_local_playlist "$@"
play_local_playlist "${@}"
;;
next|n|prev|p|pause|stop|toggle|t|s)
handle_control "${ACTION}"