clip9 / adbren

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

adbren.pl scanning files with arbitrary extensions #13

Closed kobuki closed 5 years ago

kobuki commented 6 years ago

The tool should only scan and hash files with a valid video file extension.

pascalo7 commented 5 years ago

@thoj I don't see how this is closed when there is no flag or config section to set a white-list for file extensions

hergonoway commented 5 years ago

@thoj : it still hash my jpg files from Medusa folder. It may be a very useful feature in order to avoid being ban by anidb API

EDIT : it should be also convenient to be able to exclude some folder type like "@eadir" which contains index stuff on synology plateform. I'm currently removing them before each run with :

sudo find ./Anime_To_Process/ -name "@eaDir" -type d -print0 | xargs -0 rm -rf 

but it should be avoided