diff --git a/srv/http/bash/cmd-list.sh b/srv/http/bash/cmd-list.sh index 4eb854d9c..f4c6933a2 100644 --- a/srv/http/bash/cmd-list.sh +++ b/srv/http/bash/cmd-list.sh @@ -110,7 +110,7 @@ latest=$( cat "$dirmpd/latest" 2> /dev/null | wc -l ) for mode in NAS SD USB; do printf -v $mode '%s' $( mpc ls $mode 2> /dev/null | wc -l ) done -dabradio=$( find -L $dirdabradio -type f ! -path '*/img/*' | wc -l ) +dabradio=$( find -L $dirdata/dabradio -type f ! -path '*/img/*' 2> /dev/null | wc -l ) # no $dirdabradio if dab not installed playlists=$( ls -1 $dirplaylists | wc -l ) song=$( mpc stats | awk '/^Songs/ {print $NF}' ) webradio=$( find -L $dirwebradio -type f ! -path '*/img/*' | wc -l )