v1.0.5-beta.016 - Fix(downloads) overhaul matching logic, add infoHash, and fix 0% progress bug
- Added infoHash extraction to prowlarr.ts and types/index.ts to guarantee exact 1-to-1 linking for torrents, bypassing the need for name matching when hashes are available.
- Rewrote the fallback mathematical matcher in cron.ts and admin/page.tsx with a new extractNum function that correctly prioritizes manga Chapters over Volumes.
- Introduced a junkWords filter and updated word-matching math to divide by minLength with a 50% threshold, preventing unrelated releases (like Spawn (ENG)) from hijacking active requests.
- Added a strict safety block to reject numberless torrents unless the requested issue is the first issue (# 1).
- Updated cron.ts to evaluate all active downloads (instead of only 100% completed ones) to link hashes early, fixing the bug where downloads appeared stuck at Downloading 0%.
- Fixed the regex in api/admin/requests/route.ts so the UI correctly extracts and displays issue numbers from Vol. X titles.