Releases: zachstultz/komga-cover-extractor
v2.2.1
v2.2.1 c0f936b:
New:
- Added Support for Spanish
Tomo
volume keyword
Changes:
- Fixed error when a volume is checked whether or not it is a one shot and it assumes the user passed in download_folders, but nothing was passed.
- Fixed no series cover (cover.jpg) being produced when dealing with "Tomo" volumes.
- Changed unacceptable match color to yellow for discord output
v2.2.0
UPDATE TO NEW SETTINGS (or replace file_extensions
and image_extensions
in settings.py) 55bc4d6:
v2.2.0 adae6dd:
New:
- Added optional extension filter on paths
-p "/path/to/novels" ".epub"
- for multiple extensions, separate with a comma
".epub, .cbz"
- It will default to all script's currently supported extensions if not specified.
- If you're also specifying your path's path_type as
"volume"
or"chapter"
, the order does not matter
(as long as the path comes first obviously) - Can be useful when you're matching a novel (.epub) to your library and you want it to skip over all paths not specified with .epub
- for multiple extensions, separate with a comma
Changes:
- Fixed file extensions' and image extensions' dot inconsistencies between the script and settings.py
(everything in the script and in settings.py now uses a consistent.extension
) - Fixed release_groups.txt not getting loaded in
v2.1.3-2.1.4
New:
- Sped up series matching by allowing the user to optionally define each passed-in path as "volume" or "chapter":
- This assumes two things, one that you separate your volumes from your chapter series into two different locations, and two, that you have check_for_existing_series_toggle enabled as this is meant to speed up that.
- When matching a chapter, if a path has been specified as a path containing nothing but volumes, then it will be skipped. And vice versa with a volume against a path full of chapters. It will also skip over unnecessary paths when checking against all the cached paths.
- EX:
-p "/path/to/mangaVolumes" "volume"
or-p "/path/to/mangaChapters" "chapter"
Changes:
- Fixed infinite looping in duplicate check when two different series are in the same folder.
v2.1.2
Update settings or manually add move_release_group_to_end_of_file_name to your existing settings 770a650 c54d2e3:
v2.1.2 9cf4b55 :
Changes:
- Adjusted a chapter regex to avoid confusing Part 1 as the chapter number.
- When loading in cached_paths.txt, all paths that don't start with any of the paths passed in are now ignored. Useful when you specifically choose not to pass in certain paths to speed things up, but previously it would still go through all cached_paths.
- Bracketed information is now removed when getting the series_name for a file. The exception to this is if the brackets have dashes on each side, so "-(text)-" would not get removed. Will adjust in the future if needed.
- Chapter series cleaning now removes empty brackets
- Removing a file now checks that the file itself exists before attempting to remove it.
- Fixed issue with non-matching chapter/volume numbers still being compared against when checking for duplicates.
- Made moving the release_group to the end of the file name when using reorganize & rename optional, see move_release_group_to_end_of_file_name in settings.py
- Minor wording changes.
v2.1.1
v2.1.1 5747a08:
Changes:
- Rewrote remove_unaccepted_file_types()
- Rewrote contains_chapter_keywords()
- Rewrote contains_volume_keywords()
- Rewrote filter_non_chapters()
- Rewrote check_for_exception_keywords()
- Rewrote and merged get_file_type_percent_for_folder() and get_percent_for_folder() into just get_percent_for_folder()
- Removed is_zipfile() check from remove_unaccepted_file_types() after being deemed unnecessary and causing performance slowdown.
- Minor message code changes and cleanup
v2.1.0
RUN NEW REQUIREMENTS AND UPDATE SETTINGS! (Or run new requirements and copy compare_detected_cover_to_blank_image and blank_cover_required_similarity_score settings to your settings)
v2.1.0 533909b fd545c9 2023d9d:
New:
- Added optional compare_detected_cover_to_blank_image feature - will compare the detected cover to a blank white image and a blank black image, and if the similarity is high enough, will skip that cover. Is useful for releases where the first image is a blank image, then the cover.
- Added a bunch of execution timers around the script to identify slowdowns (This one is only for me :D) (except more speedups in the future)
Changes:
- Fixed crash when pulling internal pub cover and a rootfile_path wasn't found
- Fixed the file not being updated with renamed properties after being renamed in rename_files_in_download_folders()
- Rewrote execute_command() to show command's output in real time instead of after the fact.
- Rewrote chapter/volume duplicate check to be faster.
- Adjusted various tabbing and messaging around the script.
v2.0.13
UPDATE TO THE NEW SETTINGS! (or just add the exception_keywords to your existing)
v2.0.13 df6cf42:
Added:
- Added "Advanced" keyword when replacing similar publisher names in the file name, from the internal metadata (when add_publisher_name_to_file_name_when_renaming is enabled)
- Added alternative similarity check when renaming folders based on internal volumes/chapter series names.
Modifications/Fixes:
- Fixed alternative volume naming formats not being detected as volume 1 for series cover copying.
- Changed only acceptable pass-in value for command-line arguments to be "True", no longer accepting "1" and "yes".
- Modified get_keyword_score()
- Modified only_has_one_set_of_numbers()
- Renamed remove_common_words() to normalize_string_for_matching() and heavily modified it.
- Renamed remove_underscore_from_name() to replace_underscore_in_name()
- Renamed remove_all_chapters() to filter_non_chapters()
- Removed any unused functions.
Rewrites:
- Rewrote read_lines_from_file()
- Rewrote clean_and_sort()
- Rewrote remove_unaccepted_file_types()
- Rewrote remove_ignored_folders()
- Rewrote check_for_exception_keywords()
- Rewrote get_volume_year()
- Rewrote get_release_group()
- Rewrote get_extras()
v2.0.4
v2.0.4 9280475:
New:
- Added safeguard file check when getting file sizes for discord output message.
Changes:
- Fixed underscore chapters being confused for multi-volume/chapter releases causing an error when renaming.
- Fixed array to string error when expecting an array of strings, but instead getting an array of floats.
v2.0.0 Release [Chapter Support Edition]
UPDATE TO NEW SETTINGS!
Chapter support is turned off by default, since it's not perfect yet, but feel free to enable it at your own risk. Renaming chapter files without a chapter keyword can run into some issues, but chapter files with a keyword shouldn't have any issues.
v2.0.0 Release [Chapter Support Edition] dd9b109:
New:
- Added chapter support for file renaming, reorganizing & renaming, creating folders, renaming folders, checking for duplicates, extracting covers, and when checking for existing series.
- Added discord limit checks for discord's official webhook limits when sending a message to discord
- Added automatic matching to a chapter folder or a volume folder.
- Added file size to upgrade process discord output (not entirely sure on whether this will be kept)
- Added compiled chapter notifications for new_volume_webhook if cover output is off.
Changes:
- Fixed regression in check_for_existing_series() series matching when not using a cached_series.txt list
- Non-valid zip files are now ignored in all features that use clean_and_sort().