From 4f910c8e8a7b3a9381bf089e0e9f24c760d9581d Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Sat, 23 May 2026 23:02:23 -0300 Subject: [PATCH] Use 'codec' key instead of 'formats' in error --- gamdl/interface/song.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamdl/interface/song.py b/gamdl/interface/song.py index 01a7da7..a0765f2 100644 --- a/gamdl/interface/song.py +++ b/gamdl/interface/song.py @@ -258,7 +258,7 @@ class AppleMusicSongInterface: if not stream_info: raise GamdlInterfaceFormatNotAvailableError( media_id=media_id, - formats=[codec.value for codec in self.codec_priority], + codec=[codec.value for codec in self.codec_priority], ) return stream_info