updates to api calls
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user