aboutsummaryrefslogtreecommitdiff
path: root/damb
diff options
context:
space:
mode:
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