I think that this routine in CUE.pm could be changed to remove the final
quote and possible any spaces after it instead of removing everything
from the 2nd quote

Perhaps from ...

Code:
--------------------
    
  sub _removeQuotes {
        my $line        = shift;
  
        $line =~ s/^\"(.*?)\".*/$1/i;
        return $line;
  }
  
--------------------


to ...

Code:
--------------------
    
  sub _removeQuotes {
        my $line        = shift;
  
        $line =~ s/^\"(.*?)\"( )*$/$1/i;
        return $line;
  }
  
--------------------


Although there is probably a better way to handle optional trailing
whitespace.
I have no idea if letting embedded quotation marks into the database
will mess up something else though.



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109294

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/ripping

Reply via email to