Use staged path for mp4decrypt remux mode

This commit is contained in:
Rafael Moraes
2026-03-26 14:42:34 -03:00
parent 7b2c53b405
commit b8f6afd764
+5 -1
View File
@@ -127,7 +127,11 @@ class SpotifyAudioDownloader(SpotifyBaseDownloader):
else:
await self._decrypt_mp4decrypt(
encrypted_path,
decrypted_path,
(
staged_path
if self.remux_mode == AudioRemuxMode.MP4DECRYPT
else decrypted_path
),
decryption_key_hex,
)
if self.remux_mode == AudioRemuxMode.MP4BOX: