aboutsummaryrefslogtreecommitdiff
path: root/damb
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-07-28 11:41:27 +0530
committersinanmohd <sinan@firemail.cc>2023-08-01 13:56:44 +0530
commitc1c45be404683ed20011eebe0c18827bf686147b (patch)
treeed23755b5e9fd52d0fe3e28aa0ba682522f0b401 /damb
parent4de3e44012190773f5bc468bb74235f66375c2fb (diff)
damb: get rid of "random" option
i've barely used it, select was used even when i needed to listen to something randm
Diffstat (limited to 'damb')
-rwxr-xr-xdamb7
1 files changed, 1 insertions, 6 deletions
diff --git a/damb b/damb
index a4b9af5..e0f7534 100755
--- a/damb
+++ b/damb
@@ -32,7 +32,7 @@ dep_check()
get_opt()
{
- printf "select\nlinks\nrandom\nstream\nstop" | "$menu" -p "$ico"
+ printf "select\nlinks\nstream\nstop" | "$menu" -p "$ico"
}
get_ambs()
@@ -65,11 +65,6 @@ main()
mpv --no-video --no-resume-playback "$(get_link)" &
echo "$!" >> "$pid_file"
;;
- random)
- dep_check "ffplay"
- ffplay -volume 20 -nodisp -loop 0 "$amb_dir/$(get_ambs | shuf -n1)" &
- echo "$!" >> "$pid_file"
- ;;
stop)
while read -r process
do