github plexguide/Huntarr.io 8.2.21

latest releases: 8.2.25, 8.2.24, 8.2.23...
8 hours ago

Fixes by @Admin9705 & @MikeO7 via - #740

Looks and works better with rolling 24hours

image

Admin9705 Fixes

Problem Solved:

  • Stats were showing 0 after midnight UTC even though there was recent activity
  • Calendar-day filtering caused timezone issues and empty displays

Solution Implemented:

  • Changed from calendar day (midnight-to-midnight) to rolling 24-hour window
  • Always shows activity from "now minus 24 hours" to "now"
  • Works regardless of timezone or time of day

MikeO7 - Fixes

Frontend (frontend/static/js/new-main.js)
✅ Added "Grabs Today" metric - Now displays daily successful grabs alongside searches
✅ Removed "Total Searches" metric - Eliminated confusing duplicate that showed same value as "Searches Today"
✅ Simplified Success Rate colors - Changed from 3-tier threshold (80%/60%/error) to simple binary: green if > 0%, red if 0%
✅ Removed dead code - Deleted unused loadProwlarrStats() and updateProwlarrStatsDisplay() functions (62 lines) that referenced non-existent HTML elements

Frontend CSS (frontend/templates/components/home_section.html)
✅ Fixed Success Rate card visibility - Label was being cut off due to insufficient height
✅ Standardized card sizing - All stat cards now uniform height (60px) with consistent padding (10px 12px)
✅ Adjusted typography - Reduced label font-size to 0.7em and value font-size to 1.3em for better fit
✅ Added explicit overrides - Used !important on Prowlarr stats to prevent inherited padding/margin issues
✅ Improved alignment - Added align-items: center for consistent vertical centering

Backend (src/primary/apps/prowlarr_routes.py)
✅ Removed total_api_calls tracking - No longer calculated or stored in stats
✅ Removed unnecessary API calls - Deleted code attempting to fetch lifetime totals from Prowlarr
✅ Added grabs_today to stats - Now properly tracked and returned in API responses
✅ Cleaned up logging - Removed references to total_api_calls from debug messages
✅ Updated indexer stats endpoint - Returns grabs_today instead of total_api_calls

Don't miss a new Huntarr.io release

NewReleases is sending notifications on new releases.