From bd334366a3bd22abb796305ebe116f424e54a97d Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Wed, 4 Dec 2024 20:32:59 -0300 Subject: [PATCH] Add `COVER_SIZE_X_KEY_MAPPING ` --- votify/constants.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/votify/constants.py b/votify/constants.py index 4ca9523..8aabfc1 100644 --- a/votify/constants.py +++ b/votify/constants.py @@ -1,6 +1,6 @@ from __future__ import annotations -from .enums import AudioQuality +from .enums import AudioQuality, CoverSize EXCLUDED_CONFIG_FILE_PARAMS = ( "urls", @@ -71,3 +71,10 @@ MEDIA_TYPE_MP4_MAPPING = { "Podcast": 21, "Music video": 6, } + +COVER_SIZE_X_KEY_MAPPING = { + CoverSize.SMALL: "ab67616d00004851", + CoverSize.MEDIUM: "ab67616d00001e02", + CoverSize.LARGE: "ab67616d0000b273", + CoverSize.EXTRA_LARGE: "ab67616d000082c1", +}