This commit is contained in:
2025-09-12 13:54:29 -04:00
parent 77295cc400
commit 4ef28c3021
5 changed files with 103 additions and 10 deletions
+9 -3
View File
@@ -299,7 +299,9 @@ class TVProcessor:
self.nfo_manager.create_season_nfo(season_dir, season)
seasons_processed.add(season)
self.nfo_manager.create_tvshow_nfo(series_path, imdb_id)
# Get TVDB ID for better Emby compatibility
tvdb_id = self.external_clients.get_tvdb_series_id(imdb_id)
self.nfo_manager.create_tvshow_nfo(series_path, imdb_id, tvdb_id)
_log("INFO", f"Completed processing TV series: {series_path.name}")
@@ -481,7 +483,9 @@ class TVProcessor:
# Create season NFO
if config.manage_nfo:
self.nfo_manager.create_season_nfo(season_path, season_num)
self.nfo_manager.create_tvshow_nfo(series_path, imdb_id)
# Get TVDB ID for better Emby compatibility
tvdb_id = self.external_clients.get_tvdb_series_id(imdb_id)
self.nfo_manager.create_tvshow_nfo(series_path, imdb_id, tvdb_id)
_log("INFO", f"Completed processing season {season_num}")
@@ -729,7 +733,9 @@ class TVProcessor:
self.nfo_manager.create_season_nfo(season_dir, season_num)
seasons_processed.add(season_num)
self.nfo_manager.create_tvshow_nfo(series_path, imdb_id)
# Get TVDB ID for better Emby compatibility
tvdb_id = self.external_clients.get_tvdb_series_id(imdb_id)
self.nfo_manager.create_tvshow_nfo(series_path, imdb_id, tvdb_id)
_log("INFO", f"Completed targeted processing: {episodes_processed}/{len(webhook_episodes)} episodes processed")