Skip to content

Commit

Permalink
MCA Content and MCA Use Class updates
Browse files Browse the repository at this point in the history
  • Loading branch information
IMFTool committed Aug 23, 2024
1 parent de07ec5 commit 91b676a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
25 changes: 16 additions & 9 deletions src/main/java/com/netflix/imflibrary/st0377_41/MCAContent.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

/**
* This enum lists the MCA Content Vocabulary defined in the following specification:
* ST 377-41:2021 Table 2
* ST 377-41:2023 Table 2
*/
public enum MCAContent {
PRM("Primary"),
Expand All @@ -35,14 +35,21 @@ public enum MCAContent {
OP("Optional Music and Effects"),
MESP("Music and Effects with Optional"),
DME("DME"),
NDM("NDME"),
PNA("Program Narration"),
ONA("Optional Narration"),
NDME("NDME"),
PNAR("Program Narration"),
ONAR("Optional Narration"),
VO("Voice Over"),
VI("Visually Impaired"),
CM("Recorded Commentary"),
LCM("Live Commentary"),
MOS("Silence"),
ADR("Automated Dialog Replacement"),
GRP("Group"),
WLA("Walla"),
CRD("Crowd"),
VOC("Vocals"),
FOL("Foley"),
BG("Backgrounds"),
x("Custom"),
Unknown("Unknown");

Expand All @@ -52,17 +59,17 @@ public enum MCAContent {
}

/**
* Getter for description for the audio content kind
* @return a String describing the audio content kind
* Getter for description for the MCA Content
* @return a String describing the MCA Content
*/
public String getDescription() {
return description;
}

/**
* This method map audio content kind symbol to corresponding enum
* @param value a Symbol representing audio content kind
* @return AudioContentKind enumeration for the symbol if present otherwise returns Unknown enumeration
* This method maps an MCA Content symbol to the corresponding enum
* @param value a Symbol representing the MCA Content
* @return MCAContent enumeration for the symbol if present otherwise returns Unknown enumeration
*/
public static MCAContent getValueFromSymbol(String value) {
if(value == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

/**
* This enum lists the MCA Use Class Vocabulary defined in the following specification:
* ST 377-41:2021 Table 3
* ST 377-41:2023 Table 3
*/
public enum MCAUseClass {
FCMP("Finished Composite"),
Expand All @@ -43,9 +43,9 @@ public String getDescription() {
}

/**
* This method map audio content kind symbol to corresponding enum
* @param value a Symbol representing audio content kind
* @return AudioContentKind enumeration for the symbol if present otherwise returns Unknown enumeration
* This method maps an MCA Use Class symbol to the corresponding enum
* @param value a Symbol representing the MCA Use Class
* @return MCAUseClass enumeration for the symbol if present otherwise returns Unknown enumeration
*/
public static MCAUseClass getValueFromSymbol(String value) {
if(value == null) {
Expand Down

0 comments on commit 91b676a

Please sign in to comment.