jbilcke-hf HF staff commited on
Commit
856f9d7
·
1 Parent(s): 6d85e95

removing unecessary logs

Browse files
Files changed (2) hide show
  1. scripts/audio.sh +2 -2
  2. scripts/video.sh +2 -2
scripts/audio.sh CHANGED
@@ -5,10 +5,10 @@ current_count=0
5
 
6
  while true; do
7
  new_count=$(ls $WEBTV_AUDIO_STORAGE_PATH*.mp3 2> /dev/null | wc -l)
8
-
9
- echo "there are $new_count audio files"
10
 
11
  if [ $new_count -ne $current_count ]; then
 
 
12
  echo "Updating audio playlists..."
13
  current_count=$new_count
14
  files=($WEBTV_AUDIO_STORAGE_PATH*.mp3)
 
5
 
6
  while true; do
7
  new_count=$(ls $WEBTV_AUDIO_STORAGE_PATH*.mp3 2> /dev/null | wc -l)
 
 
8
 
9
  if [ $new_count -ne $current_count ]; then
10
+ echo "there are $new_count audio files"
11
+
12
  echo "Updating audio playlists..."
13
  current_count=$new_count
14
  files=($WEBTV_AUDIO_STORAGE_PATH*.mp3)
scripts/video.sh CHANGED
@@ -7,9 +7,9 @@ current_count=0
7
  while true; do
8
  new_count=$(ls $WEBTV_VIDEO_STORAGE_PATH*.mp4 2> /dev/null | wc -l)
9
 
10
- echo "there are $new_count videos files"
11
-
12
  if [ $new_count -ne $current_count ]; then
 
 
13
  echo "Updating playlists..."
14
  current_count=$new_count
15
  files=($WEBTV_VIDEO_STORAGE_PATH*.mp4)
 
7
  while true; do
8
  new_count=$(ls $WEBTV_VIDEO_STORAGE_PATH*.mp4 2> /dev/null | wc -l)
9
 
 
 
10
  if [ $new_count -ne $current_count ]; then
11
+ echo "there are $new_count videos files"
12
+
13
  echo "Updating playlists..."
14
  current_count=$new_count
15
  files=($WEBTV_VIDEO_STORAGE_PATH*.mp4)