diff options
author | sinanmohd <sinan@firemail.cc> | 2023-07-28 11:41:27 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-08-01 13:56:44 +0530 |
commit | c1c45be404683ed20011eebe0c18827bf686147b (patch) | |
tree | ed23755b5e9fd52d0fe3e28aa0ba682522f0b401 | |
parent | 4de3e44012190773f5bc468bb74235f66375c2fb (diff) |
damb: get rid of "random" option
i've barely used it, select was used even when i needed to listen to
something randm
-rwxr-xr-x | damb | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 |