Skip to content

Commit

Permalink
Update cmd-list.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rern committed Sep 17, 2022
1 parent 686ac9f commit a3ae974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srv/http/bash/cmd-list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit a3ae974

Please sign in to comment.