Respect skip_processing flag in final processing

This commit is contained in:
Rafael Moraes
2025-10-21 12:54:00 -03:00
parent 6a084096b2
commit 2f38eedfa4
+2 -4
View File
@@ -55,7 +55,8 @@ class AppleMusicDownloader:
async def download(self, download_item: DownloadItem) -> None:
try:
await self._download(download_item)
await self._final_processing(download_item)
if not self.base_downloader.skip_processing:
await self._final_processing(download_item)
finally:
self.base_downloader.cleanup_temp(download_item.random_uuid)
@@ -89,9 +90,6 @@ class AppleMusicDownloader:
self,
download_item: DownloadItem,
) -> None:
if self.base_downloader.skip_processing:
return
if Path(download_item.staged_path).exists():
self.base_downloader.move_to_final_path(
download_item.staged_path,