Error on id3v2 automation script

Hi all,
I have some audiobooks which i'm trying to add the mp3tags based using id3v2 on the folder

Example:
Abigail Gibbs - (The Dark Heroine #01) - Dinner with a Vampire
Tags that I'm hoping to write
Artist: Abigail Gibbs
Album: The Dark Heroine #01
Song: Dinner with a Vampire

Any help would be great!!

A friend tried to help me with the following but it is failing big time

Cheers
Chris

  
#!/bin/bash 
find $1 -mindepth 1 -maxdepth 1 -type d | while read i
do
#   LINE=`echo $i |sed -e "s/$1\///g" -e 's/[()]//g' -e 's/ - /-/g' |awk -F - 'BEGIN{OFS="";} {print "-a \"",$1,"\" -A \"",$2,"\" -T \"",$3,"\$
#    LINE=`echo $i |sed -e "s/$1\///" -e 's/\(.*\) - (\(.*\)) - \(.*\)/-a "\1" -A "\2" -T "\3"/'`
    LINE1=`echo $i |sed -e "s/$1\///" -e 's/\(.*\) - (\(.*\)) - \(.*\)/\1/'`
      LINEa=`echo $i |sed -e "s/$1\///" -e 's/\(.*\) - (\(.*\)) - \(.*\)/\1/'` 
      LINEA=`echo $i |sed -e "s/$1\///" -e 's/\(.*\) - (\(.*\)) - \(.*\)/\2/'` 
      LINET=`echo $i |sed -e "s/$1\///" -e 's/\(.*\) - (\(.*\)) - \(.*\)/\3/'` 
   find "$i" -type f | while read j
   do
#      echo $LINE1 \'$j\'
#echo $LINE1
echo $LINEa
echo $LINEA
echo $LINET
#echo -a \"$LINEa\" -A \"$LINEA\" -T  \"$LINET\" \'$j\'
      id3v2 -a \"$LINEa\" -A \"$LINEA\" -T  \"$LINET\" $j
#      ls "$j"
   done
done


Cheers again

#!/bin/bash
find $1 -mindepth 1 -maxdepth 1 -type d | while read i
do
   LINEa=`echo $i |sed -e "s/$1\///" -e 's/\(.*\) - (\(.*\)) - \(.*\)/\1/; s/"/\\"/g;'`
   LINEA=`echo $i |sed -e "s/$1\///" -e 's/\(.*\) - (\(.*\)) - \(.*\)/\2/; s/"/\\"/g;'`
   LINET=`echo $i |sed -e "s/$1\///" -e 's/\(.*\) - (\(.*\)) - \(.*\)/\3/; s/"/\\"/g;'`
   fl=`echo "$i" |sed 's/"/\\"/g;'`
   id3v2 -a "$LINEa" -A "$LINEA" -T "$LINET" "$fl"
done