mirror of
https://github.com/glomatico/votify.git
synced 2026-10-18 13:52:22 +02:00
Decrypt FLAC and check encrypted_path
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user