mirror of
https://github.com/glomatico/gamdl.git
synced 2026-08-03 13:27:13 +03:00
Fix uploaded video media handling
This commit is contained in:
@@ -165,8 +165,8 @@ class AppleMusicInterface:
|
||||
)
|
||||
|
||||
try:
|
||||
async for media in self.music_video.get_media(media):
|
||||
yield
|
||||
async for media in self.uploaded_video.get_media(media):
|
||||
yield media
|
||||
|
||||
self._run_media_type_filter(media)
|
||||
await self._run_flat_filter(media)
|
||||
|
||||
@@ -114,7 +114,7 @@ class AppleMusicUploadedVideoInterface:
|
||||
await self.base.apple_music_api.get_uploaded_video(media.media_id)
|
||||
)["data"][0]
|
||||
|
||||
media.media_id = media["id"]
|
||||
media.media_id = media.media_metadata["id"]
|
||||
|
||||
yield media
|
||||
|
||||
|
||||
Reference in New Issue
Block a user