From 297b8d5985b4c1974ecd28bacb4826c8137b319f Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 19 Feb 2023 21:42:21 +0400 Subject: [PATCH] Removed ability to set out name for filelist.html. --- tools/radioctl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/radioctl b/tools/radioctl index e3ebc0a..28bea4f 100644 --- a/tools/radioctl +++ b/tools/radioctl @@ -1,16 +1,12 @@ #!/usr/bin/sh radio_dir=/srv/radio -out=$radio_dir/filelist.html case $1 in f | filelist) - if [[ -n "$2" ]]; then - out=$2 - fi tree -H '' -T "Arav's dwelling / Radio / List" \ -P '*.ogg' --charset=utf-8 --prune --du -hnl \ - --nolinks -o $out $radio_dir/music + --nolinks -o $radio_dir/filelist.html $radio_dir/music break ;; p | playlist)