Skip to content
Browse files

fix : file size and modification time not updated

this also caused mp3 files without VBR header and which size has changed
since its addition to the library to always be "full-scanned"
  • Loading branch information
squentin committed Apr 11, 2010
1 parent d0bd6c4 commit 890a1982f39b5a1a45943a3a5e5060f7b28be2cd
Showing with 2 additions and 1 deletion.
  1. +2 −1
@@ -1140,9 +1140,10 @@ sub ReReadFile
my $checklength= ($size1!=$size2 || ($force && $force==2)) ? 2 : 0;
return 1 unless $checklength || $force || $modif1!=$modif2;
my ($values,$estimated)=FileTag::Read($file,$checklength);
my @changed=$DIFFsub->($ID,$values);
return unless @changed;warn "Changed fields : @changed";
############SetDB($ID,map( ($_,$values->{$_}), @changed)); DELME
my %changed; $changed{$_}=undef for @changed;

0 comments on commit 890a198

Please sign in to comment.
You can’t perform that action at this time.