Casvt / Kapowarr

Kapowarr is a software to build and manage a comic book library, fitting in the *arr suite of software.
https://casvt.github.io/Kapowarr/
GNU General Public License v3.0
348 stars 12 forks source link

Converting comics should only convert known files #153

Closed PhAzE-Variance closed 2 months ago

PhAzE-Variance commented 2 months ago

Is your feature request related to a problem? Please describe. The way Kapowarr converts files appears to take all files in the directory and run them through the convert functions. This can cause issues if unknown filetypes exist in the directory, including comictagger files.

Describe the solution you'd like The convert process should only convert known files that it expects, being ones that are tracked by Kapowarr and of known file types, while everything else is ignored. This will allow extra info / metadata files to remain and not break the convert process when mass converting or downloading new.

Additional context N/A

Casvt commented 2 months ago

Already fixed.

Both in your version and my development version, Kapowarr starts of with only converting files that are actually recognised (extension and matched).

The difference is that in your version, when an archive file is extracted because it contains multiple issues, then all the files in the folder are converted in an attempt to convert the extracted files. That is fixed in the development version, where only the files actually extracted from the archive are processed instead of all files in the folder.