fix: playlist thumbnail

This commit is contained in:
DarkCat09 2025-03-29 23:29:11 +04:00
parent 04c6819d99
commit cf21dc8b93
No known key found for this signature in database

View File

@ -921,7 +921,7 @@ class VKMusicIE(VKBaseIE):
album=title,
uploader=artist,
artists=[artist],
thumbnails=traverse_obj(meta, ({'url': 'coverUrl'}, ...)),
thumbnails=[traverse_obj(meta, {'url': 'coverUrl'})],
genres=[genre] if genre else [],
release_year=int_or_none(year), # XXX: is None ok here?
modified_timestamp=int_or_none(meta.get('lastUpdated')),