mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 23:23:25 +02:00
Update media_manager/tv/service.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fd457049af
commit
d680099a0b
@@ -872,7 +872,12 @@ class TvService:
|
||||
self.tv_repository.add_season_file(season_file=season_file)
|
||||
|
||||
new_source_path = source_directory.parent / ("." + source_directory.name)
|
||||
source_directory.rename(new_source_path)
|
||||
try:
|
||||
source_directory.rename(new_source_path)
|
||||
except Exception as e:
|
||||
log.error(
|
||||
f"Failed to rename {source_directory} to {new_source_path}: {e}"
|
||||
)
|
||||
|
||||
|
||||
def auto_download_all_approved_season_requests() -> None:
|
||||
|
||||
Reference in New Issue
Block a user