--- Parse.pm 2005-10-29 05:53:00.000000000 -0700 +++ Slim/Formats/Parse.pm 2005-10-31 15:50:38.733130300 -0800 @@ -64,7 +64,7 @@ sub writeList { my $listref = shift; my $playlistname = shift; my $fulldir = shift; - + my $type = Slim::Music::Info::typeFromSuffix($fulldir); my $writer; @@ -93,12 +93,13 @@ sub _updateMetaData { my $attributes = {}; # Update title MetaData only if its not a local file with Title information already cached. - if ($title && Slim::Music::Info::isFileURL($entry)) { + if ($title && !Slim::Music::Info::isFileURL($entry)) { my $track = $ds->objectForUrl($entry); - if (defined $track && !$track->title) { - + # if track doesn't exist, or exists but without a title + # TODO: maybe check for plainTitle (ugly url) and allow new titles + if (!$track || (defined $track && !$track->title)) { $attributes->{'TITLE'} = $title; } } @@ -239,7 +240,7 @@ sub readPLS { chomp($line); - $::d_parse && msg("Parsing line: $line"); + $::d_parse && msg("Parsing line: $line\n"); # strip carriage return from dos playlists $line =~ s/\cM//g;