sonarr-date #30
@@ -131,8 +131,9 @@ class TVProcessor:
|
||||
if not dateadded:
|
||||
source = "external"
|
||||
|
||||
# Use air date as fallback for dateadded if available
|
||||
if not dateadded and aired:
|
||||
# ONLY use air date as fallback for dateadded if we have no Sonarr import date at all
|
||||
# and if we couldn't get any import information from Sonarr history
|
||||
if not dateadded and aired and source != "sonarr:history.import":
|
||||
dateadded = aired
|
||||
source = f"{source}_fallback" if source != "unknown" else "aired_fallback"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user