Index: Slim/Music/Info.pm =================================================================== RCS file: /cvsroot/slim/server/Slim/Music/Info.pm,v retrieving revision 1.140 diff -u -r1.140 Info.pm --- Slim/Music/Info.pm 11 Aug 2004 15:43:15 -0000 1.140 +++ Slim/Music/Info.pm 12 Aug 2004 23:18:11 -0000 @@ -2128,9 +2128,6 @@ $::d_info && Slim::Utils::Misc::msg("readTags: calculating header $header, startbytes $startbytes and endbytes $endbytes\n"); } - # cache the content type - $tempCacheEntry->{'CT'} = $type; - if (! Slim::Music::iTunes::useiTunesLibrary()) { # Check for Cover Artwork, only if not already present. if (exists $tempCacheEntry->{'COVER'} || exists $tempCacheEntry->{'THUMB'}) { @@ -2140,7 +2137,7 @@ $tempCacheEntry->{'TAG'} = 1; $tempCacheEntry->{'VALID'} = 1; # cache the content type - $tempCacheEntry->{'CT'} = $type; + $tempCacheEntry->{'CT'} = $type unless defined $tempCacheEntry->{'CT'}; #update the cache so we can use readCoverArt without recursion. updateCacheEntry($file, $tempCacheEntry); # Look for Cover Art and cache location