updates to api calls

This commit is contained in:
2025-09-08 14:50:03 -04:00
parent 157ba581b7
commit e40e80bfb5
+5
View File
@@ -31,6 +31,11 @@ except ImportError:
class RadarrClient: class RadarrClient:
"""Enhanced Radarr API client with improved import date detection""" """Enhanced Radarr API client with improved import date detection"""
# Radarr API numeric event types:
# 1 = "grabbed" (when release is grabbed/downloaded)
# 3 = "imported" (when file is imported to library)
# These come from Radarr's EventType enum in the API/database
# Known Radarr event types that indicate actual imports # Known Radarr event types that indicate actual imports
REAL_IMPORT_EVENTS = { REAL_IMPORT_EVENTS = {
# Primary events to check first # Primary events to check first