Files
nfoguard/VERSION
T
sbcrumb d8525a3ec0
Local Docker Build (Dev) / build-dev (push) Successful in 29s
fix: Implement proper episode data lookup for NFO updates
Root cause: NFO files were missing dateadded/aired because update logic
wasn't actually fetching episode data - just passing None values.

Fixed by implementing proper data lookup chain:
1. Check NFOGuard database for existing episode data
2. Query Sonarr API for import date (preferred for dateadded)
3. Get episode airdate from Sonarr
4. Fallback to using airdate as dateadded if no import date

Added _get_episode_dates_from_apis() method that follows the same
logic as regular episode processing, ensuring NFO updates get
proper dateadded and aired values instead of just basic metadata.

This should resolve the missing NFOGuard fields in episode NFO files.
2025-09-26 09:12:43 -04:00

2 lines
6 B
Plaintext