Browse Source

No debug output

Jeroen De Meerleer 1 year ago
parent
commit
800927705f
1 changed files with 1 additions and 4 deletions
  1. 1 4
      music-sync.sh

+ 1 - 4
music-sync.sh

@@ -410,11 +410,8 @@ ConvertPlaylist() {
 	for item in $(cat "$source/$line")
 	do
 		mp3item=$(echo $item | sed -e 's/\.*\//\//g'| tr -s ' ')
+		mp3item=$(echo "$mp3item" | sed -e 's/.flac/.mp3/')
 		playline=$(echo "${mp3item}" | sed -e "s,$mappingsrc,$mappingdest,g")
-		echo "${playline}"
-		echo "search: $mappingsrc"
-		echo "replace: $mappingdest"
-		echo $playline
 		if [[ $windowspaths == true ]]; then
 			playline=$(echo "${playline}" | sed -e 's,\/,\\,g')
 		fi