Skip to content

v2.4.21 - Matching Improvements

Compare
Choose a tag to compare
@zachstultz zachstultz released this 14 Dec 22:43
· 63 commits to master since this release
3d692c6

Major Changes:

  • Greatly improved alternative matching (cover matching) when matching a volume to the user's library.
    • it now looks for three consecutive matching words in a row, anywhere in both series names, instead of only at the beginning.
    • It also now generates a list of unique words from series folders in the user's library and if a word is in both series names and used three times or less in the entire library, then it will attempt on those series. 3d692c6
      • for example, a series name like:
        DanMachi - Sword Oratoria
        would now attempt a cover match on the series:
        Is It Wrong to Try to Pick Up Girls in a Dungeon - Sword Oratoria
        because "Oratoria" is a unique word that wouldn't be in a user's library more than three times
      • both of these massively improve matching when the names are super different for the same series, and no accuracy is sacrificed as these changes merely affect what is allowed to be attempted for a cover match, the cover itself still has to find a match
  • Folder renaming now happens after matching items to the user's library. 3d692c6
    • avoids wasting compute renaming folders that otherwise would've been purged by having matched all their items to the existing library
  • Massive code cleanup around the script using f-strings 3d692c6

Minor Changes:

  • Added check to remove trailing commas on series names. 3d692c6
  • Reworked how notifications are grouped
    • added logic for resending notifications that failed with the first web hook, and aborting after too many failures
  • Reduced total messages being sent to discord to further reduce rate limiting.
    • the execution end time embed is now grouped like the rest of the notifications instead of being sent separately
    • fixed some instances where notifications weren't being grouped until max (10)
  • Fixed regression in publisher/release_group text file generator 3d692c6
    • reverted remove_unaccepted_file_types() to previous version
  • Reduced duplicate code in check_upgrade() 3d692c6
  • Misc code cleanup and changes 3d692c6