Rename SONG_CODEC_FLAVOR_MAP to MEDIA_CODEC_FLAVOR_MAP

This commit is contained in:
Rafael Moraes
2026-05-24 14:39:23 -03:00
parent 31b143d870
commit a62ac76639
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ ARTIST_AUTO_SELECT_STR_MAP = {
"music-videos": "Music Videos", "music-videos": "Music Videos",
} }
SONG_CODEC_FLAVOR_MAP = { MEDIA_CODEC_FLAVOR_MAP = {
"aac-web": "28:ctrp256", "aac-web": "28:ctrp256",
"aac-he-web": "32:ctrp64", "aac-he-web": "32:ctrp64",
"aac-fps-web": "30:cbcp256", "aac-fps-web": "30:cbcp256",
+2 -2
View File
@@ -6,7 +6,7 @@ from .constants import (
FOURCC_MAP, FOURCC_MAP,
MEDIA_RATING_STR_MAP, MEDIA_RATING_STR_MAP,
MEDIA_TYPE_STR_MAP, MEDIA_TYPE_STR_MAP,
SONG_CODEC_FLAVOR_MAP, MEDIA_CODEC_FLAVOR_MAP,
) )
@@ -68,7 +68,7 @@ class SongCodec(Enum):
@property @property
def flavor(self) -> str | None: def flavor(self) -> str | None:
return SONG_CODEC_FLAVOR_MAP.get(self.value) return MEDIA_CODEC_FLAVOR_MAP.get(self.value)
@property @property
def is_cenc(self) -> bool: def is_cenc(self) -> bool: