mirror of
https://github.com/glomatico/gamdl.git
synced 2026-06-13 04:05:14 +03:00
Pass total=1 when fetching single Apple Music song
This commit is contained in:
@@ -596,6 +596,7 @@ class AppleMusicInterface:
|
||||
if url_info.type == "song" or url_info.sub_id:
|
||||
media = await self._get_song_media(
|
||||
index=0,
|
||||
total=1,
|
||||
media_id=url_info.sub_id or url_info.id,
|
||||
)
|
||||
yield media
|
||||
|
||||
Reference in New Issue
Block a user