Shorten playlist control. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit e73f6a2df4ccd237e8a83ed11050d8097ff07a5a
(DIR) parent e239592c3b0c817fa413ed0d761c4d14fb558998
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 7 Jan 2026 11:48:03 +0100
Shorten playlist control.
Diffstat:
M annna-message-radio | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/annna-message-radio b/annna-message-radio
@@ -3,8 +3,8 @@
[ "$IRC_CMD_USER" = "${IRC_USER}" ] && exit
case "${IRC_PRIVMSG_TEXT}" in
-"${IRC_USER}, next song please"*) /usr/bin/mpc -q next; exit;;
-"${IRC_USER}, prev song please"*) /usr/bin/mpc -q prev; exit;;
+"${IRC_USER}, next please"*) /usr/bin/mpc -q next; exit;;
+"${IRC_USER}, prev please"*) /usr/bin/mpc -q prev; exit;;
"${IRC_USER}, please shuffle"*) /usr/bin/mpc -q shuffle; exit;;
"${IRC_USER}, please toggle random"*) /usr/bin/mpc -q random; exit;;
"${IRC_USER}, please toggle single"*) /usr/bin/mpc -q single; exit;;