aetaric / checkrr

Checkrr Scans your library files for corrupt media and replace the files via sonarr and radarr
MIT License
206 stars 10 forks source link

ignoreext fails to properly ignore the file extention #31

Closed joggs closed 1 year ago

joggs commented 1 year ago

Using the example config file makes checkrr report every .bif file as a bad file (whcich could be an improvement to add .bif to ignoreexts in the yaml, as I think the greater part of users have .bif files autogenerated for video files in plex, emby etc). But the issue here is, that if I add .bif to the ignoreexts section in the config, they are still found by checkrr and treated as a bad file(ignore faulty indent. the yaml is valid).

my config: ignoreexts:

I've deleted the database and re created the docker between tests.

wieluk commented 1 year ago

same for me for .xml files

TuRDMaN commented 1 year ago

I am on the latest version and still getting "unknown file detected" for all sorts of files that are defined in ignoreexts:

Edit: Not sure, but I think it may have something to do with the way that the files are being parsed to determine the extension. On all of the files I see that have been detected as unknown, each one has at least one '.' somewhere in the filename before the '.' that denotes the extension.

aetaric commented 1 year ago

I am on the latest version and still getting "unknown file detected" for all sorts of files that are defined in ignoreexts

That's because 3.1.0 isn't released. This will be patched in that version.

TuRDMaN commented 1 year ago

Ah, okay. Thanks for all of your work.

Looking forward to it!