fix: playlist thumbnails

pull/12688/head
DarkCat09 4 months ago
parent 27f0964061
commit 5f30070405
No known key found for this signature in database

@ -1088,7 +1088,7 @@ class VKMusicPlaylistIE(VKMusicBaseIE):
album=title if is_album else None, album=title if is_album else None,
uploader=artist, uploader=artist,
artists=[artist] if is_album else None, artists=[artist] if is_album else None,
thumbnail=meta.get('coverUrl'), # XXX: should i also specify `thumbnails`? thumbnails=traverse_obj(meta, ({'url': 'coverUrl'}, {lambda obj: [obj]})),
genres=[unescapeHTML(genre)] if genre else None, genres=[unescapeHTML(genre)] if genre else None,
release_year=int_or_none(year), release_year=int_or_none(year),
modified_timestamp=int_or_none(meta.get('lastUpdated')), modified_timestamp=int_or_none(meta.get('lastUpdated')),

Loading…
Cancel
Save