Skip to content

Commit

Permalink
feedback changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nina Ciocanu committed May 8, 2024
1 parent c2f7104 commit 948a7c7
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 111 deletions.
36 changes: 18 additions & 18 deletions src/view/actions/constants/mediaEventTypes.js
Expand Up @@ -10,22 +10,22 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/
export default {
"media.ping": "Media ping",
"media.sessionStart": "Media sessionStart",
"media.play": "Media play",
"media.bufferStart": "Media bufferStart",
"media.pauseStart": "Media pauseStart",
"media.chapterStart": "Media chapterStart",
"media.chapterSkip": "Media chapterSkip",
"media.chapterComplete": "Media chapterComplete",
"media.adStart": "Media adStart",
"media.adSkip": "Media adSkip",
"media.adComplete": "Media adComplete",
"media.adBreakStart": "Media adBreakStart",
"media.adBreakComplete": "Media adBreakComplete",
"media.bitrateChange": "Media bitrateChange",
"media.error": "Media error",
"media.sessionComplete": "Media sessionComplete",
"media.sessionEnd": "Media sessionEnd",
"media.statesUpdate": "Media statesUpdate"
"media.ping": "Ping",
"media.sessionStart": "Session start",
"media.play": "Play",
"media.bufferStart": "Buffer start",
"media.pauseStart": "Pause",
"media.chapterStart": "Chapter start",
"media.chapterSkip": "Chapter skip",
"media.chapterComplete": "Chapter complete",
"media.adStart": "Ad start",
"media.adSkip": "Ad skip",
"media.adComplete": "Ad complete",
"media.adBreakStart": "Ad break start",
"media.adBreakComplete": "Ad break complete",
"media.bitrateChange": "Bitrate change",
"media.error": "Error",
"media.sessionComplete": "Session complete",
"media.sessionEnd": "Session end",
"media.statesUpdate": "States update"
};
186 changes: 93 additions & 93 deletions src/view/actions/sendStreamingMediaEvent.jsx
Expand Up @@ -418,13 +418,6 @@ const sessionDetailsSection = dataElementSection(
objectKey: "sessionDetails"
},
[
textField({
name: "channel",
label: "Channel",
isRequired: true,
description:
"Distribution station or channels where the content is played. Any string value is accepted here."
}),
comboBox({
name: "contentType",
label: "Content type",
Expand All @@ -437,10 +430,11 @@ const sessionDetailsSection = dataElementSection(
allowsCustomValue: true
}),
textField({
name: "playerName",
label: "Content player name",
name: "channel",
label: "Channel",
isRequired: true,
description: "Name of the media player."
description:
"Distribution station or channels where the content is played. Any string value is accepted here."
}),
numberField({
name: "length", // integer
Expand All @@ -459,12 +453,24 @@ const sessionDetailsSection = dataElementSection(
description:
"Content ID of the content, which can be used to tie back to other industry / CMS IDs."
}),
textField({
name: "playerName",
label: "Content player name",
isRequired: true,
description: "Name of the media player."
}),
textField({
name: "adLoad",
label: "Ad load type",
isRequired: false,
description: ""
}),
textField({
name: "album",
label: "Album",
isRequired: false,
description: "The author of the content."
}),
textField({
name: "appVersion",
label: "Application version",
Expand All @@ -479,17 +485,33 @@ const sessionDetailsSection = dataElementSection(
description: "Artist's name."
}),
textField({
name: "rating",
label: "Rating",
name: "assetID",
label: "Asset ID",
isRequired: false,
description: "Rating as defined by TV Parental Guidelines."
description:
"This is the unique identifier for the content of the media asset, such as the TV series episode identifier, " +
"movie asset identifier, or live event identifier. Typically these IDs are derived from metadata authorities " +
"such as EIDR, TMS/Gracenote, or Rovi. These identifiers can also be from other proprietary or in-house systems."
}),
textField({
name: "show",
label: "Show",
name: "author",
label: "Author",
isRequired: false,
description: "Name of the author (of an audiobook)."
}),
textField({
name: "authorized",
label: "Authorized",
isRequired: false,
description: "The user has been authorized via Adobe authentication."
}),
textField({
name: "dayPart",
label: "Day Part",
isRequired: false,
description:
"Program/series name. Program name is required only if the show is part of a series."
"A property that defines the time of the day when the content was broadcast or played. This could have " +
"any value set as necessary by customers."
}),
textField({
name: "episode",
Expand All @@ -498,10 +520,10 @@ const sessionDetailsSection = dataElementSection(
description: "Episode number."
}),
textField({
name: "originator",
label: "Originator",
name: "feed",
label: "Feed type",
isRequired: false,
description: "Creator of the content."
description: "Type of feed."
}),
textField({
name: "firstAirDate",
Expand All @@ -511,28 +533,19 @@ const sessionDetailsSection = dataElementSection(
"The date when the content first aired on television. Any date format is acceptable, but Adobe recommends: YYYY-MM-DD."
}),
textField({
name: "streamType", // add here types of stream audio - video
label: "Stream type",
isRequired: false,
description: "Identifies the stream type."
}),
textField({
name: "authorized",
label: "Authorized",
isRequired: false,
description: "The user has been authorized via Adobe authentication."
}),
textField({
name: "streamFormat",
label: "Stream format",
name: "firstDigitalDate",
label: "First digital date",
isRequired: false,
description: "Format of the stream (HD, SD)."
description:
"The date when the content first aired on any digital channel or platform. Any date format is " +
"acceptable but Adobe recommends: YYYY-MM-DD."
}),
textField({
name: "station",
label: "Station",
name: "friendlyName",
label: "Content name",
isRequired: false,
description: "Name / ID of the radio station."
description:
"This is the “friendly” (human-readable) name of the content."
}),
textField({
name: "genre",
Expand All @@ -544,95 +557,82 @@ const sessionDetailsSection = dataElementSection(
"with each line item receiving equal metrics weight."
}),
textField({
name: "season",
label: "Season",
name: "label",
label: "Label",
isRequired: false,
description:
"The season number the show belongs to. Season Series is required only if the show is part of a series."
}),
comboBox({
name: "showType",
label: "Show type",
description:
"Type of content, expressed as an integer between 0 and 3. Select a predefined value or enter a custom value.",
dataElementDescription:
"Provide a data element that returns a show type.",
items: getSortedInputItems(mediaShowTypes),
allowsCustomValue: true
description: "Name of the record label."
}),
textField({
name: "friendlyName",
label: "Content name",
name: "rating",
label: "Rating",
isRequired: false,
description:
"This is the “friendly” (human-readable) name of the content."
description: "Rating as defined by TV Parental Guidelines."
}),
textField({
name: "author",
label: "Author",
name: "mvpd",
label: "MVPD",
isRequired: false,
description: "Name of the author (of an audiobook)."
description: "MVPD provided via Adobe authentication."
}),
textField({
name: "album",
label: "Album",
name: "network",
label: "Network",
isRequired: false,
description: "The author of the content."
description: "The network/channel name."
}),
textField({
name: "dayPart",
label: "Day Part",
name: "originator",
label: "Originator",
isRequired: false,
description:
"A property that defines the time of the day when the content was broadcast or played. This could have " +
"any value set as necessary by customers."
description: "Creator of the content."
}),
textField({
name: "label",
label: "Label",
name: "publisher",
label: "Publisher",
isRequired: false,
description: "Name of the record label."
description: "Name of the audio content publisher."
}),
textField({
name: "mvpd",
label: "MVPD",
name: "season",
label: "Season",
isRequired: false,
description: "MVPD provided via Adobe authentication."
description:
"The season number the show belongs to. Season Series is required only if the show is part of a series."
}),
textField({
name: "feed",
label: "Feed type",
name: "show",
label: "Show",
isRequired: false,
description: "Type of feed."
description:
"Program/series name. Program name is required only if the show is part of a series."
}),
textField({
name: "assetID",
label: "Asset ID",
isRequired: false,
comboBox({
name: "showType",
label: "Show type",
description:
"This is the unique identifier for the content of the media asset, such as the TV series episode identifier, " +
"movie asset identifier, or live event identifier. Typically these IDs are derived from metadata authorities " +
"such as EIDR, TMS/Gracenote, or Rovi. These identifiers can also be from other proprietary or in-house systems."
"Type of content, expressed as an integer between 0 and 3. Select a predefined value or enter a custom value.",
dataElementDescription:
"Provide a data element that returns a show type.",
items: getSortedInputItems(mediaShowTypes),
allowsCustomValue: true
}),
textField({
name: "publisher",
label: "Publisher",
name: "streamType", // add here types of stream audio - video
label: "Stream type",
isRequired: false,
description: "Name of the audio content publisher."
description: "Identifies the stream type."
}),
textField({
name: "firstDigitalDate",
label: "First digital date",
name: "streamFormat",
label: "Stream format",
isRequired: false,
description:
"The date when the content first aired on any digital channel or platform. Any date format is " +
"acceptable but Adobe recommends: YYYY-MM-DD."
description: "Format of the stream (HD, SD)."
}),
textField({
name: "network",
label: "Network",
name: "station",
label: "Station",
isRequired: false,
description: "The network/channel name."
description: "Name / ID of the radio station."
})
]
);
Expand Down

0 comments on commit 948a7c7

Please sign in to comment.