altdesktop / playerctl

🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
GNU Lesser General Public License v3.0
2.43k stars 79 forks source link

volume -[whatever with "." as a comman] doesn't work: "Unknown Option -[given amount]" #254

Closed evanescente-ondine closed 2 years ago

evanescente-ondine commented 2 years ago

I use audacious, but regardless the problelm is with playerctl. two terminals react the same so I doubt it's an issue of character escapement of whatever... I tried - too and it reads the same. playerctl version v2.4.1

uname -a: Linux mehdi-80qr 5.14.11-arch1-1 #1 SMP PREEMPT Sun, 10 Oct 2021 00:48:26 +0000 x86_64 GNU/Linux

acrisci commented 2 years ago

As you have found, I cannot use volume -0.5 because that looks like a short flag. Instead, the syntax is like volume 0.5-.

evanescente-ondine commented 2 years ago

Many thanks !