diff --git a/VERSION b/VERSION index 743af5e..d48d370 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.6.8 +2.6.9 diff --git a/debug_movie.py b/debug_movie.py index 9b1ab32..c21a7f8 100644 --- a/debug_movie.py +++ b/debug_movie.py @@ -10,6 +10,7 @@ from pathlib import Path sys.path.insert(0, str(Path(__file__).parent)) from core.database import NFOGuardDatabase +from config.settings import config def debug_movie(imdb_id: str): """Debug a specific movie's data""" @@ -17,7 +18,7 @@ def debug_movie(imdb_id: str): print("=" * 50) # Initialize database - db = NFOGuardDatabase() + db = NFOGuardDatabase(config=config) # Get movie data movie = db.get_movie_dates(imdb_id) diff --git a/debug_tv.py b/debug_tv.py index 32bfe27..7d0044d 100644 --- a/debug_tv.py +++ b/debug_tv.py @@ -10,6 +10,7 @@ from pathlib import Path sys.path.insert(0, str(Path(__file__).parent)) from core.database import NFOGuardDatabase +from config.settings import config def debug_series(imdb_id: str): """Debug a specific TV series' data""" @@ -17,7 +18,7 @@ def debug_series(imdb_id: str): print("=" * 60) # Initialize database - db = NFOGuardDatabase() + db = NFOGuardDatabase(config=config) # Get series episodes episodes = db.get_series_episodes(imdb_id) @@ -78,7 +79,7 @@ def debug_episode(imdb_id: str, season: int, episode: int): print("=" * 60) # Initialize database - db = NFOGuardDatabase() + db = NFOGuardDatabase(config=config) # Get specific episode episode_data = db.get_episode_date(imdb_id, season, episode) @@ -136,7 +137,7 @@ def debug_season(imdb_id: str, season: int): print("=" * 60) # Initialize database - db = NFOGuardDatabase() + db = NFOGuardDatabase(config=config) # Get series episodes all_episodes = db.get_series_episodes(imdb_id)