This commit is contained in:
@@ -449,6 +449,13 @@ async def get_movie_date_options(dependencies: dict, imdb_id: str):
|
||||
if not movie:
|
||||
raise HTTPException(status_code=404, detail="Movie not found")
|
||||
|
||||
# Debug logging to understand the data issue
|
||||
print(f"🔍 DEBUG: Movie data for {imdb_id}:")
|
||||
print(f" - released: {movie.get('released')}")
|
||||
print(f" - dateadded: {movie.get('dateadded')}")
|
||||
print(f" - source: {movie.get('source')}")
|
||||
print(f" - path: {movie.get('path')}")
|
||||
|
||||
options = []
|
||||
|
||||
# Option 1: Current dateadded (if exists and is different from released)
|
||||
|
||||
Reference in New Issue
Block a user