mirror of
https://github.com/glomatico/gamdl.git
synced 2026-06-13 04:05:14 +03:00
Rename SONG_CODEC_FLAVOR_MAP to MEDIA_CODEC_FLAVOR_MAP
This commit is contained in:
@@ -95,7 +95,7 @@ ARTIST_AUTO_SELECT_STR_MAP = {
|
||||
"music-videos": "Music Videos",
|
||||
}
|
||||
|
||||
SONG_CODEC_FLAVOR_MAP = {
|
||||
MEDIA_CODEC_FLAVOR_MAP = {
|
||||
"aac-web": "28:ctrp256",
|
||||
"aac-he-web": "32:ctrp64",
|
||||
"aac-fps-web": "30:cbcp256",
|
||||
|
||||
@@ -6,7 +6,7 @@ from .constants import (
|
||||
FOURCC_MAP,
|
||||
MEDIA_RATING_STR_MAP,
|
||||
MEDIA_TYPE_STR_MAP,
|
||||
SONG_CODEC_FLAVOR_MAP,
|
||||
MEDIA_CODEC_FLAVOR_MAP,
|
||||
)
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ class SongCodec(Enum):
|
||||
|
||||
@property
|
||||
def flavor(self) -> str | None:
|
||||
return SONG_CODEC_FLAVOR_MAP.get(self.value)
|
||||
return MEDIA_CODEC_FLAVOR_MAP.get(self.value)
|
||||
|
||||
@property
|
||||
def is_cenc(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user