Require mp4decrypt for music videos

This commit is contained in:
Rafael Moraes
2026-04-21 10:49:44 -03:00
parent ae8d4a27aa
commit 91db55adc3
+4 -4
View File
@@ -209,6 +209,9 @@ class AppleMusicDownloader:
"music-videos",
"library-music-videos",
}:
if not self.base.full_mp4decrypt_path:
raise GamdlDownloaderDependencyNotFoundError("mp4decrypt")
if (
self.music_video.remux_mode == RemuxMode.FFMPEG
and not self.base.full_ffmpeg_path
@@ -218,11 +221,8 @@ class AppleMusicDownloader:
if (
self.music_video.remux_mode == RemuxMode.MP4BOX
and not self.base.full_mp4box_path
and not self.base.full_mp4decrypt_path
):
raise GamdlDownloaderDependencyNotFoundError(
"MP4Box and/or mp4decrypt"
)
raise GamdlDownloaderDependencyNotFoundError("MP4Box")
await self.music_video.download(item)