Skip to content

v2.4.0 - Correct File Extensions

Compare
Choose a tag to compare
@zachstultz zachstultz released this 16 May 18:54
· 133 commits to master since this release
8aea5e0

REQUIRED:
   1. Update to new settings or add this to your existing: d047bfc
      correct_file_extensions_toggle = False
    2. Run new requirements.txt 8aea5e0

New:

  • Added correct_file_extensions feature, corrects an incorrect file extension by reading the header of the file and checking if that matches the current file extension. dc5f675
    • (currently limited to only working with zip/cbz and rar/cbr, due to improperly packed epubs posing some issues)

Changes:

  • Fixed mistake with get_subtitle_from_title() and enabled it when restructuring the file name fcc84b7
  • Added using the header extension as an alternative when checking for a valid zip for renaming a zip to a cbz dc5f675
  • * is now removed from the file name when restructuring and renaming. dc5f675
    • (A more robust replace/remove all illegal characters function will come in the future)