clip9 / adbren

adbren - Rename and organize anime using this AniDB API client written in perl
39 stars 10 forks source link

Ignoring Log File #8

Closed damonmensch closed 5 years ago

damonmensch commented 7 years ago

Adbren is ignoring the logfile and hashing the same files over anyway. And as such my log file is full of multiple entries of the same filename.

https://pastebin.com/Navwz77e

thoj commented 7 years ago

Yeah... The way it's programmed it will never work like that. I think it might work if you run it in one directory.

Can you test something for me? Change line 185 from

 my @matches = grep { $_ eq $filename } @raw_data;
 my @matches = grep { /$filename/ } @raw_data;