Decrypt FLAC and check encrypted_path

This commit is contained in:
Rafael Moraes
2026-03-26 14:40:18 -03:00
parent 34fc3a6ba5
commit 7b2c53b405
+3 -1
View File
@@ -107,7 +107,9 @@ class SpotifyAudioDownloader(SpotifyBaseDownloader):
else decryption_key
)
if staged_path.lower().endswith(".ogg"):
if encrypted_path.lower().endswith(".ogg") or encrypted_path.lower().endswith(
".flac"
):
await asyncio.to_thread(
self._decrypt_playplay,
decryption_key,