From 71ea2d552269e631df9d95b7846488fffcbd5585 Mon Sep 17 00:00:00 2001 From: Everlast Engineering Date: Fri, 9 Aug 2024 17:20:45 -0400 Subject: [PATCH] Add aif output option to directly convert to a non-compressed format. --- zspotify/const.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zspotify/const.py b/zspotify/const.py index 59c7d433..ce1f3c89 100644 --- a/zspotify/const.py +++ b/zspotify/const.py @@ -88,6 +88,7 @@ WINDOWS_SYSTEM = 'Windows' CODEC_MAP = { 'aac': 'aac', + 'aif': 'pcm_s16be', 'fdk_aac': 'libfdk_aac', 'm4a': 'aac', 'mp3': 'libmp3lame', @@ -98,6 +99,7 @@ CODEC_MAP = { EXT_MAP = { 'aac': 'm4a', + 'aif': 'aif', 'fdk_aac': 'm4a', 'm4a': 'm4a', 'mp3': 'mp3',