mirror of
https://github.com/glomatico/gamdl.git
synced 2026-06-13 04:05:14 +03:00
Use 'codec' key instead of 'formats' in error
This commit is contained in:
@@ -258,7 +258,7 @@ class AppleMusicSongInterface:
|
|||||||
if not stream_info:
|
if not stream_info:
|
||||||
raise GamdlInterfaceFormatNotAvailableError(
|
raise GamdlInterfaceFormatNotAvailableError(
|
||||||
media_id=media_id,
|
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
|
return stream_info
|
||||||
|
|||||||
Reference in New Issue
Block a user